diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-19 03:19:38 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-19 03:19:38 +0000 |
commit | 0d432961a29d509cd0d1fa80361f04009dcf9c17 (patch) | |
tree | bc7536b0ac454a3c466c904123b41498dc6b1905 /ui/uiComponentPlacer.h | |
parent | Replace basic query tool with a ImGui version (diff) | |
download | ilt-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/uiComponentPlacer.h')
-rw-r--r-- | ui/uiComponentPlacer.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/ui/uiComponentPlacer.h b/ui/uiComponentPlacer.h deleted file mode 100644 index 1e64f78..0000000 --- a/ui/uiComponentPlacer.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include <glm/glm.hpp> - -class UIComponentPlacer { -public: - UIComponentPlacer(glm::vec2 padding, float spacing, glm::length_t axis = 0); - - glm::vec2 next(glm::vec2 size); - glm::vec2 getLimit() const; - -private: - const glm::vec2 padding; - const float spacing; - const glm::length_t axis; - - float current {}; - float max {}; -}; |