diff options
author | realOneplustwo <oneplustwoisyes@gmail.com> | 2020-10-21 17:49:17 -0700 |
---|---|---|
committer | realOneplustwo <oneplustwoisyes@gmail.com> | 2020-10-21 17:49:17 -0700 |
commit | b29d6bc196b3a6bafa1b200e8944cf277b0bc9c1 (patch) | |
tree | 806118891095cd940d98b7bb5c160fefa2c12b70 /src/gui/cheatMenu.h | |
parent | aea9b36ef70dd35e8dfa370043ae5e3f3c751cb4 (diff) | |
download | dragonfireclient-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.h | 3 |
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; |