Wider taskbar scaled to window, bigger fonts and a cheats button
This commit is contained in:
1 parent
37e87f168a
commit
eb03fc9d1d
5 files changed
+56
-41
No files matched your search
@@ -4,10 +4,10 @@
|
||||
#include "save.h"
|
||||
#include <imgui.h>
|
||||
|
||||
constexpr float FONT_NORMAL = 26;
|
||||
constexpr float FONT_HEADER_3 = 30;
|
||||
constexpr float FONT_HEADER_2 = 34;
|
||||
constexpr float FONT_DIALOGUE = 32;
|
||||
constexpr float FONT_NORMAL = 30;
|
||||
constexpr float FONT_HEADER_3 = 34;
|
||||
constexpr float FONT_HEADER_2 = 40;
|
||||
constexpr float FONT_DIALOGUE = 38;
|
||||
|
||||
class Play;
|
||||
|
||||
@@ -22,7 +22,8 @@ enum Panel
|
||||
PANEL_NONE,
|
||||
PANEL_STATS,
|
||||
PANEL_CATALOG,
|
||||
PANEL_SETTINGS
|
||||
PANEL_SETTINGS,
|
||||
PANEL_CHEATS
|
||||
};
|
||||
|
||||
enum ButtonState
|
||||
@@ -68,6 +69,7 @@ public:
|
||||
Commands* commands = nullptr;
|
||||
Measurement* measurement = nullptr;
|
||||
Renderer* renderer = nullptr;
|
||||
float buttonSize = 0;
|
||||
float taskbarSlide = 1;
|
||||
int characterIndex = 0;
|
||||
int selectedIndex = -1;
|
||||
@@ -89,6 +91,7 @@ private:
|
||||
void taskbar_draw(Play& play, ImVec2 screen);
|
||||
void window_draw(Play& play, Settings& settings, ImVec2 screen);
|
||||
void stats_draw(Play& play);
|
||||
void cheats_draw(Play& play);
|
||||
void catalog_draw(Play& play);
|
||||
void settings_draw(Settings& settings);
|
||||
void text_draw(Play& play, ImVec2 screen);
|
||||
|
||||
Reference in new issue
Block a user