aboutsummaryrefslogtreecommitdiff
path: root/src/gui/cheatMenu.h
diff options
context:
space:
mode:
authorrealOneplustwo <oneplustwoisyes@gmail.com>2020-10-20 14:22:56 -0700
committerrealOneplustwo <oneplustwoisyes@gmail.com>2020-10-20 14:22:56 -0700
commit130d476f6a00416809e0cf89adf5f7e8caa3df08 (patch)
tree5f50c035ed0428cfbe3600c4622eda82a10dc203 /src/gui/cheatMenu.h
parentf1ff05bf5932a7825509dbe896e60183a96a6d36 (diff)
downloaddragonfireclient-130d476f6a00416809e0cf89adf5f7e8caa3df08.tar.xz
Changed Cheat Menu UI
Diffstat (limited to 'src/gui/cheatMenu.h')
-rw-r--r--src/gui/cheatMenu.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/cheatMenu.h b/src/gui/cheatMenu.h
index ea9a9d853..61637b1d4 100644
--- a/src/gui/cheatMenu.h
+++ b/src/gui/cheatMenu.h
@@ -44,7 +44,7 @@ public:
void draw(video::IVideoDriver *driver, bool show_debug);
void drawEntry(video::IVideoDriver *driver, std::string name, int number,
- bool selected, bool active,
+ bool selected, bool active, int category_count,
CheatMenuEntryType entry_type = CHEAT_MENU_ENTRY_TYPE_ENTRY);
void selectUp();
@@ -58,14 +58,14 @@ private:
int m_selected_cheat = 0;
int m_selected_category = 0;
- int m_head_height = 50;
- int m_entry_height = 40;
+ int m_head_height = 20;
+ int m_entry_height = 20;
int m_entry_width = 200;
int m_gap = 3;
- video::SColor m_bg_color = video::SColor(192, 255, 145, 88);
- video::SColor m_active_bg_color = video::SColor(192, 255, 87, 53);
- video::SColor m_font_color = video::SColor(255, 0, 0, 0);
+ video::SColor m_bg_color = video::SColor(39, 38, 51, 173);
+ video::SColor m_active_bg_color = video::SColor(45, 45, 107, 100);
+ video::SColor m_font_color = video::SColor(195, 195, 195, 0);
video::SColor m_selected_font_color = video::SColor(255, 255, 252, 88);
Client *m_client;