Refactor code structure for improved readability and maintainability

This commit is contained in:
Diego Lopes
2026-03-18 00:25:31 -04:00
commit e538df3673
34 changed files with 9243 additions and 0 deletions

24
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug live-wallpaper",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/debug/live-wallpaper",
"args": [
"${workspaceFolder}/samples/dry_rocky_gorge.lua"
],
"cwd": "${workspaceFolder}",
"environment": [],
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"C_Cpp.errorSquiggles": "disabled"
}

30
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,30 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "CMake: configure debug",
"type": "shell",
"command": "cmake",
"args": ["--preset", "debug"],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "CMake: build debug",
"type": "shell",
"command": "cmake",
"args": ["--build", "--preset", "debug"],
"options": {
"cwd": "${workspaceFolder}"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": "$gcc",
"dependsOn": "CMake: configure debug"
}
]
}