ux: Fixed tips popup and properly apply default layout on first start

This commit is contained in:
WerWolv
2022-02-01 23:33:42 +01:00
parent ce59226909
commit 6977061227
4 changed files with 30 additions and 32 deletions

View File

@@ -33,9 +33,6 @@ namespace hex {
void frame();
void frameEnd();
void drawWelcomeScreen();
void resetLayout() const;
void initGLFW();
void initImGui();
void exitGLFW();
@@ -47,22 +44,12 @@ namespace hex {
GLFWwindow *m_window = nullptr;
bool m_layoutConfigured = false;
std::string m_windowTitle;
double m_lastFrameTime;
std::string m_availableUpdate;
bool m_showTipOfTheDay;
std::string m_tipOfTheDay;
ImGui::Texture m_bannerTexture = { 0 };
ImGui::Texture m_logoTexture = { 0 };
fs::path m_safetyBackupPath;
std::list<std::string> m_popupsToOpen;
std::vector<int> m_pressedKeys;
};