aboutsummaryrefslogtreecommitdiff
path: root/src/gui/cheatMenu.h
diff options
context:
space:
mode:
authorrealOneplustwo <oneplustwoisyes@gmail.com>2020-10-21 17:49:17 -0700
committerrealOneplustwo <oneplustwoisyes@gmail.com>2020-10-21 17:49:17 -0700
commitb29d6bc196b3a6bafa1b200e8944cf277b0bc9c1 (patch)
tree806118891095cd940d98b7bb5c160fefa2c12b70 /src/gui/cheatMenu.h
parentaea9b36ef70dd35e8dfa370043ae5e3f3c751cb4 (diff)
downloaddragonfireclient-b29d6bc196b3a6bafa1b200e8944cf277b0bc9c1.tar.xz
Make cheat menu color and font configurable via settings
Diffstat (limited to 'src/gui/cheatMenu.h')
-rw-r--r--src/gui/cheatMenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/cheatMenu.h b/src/gui/cheatMenu.h
index 4ffaa177d..350bf9ac3 100644
--- a/src/gui/cheatMenu.h
+++ b/src/gui/cheatMenu.h
@@ -17,6 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
#include "irrlichttypes_extrabloated.h"
+#include "settings.h"
#include <cstddef>
#include <string>
@@ -67,6 +68,8 @@ private:
video::SColor m_font_color = video::SColor(195, 255, 255, 255);
video::SColor m_selected_font_color = video::SColor(235, 255, 255, 255);
+ FontMode fontStringToEnum(std::string str);
+
Client *m_client;
gui::IGUIFont *m_font = nullptr;