mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(gameui): add CGGameUI class
This commit is contained in:
parent
8a71e9fdea
commit
babeb2d864
7 changed files with 272 additions and 0 deletions
26
src/gameui/CGGameUI.hpp
Normal file
26
src/gameui/CGGameUI.hpp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef GAME_UI_CGGAMEUI_HPP
|
||||
#define GAME_UI_CGGAMEUI_HPP
|
||||
|
||||
|
||||
#include "ui/CSimpleTop.hpp"
|
||||
#include "ui/CSimpleFrame.hpp"
|
||||
|
||||
|
||||
class CGGameUI {
|
||||
public:
|
||||
static void InitializeGame();
|
||||
static void Initialize();
|
||||
static void RegisterFrameFactories();
|
||||
static int32_t HandleDisplaySizeChanged(const CSizeEvent& event);
|
||||
|
||||
public:
|
||||
static bool m_reloadUI;
|
||||
static CSimpleTop* m_simpleTop;
|
||||
static CSimpleFrame* m_UISimpleParent;
|
||||
static int32_t m_hasControl;
|
||||
static int32_t m_screenWidth;
|
||||
static int32_t m_screenHeight;
|
||||
static float m_aspect;
|
||||
};
|
||||
|
||||
#endif // GAME_UI_CGGAMEUI_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue