aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2019-09-18 17:34:22 +0300
committerCrystalwarrior <varsash@gmail.com>2019-09-18 17:34:22 +0300
commit0fe94d5d9f0e175ba8355305cdfd6cd35e0a545f (patch)
tree3e6078e87b16f0469c4289fb5d0f609cee301063 /include
parent04daff7446061bb87bdf85ed080079041a75f142 (diff)
Evidence and emotes reloading when reload_theme is pressed
Update evidence a bit and change the way it sets images to something much better and less confusing Update the hovering logic a bit so there's less weird occurences happening e.g. evidence button is deleted
Diffstat (limited to 'include')
-rw-r--r--include/aoevidencebutton.h1
-rw-r--r--include/courtroom.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/include/aoevidencebutton.h b/include/aoevidencebutton.h
index 80b747cd..f7baa9fa 100644
--- a/include/aoevidencebutton.h
+++ b/include/aoevidencebutton.h
@@ -15,7 +15,6 @@ class AOEvidenceButton : public QPushButton
public:
AOEvidenceButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y);
- void reset();
void set_image(QString p_image);
void set_theme_image(QString p_image);
void set_id(int p_id) {m_id = p_id;}
diff --git a/include/courtroom.h b/include/courtroom.h
index a980aba8..97f695c9 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -571,11 +571,13 @@ private:
void put_button_in_place(int starting, int chars_on_this_page);
void filter_character_list();
- void construct_emotes();
+ void initialize_emotes();
+ void refresh_emotes();
void set_emote_page();
void set_emote_dropdown();
- void construct_evidence();
+ void initialize_evidence();
+ void refresh_evidence();
void set_evidence_page();
public slots: