From bb14fa942313edf955eaf4074b153ddbacc4de36 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 16 May 2020 14:24:11 +0200 Subject: [PATCH] Added RenderWindow files --- SDLU/CMakeLists.txt | 3 ++- SDLU/graphics/CMakeLists.txt | 4 ++++ SDLU/graphics/RenderWindow.cpp | 0 SDLU/graphics/RenderWindow.hpp | 1 + SDLU/structures/Vector2.hpp | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 SDLU/graphics/CMakeLists.txt create mode 100644 SDLU/graphics/RenderWindow.cpp create mode 100644 SDLU/graphics/RenderWindow.hpp diff --git a/SDLU/CMakeLists.txt b/SDLU/CMakeLists.txt index 7756ad3..763596d 100644 --- a/SDLU/CMakeLists.txt +++ b/SDLU/CMakeLists.txt @@ -12,4 +12,5 @@ target_link_libraries(${PNAME} PRIVATE ${CMAKE_BINARY_DIR}/3rdparty/SDL/SDL2d.lib ) -add_subdirectory(structures) \ No newline at end of file +add_subdirectory(structures) +add_subdirectory(graphics) \ No newline at end of file diff --git a/SDLU/graphics/CMakeLists.txt b/SDLU/graphics/CMakeLists.txt new file mode 100644 index 0000000..5f1338f --- /dev/null +++ b/SDLU/graphics/CMakeLists.txt @@ -0,0 +1,4 @@ +target_sources(${PNAME} PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR}/RenderWindow.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/RenderWindow.cpp +) \ No newline at end of file diff --git a/SDLU/graphics/RenderWindow.cpp b/SDLU/graphics/RenderWindow.cpp new file mode 100644 index 0000000..e69de29 diff --git a/SDLU/graphics/RenderWindow.hpp b/SDLU/graphics/RenderWindow.hpp new file mode 100644 index 0000000..7b9637e --- /dev/null +++ b/SDLU/graphics/RenderWindow.hpp @@ -0,0 +1 @@ +#pragma once \ No newline at end of file diff --git a/SDLU/structures/Vector2.hpp b/SDLU/structures/Vector2.hpp index cd5ccc4..f7ac172 100644 --- a/SDLU/structures/Vector2.hpp +++ b/SDLU/structures/Vector2.hpp @@ -4,7 +4,7 @@ * @author Lauchmelder23 * @date 16.05.2020 */ - +#pragma once #include namespace sdlu