aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2020-02-24 22:20:43 +0300
committerCrystalwarrior <varsash@gmail.com>2020-02-24 22:20:43 +0300
commita4e448576b43b9cf4f984253abb3daf7296aa154 (patch)
tree7331922ec7176feb0bbbb2bc3ac5b06267279062 /include
parent9df7b9648ae1bd694f99fa6748eee547752b6c9c (diff)
Make pos dropdown more abstract and actually useful by letting servers send only pos you can actually access.
Pos dropdown system also reads the actual bg folder of the current BG to see all the created pos.
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index d2044172..417d4557 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -159,6 +159,9 @@ public:
//sets the local character pos/side to use.
void set_side(QString p_side);
+ //sets the pos dropdown
+ void set_pos_dropdown(QStringList pos_dropdowns);
+
//sets the evidence list member variable to argument
void set_evidence_list(QVector<evi_type> &p_evi_list);
@@ -394,6 +397,9 @@ private:
QVector<bool> color_markdown_talking_list;
//Text Color-related optimization END
+ //List of all currently available pos
+ QStringList pos_dropdown_list;
+
bool is_presenting_evidence = false;
QString effect = "";