mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-30 07:34:37 -04:00
ed7fa8f2c5
UI will automatically open on boot and will not launch the game if there is no valid iso path specified in the config. Can optionally be disabled on future game launches.
21 lines
356 B
C++
21 lines
356 B
C++
#pragma once
|
|
|
|
namespace dusk {
|
|
class ImGuiPreLaunchWindow {
|
|
private:
|
|
int m_CurMenu = 0;
|
|
bool m_IsFirstDraw = true;
|
|
|
|
bool isSelectedPathValid() const;
|
|
|
|
public:
|
|
ImGuiPreLaunchWindow();
|
|
void draw();
|
|
|
|
void drawMainMenu();
|
|
void drawOptions();
|
|
|
|
std::string m_selectedIsoPath;
|
|
std::string m_errorString;
|
|
};
|
|
} // namespace dusk
|