aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2021-01-27 18:10:52 -0600
committerGitHub <noreply@github.com>2021-01-27 18:10:52 -0600
commit580313cbcdce71062a13b6061d1dad623e722a41 (patch)
treeda0ce3c4f985c62b64f535a3af081d09231dbabc /include
parent7e180db1e6326c4b5d619a1d668a40fee9213f0c (diff)
parent9624af54120cd67db38d2ef762498d734507113b (diff)
Merge pull request #429 from AttorneyOnline/fix/continuous-bg
Fix continuous playback being nonfunctional on non-CharLayer elements, and allow users to toggle the feature
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h4
-rw-r--r--include/aooptionsdialog.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 8b248cc..9667b26 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -222,6 +222,10 @@ public:
// for settings.
bool is_customchat_enabled();
+ // Returns the value of whether continuous playback should be used
+ // from the config.ini.
+ bool is_continuous_enabled();
+
// Returns the value of the maximum amount of lines the IC chatlog
// may contain, from config.ini.
int get_max_log_size();
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 908d918..340a9f0 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -99,6 +99,9 @@ private:
QLabel *ui_customchat_lbl;
QCheckBox *ui_customchat_cb;
+ QLabel *ui_continuous_lbl;
+ QCheckBox *ui_continuous_cb;
+
QWidget *ui_callwords_tab;
QWidget *ui_callwords_widget;
QVBoxLayout *ui_callwords_layout;