ui/ux: Allow ImHex to redraw the screen while moving and resizing

This commit is contained in:
WerWolv
2021-06-07 18:14:40 +02:00
parent e0112472d6
commit fff91d555b
2 changed files with 53 additions and 41 deletions

View File

@@ -28,6 +28,7 @@ namespace hex {
bool setFont(const std::filesystem::path &font_path);
private:
void frameBegin();
void frame();
void frameEnd();
void drawWelcomeScreen();
@@ -41,7 +42,6 @@ namespace hex {
GLFWwindow* m_window = nullptr;
float m_globalScale = 1.0f, m_fontScale = 1.0f;
bool m_fpsVisible = false;
double m_targetFps = 60.0;
bool m_demoWindowOpen = false;
bool m_layoutConfigured = false;