mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 21:47:40 -05:00
impr: Clean up window setup code
This commit is contained in:
@@ -6,6 +6,7 @@ namespace hex::init {
|
||||
|
||||
void handleFileOpenRequest();
|
||||
|
||||
void initializationFinished();
|
||||
std::unique_ptr<WindowSplash> initializeImHex();
|
||||
void deinitializeImHex();
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace hex {
|
||||
|
||||
void registerEventHandlers();
|
||||
void loadPostProcessingShader();
|
||||
void setupEmergencyPopups();
|
||||
|
||||
void drawImGui();
|
||||
void drawWithShader();
|
||||
@@ -66,13 +67,10 @@ namespace hex {
|
||||
double m_lastStartFrameTime = 0;
|
||||
double m_lastFrameTime = 0;
|
||||
|
||||
std::mutex m_popupMutex;
|
||||
std::list<std::string> m_popupsToOpen;
|
||||
std::set<int> m_pressedKeys;
|
||||
|
||||
ImGuiExt::ImHexCustomData m_imguiCustomData;
|
||||
|
||||
u32 m_searchBarPosition = 0;
|
||||
bool m_emergencyPopupOpen = false;
|
||||
bool m_shouldUnlockFrameRate = false;
|
||||
double m_fpsUnlockedEndTime = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user