Integrate wxWidgets application and enhance SFML project

- Added `wxwidgets` module with a basic application (menu and UI setup in `main.cpp`) and CMake configuration.
- Updated `Paddle` class in SFML to support dynamic key bindings and movement logic via `Update` method.
- Introduced `asset_ids.h` for centralized asset file definitions in SFML.
- Enhanced `sfml/main.cpp` with animation logic and drawable management using `std::vector`.
- Adjusted CMake configurations for SFML and added asset copying to runtime directory.
This commit is contained in:
2026-03-06 17:37:16 +01:00
parent b58064a0d0
commit f546f7cddd
10 changed files with 142 additions and 16 deletions
+13
View File
@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 4.1)
project(wxwidgets LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
find_package(wxWidgets REQUIRED COMPONENTS net core base)
if (wxWidgets_USE_FILE)
include(${wxWidgets_USE_FILE})
endif ()
add_executable(main
src/main.cpp)
target_link_libraries(main ${wxWidgets_LIBRARIES})