diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-11 19:52:01 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-11 19:52:01 +1000 |
commit | 3c4a2eb71eea73c7e505ab631a1abc484f9e7b92 (patch) | |
tree | 4f93ca3fec31a5768d168f47f40b6ff1e6a7b949 /source/windowing/StarPaneManager.hpp | |
parent | a98ff51ef7384f9e7d51e821880e9420c8110cb6 (diff) |
tooltip stuff
Diffstat (limited to 'source/windowing/StarPaneManager.hpp')
-rw-r--r-- | source/windowing/StarPaneManager.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/windowing/StarPaneManager.hpp b/source/windowing/StarPaneManager.hpp index b6d1032..3d507f3 100644 --- a/source/windowing/StarPaneManager.hpp +++ b/source/windowing/StarPaneManager.hpp @@ -3,6 +3,7 @@ #include "StarPane.hpp" #include "StarOrderedMap.hpp" #include "StarBiMap.hpp" +#include "StarGameTimers.hpp" namespace Star { @@ -92,15 +93,13 @@ private: WidgetPtr m_backgroundWidget; - float m_tooltipMouseoverTime; float m_tooltipMouseoverRadius; Vec2I m_tooltipMouseOffset; - - float m_tooltipShowTimer; + GameTimer m_tooltipShowTimer; Vec2I m_tooltipLastMousePos; Vec2I m_tooltipInitialPosition; PanePtr m_activeTooltip; - PaneWeakPtr m_tooltipParentPane; + PanePtr m_tooltipParentPane; }; } |