aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h5
-rw-r--r--include/aomusicplayer.h4
-rw-r--r--include/aooptionsdialog.h3
3 files changed, 10 insertions, 2 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 18f6ef24..af357d0c 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -200,6 +200,11 @@ public:
// from the config.ini.
bool is_stickypres_enabled();
+ // Returns the value of whether custom chatboxes should be a thing.
+ // from the config.ini.
+ // I am increasingly maddened by the lack of dynamic auto-generation system for settings.
+ bool is_customchat_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/aomusicplayer.h b/include/aomusicplayer.h
index de673e5e..82751b68 100644
--- a/include/aomusicplayer.h
+++ b/include/aomusicplayer.h
@@ -25,8 +25,8 @@ public:
const int m_channelmax = 4;
// These have to be public for the stupid sync thing
- int loop_start = 0;
- int loop_end = 0;
+ int loop_start[4] = {0, 0, 0, 0};
+ int loop_end[4] = {0, 0, 0, 0};
public slots:
void play(QString p_song, int channel = 0, bool loop = false,
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 7e983a3f..06684ef4 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -78,6 +78,9 @@ private:
QLabel *ui_stickypres_lbl;
QCheckBox *ui_stickypres_cb;
+ QLabel *ui_customchat_lbl;
+ QCheckBox *ui_customchat_cb;
+
QWidget *ui_callwords_tab;
QWidget *ui_callwords_widget;
QVBoxLayout *ui_callwords_layout;