Skip to content

Commit

Permalink
Make ConvertEvent.hpp file in window module folder.
Browse files Browse the repository at this point in the history
It is a window related module it makes more sense imo for it to be in it.

I also addded it to the cmake file so it appears in VIsual Studio
  • Loading branch information
ZXShady authored and ChrisThrasher committed Oct 3, 2024
1 parent 66e7af4 commit 556ca51
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/CSFML/Graphics/RenderWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <CSFML/ConvertEvent.hpp>
#include <CSFML/Graphics/CircleShapeStruct.hpp>
#include <CSFML/Graphics/ConvertColor.hpp>
#include <CSFML/Graphics/ConvertRect.hpp>
Expand All @@ -43,6 +42,7 @@
#include <CSFML/Graphics/VertexBufferStruct.hpp>
#include <CSFML/System/ConvertVector2.hpp>
#include <CSFML/Window/ConvertContextSettings.hpp>
#include <CSFML/Window/ConvertEvent.hpp>
#include <CSFML/Window/ConvertVideoMode.hpp>
#include <CSFML/Window/CursorStruct.hpp>

Expand Down
1 change: 1 addition & 0 deletions src/CSFML/Window/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set(SRC
${SRCROOT}/ContextStruct.hpp
${INCROOT}/Context.h
${SRCROOT}/ConvertContextSettings.hpp
${SRCROOT}/ConvertEvent.hpp
${SRCROOT}/ConvertVideoMode.hpp
${INCROOT}/Event.h
${SRCROOT}/Joystick.cpp
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/CSFML/Window/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <CSFML/ConvertEvent.hpp>
#include <CSFML/System/ConvertVector2.hpp>
#include <CSFML/Window/ConvertContextSettings.hpp>
#include <CSFML/Window/ConvertEvent.hpp>
#include <CSFML/Window/ConvertVideoMode.hpp>
#include <CSFML/Window/CursorStruct.hpp>
#include <CSFML/Window/Window.h>
Expand Down
2 changes: 1 addition & 1 deletion src/CSFML/Window/WindowBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <CSFML/ConvertEvent.hpp>
#include <CSFML/System/ConvertVector2.hpp>
#include <CSFML/Window/ConvertEvent.hpp>
#include <CSFML/Window/ConvertVideoMode.hpp>
#include <CSFML/Window/CursorStruct.hpp>
#include <CSFML/Window/WindowBase.h>
Expand Down

0 comments on commit 556ca51

Please sign in to comment.