aboutsummaryrefslogtreecommitdiff
path: root/include/courtroom.h
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2022-03-20 01:21:24 +0300
committerGitHub <noreply@github.com>2022-03-19 17:21:24 -0500
commit35fcbdeea8a8297f69e2bb7e92526f88233c7b4f (patch)
tree17adfe5ea6d2c08a1aa8ad121912d4fb3238c8ab /include/courtroom.h
parentaa2a29f091764d8485d5bc644865d47c01f5fe91 (diff)
Add showname and selfname colors to courtroom_fonts.ini (#672)
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'include/courtroom.h')
-rw-r--r--include/courtroom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index f230b35f..bf688b50 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -279,14 +279,14 @@ public:
int default_color = 0);
void log_ic_text(QString p_name, QString p_showname, QString p_message,
- QString p_action = "", int p_color = 0);
+ QString p_action = "", int p_color = 0, bool p_selfname = false);
// adds text to the IC chatlog. p_name first as bold then p_text then a newlin
// 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, QDateTime timestamp = QDateTime::currentDateTime());
+ int color = 0, bool selfname = false, QDateTime timestamp = QDateTime::currentDateTime());
// 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