aboutsummaryrefslogtreecommitdiff
path: root/include/courtroom.h
diff options
context:
space:
mode:
authorscatterflower <2956568+scatterflower@users.noreply.github.com>2020-08-16 22:04:27 -0500
committerGitHub <noreply@github.com>2020-08-16 22:04:27 -0500
commitc24ecc37e7325370ba38573a163f77f7bfa5b1bc (patch)
tree471198f7a4f2fb9a8e7e0aff9df04991634015b6 /include/courtroom.h
parent1bbfd71eebdc6a93a86e0f234417f173131b33aa (diff)
parentecb0ee42a3a399c092eafdf2ac60faaad4bf119f (diff)
Merge pull request #254 from scatterflower/2.8
2.8.5 finishing touches
Diffstat (limited to 'include/courtroom.h')
-rw-r--r--include/courtroom.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index ca271a4..898e8ba 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -117,7 +117,9 @@ public:
void set_widgets();
// sets font size based on theme ini files
- void set_font(QWidget *widget, QString class_name, QString p_identifier, QString p_char="", QString font_name="", int f_pointsize=0);
+ void set_font(QWidget *widget, QString class_name, QString p_identifier,
+ QString p_char = "", QString font_name = "",
+ int f_pointsize = 0);
// Get the properly constructed font
QFont get_qfont(QString font_name, int f_pointsize, bool antialias = true);
@@ -127,7 +129,7 @@ public:
QColor f_color = Qt::black, bool bold = false);
// helper function that calls above function on the relevant widgets
- void set_fonts(QString p_char="");
+ void set_fonts(QString p_char = "");
// sets dropdown menu stylesheet
void set_dropdown(QWidget *widget);
@@ -220,7 +222,8 @@ public:
// this function keeps the chatlog scrolled to the top unless there's text
// selected
// or the user isn't already scrolled to the top
- void append_ic_text(QString p_text, QString p_name = "", QString action = "", int color = 0);
+ void append_ic_text(QString p_text, QString p_name = "", QString action = "",
+ int color = 0);
// prints who played the song to IC chat and plays said song(if found on local
// filesystem) takes in a list where the first element is the song name and