diff options
| author | stonedDiscord <stoned@derpymail.org> | 2020-03-08 11:58:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-08 11:58:42 +0100 |
| commit | 466092b9732feaf59db874dca1895bb7a6e2e2bd (patch) | |
| tree | 2a725957aa23a0eb550e42953680bb9b086cab0a /include/courtroom.h | |
| parent | 0ce577c482a97d1d85cf84a6a04550bfe99be8fa (diff) | |
| parent | a2f1a79bc948effbfd76c882f81479f519806007 (diff) | |
Merge pull request #121 from in1tiate/theme_pp
Additional theme support
Diffstat (limited to 'include/courtroom.h')
| -rw-r--r-- | include/courtroom.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index 41e88e7..30c3b94 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -209,6 +209,9 @@ public: void append_ms_chatmessage(QString f_name, QString f_message); void append_server_chatmessage(QString p_name, QString p_message, QString p_colour); + //check whether or not current theme has images for buttons with fallback text + void detect_fallback_text(); + //these functions handle chatmessages sequentially. //The process itself is very convoluted and merits separate documentation //But the general idea is objection animation->pre animation->talking->idle @@ -412,6 +415,15 @@ private: //is set to true if the bg folder contains defensedesk.png, prosecutiondesk.png and stand.png bool is_ao2_bg = false; + // whether or not to use text for buttons instead of images, true is text + bool change_char_fallback = true; + bool reload_theme_fallback = true; + bool settings_fallback = true; + bool call_mod_fallback = true; + bool casing_fallback = true; + bool amswap_fallback = true; + bool ooc_toggle_fallback = true; + //whether the ooc chat is server or master chat, true is server bool server_ooc = true; |
