summaryrefslogtreecommitdiff
path: root/ui/gameMainSelector.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-19 03:19:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-19 03:19:38 +0000
commit0d432961a29d509cd0d1fa80361f04009dcf9c17 (patch)
treebc7536b0ac454a3c466c904123b41498dc6b1905 /ui/gameMainSelector.h
parentReplace basic query tool with a ImGui version (diff)
downloadilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.tar.bz2
ilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.tar.xz
ilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.zip
Remove lots of stuff not required or superseded with ImGui use
Diffstat (limited to 'ui/gameMainSelector.h')
-rw-r--r--ui/gameMainSelector.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/ui/gameMainSelector.h b/ui/gameMainSelector.h
index df29842..9560fc6 100644
--- a/ui/gameMainSelector.h
+++ b/ui/gameMainSelector.h
@@ -2,7 +2,6 @@
#include "SDL_events.h"
#include "config/types.h"
-#include "font.h"
#include "uiComponent.h"
#include "worldOverlay.h"
#include <glm/glm.hpp>
@@ -21,17 +20,17 @@ public:
virtual bool click(const SDL_MouseButtonEvent &, const Ray<GlobalPosition3D> &);
virtual bool move(const SDL_MouseMotionEvent &, const Ray<GlobalPosition3D> &);
- virtual bool handleInput(const SDL_Event &, const Position & pos);
- virtual void render(const UIShader & shader, const Position & pos);
+ virtual bool handleInput(const SDL_Event &);
+ virtual void render(const UIShader & shader);
virtual void render(const SceneShader &, const Frustum &) const;
};
- GameMainSelector(const Camera * c, ScreenAbsCoord size);
+ GameMainSelector(const Camera * c);
- void render(const UIShader & shader, const Position & pos) const override;
+ void render(const UIShader & shader) const override;
void render(const SceneShader & shader, const Frustum &) const override;
- bool handleInput(const SDL_Event & e, const Position &) override;
+ bool handleInput(const SDL_Event & e) override;
void defaultClick(const Ray<GlobalPosition3D> & ray);
@@ -39,5 +38,4 @@ public:
private:
const Camera * camera;
- const Font font;
};