From b8dc30a822c57a3e3ee1995423b161e0fec0a3e4 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Mon, 13 Aug 2018 18:08:43 +0200 Subject: The game now keeps every character's icon in memory for a fast character sceen. Additionally, the loading at the beginning is smoother. --- courtroom.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'courtroom.h') diff --git a/courtroom.h b/courtroom.h index 22d25868..eb8943e2 100644 --- a/courtroom.h +++ b/courtroom.h @@ -47,6 +47,8 @@ public: void append_evidence(evi_type p_evi){evidence_list.append(p_evi);} void append_music(QString f_music){music_list.append(f_music);} + void character_loading_finished(); + //sets position of widgets based on theme ini files void set_widgets(); //sets font size based on theme ini files @@ -272,6 +274,9 @@ private: int char_rows = 9; int max_chars_on_page = 90; + const int button_width = 60; + const int button_height = 60; + int current_emote_page = 0; int current_emote = 0; int emote_columns = 5; @@ -427,6 +432,7 @@ private: void construct_char_select(); void set_char_select(); void set_char_select_page(); + void put_button_in_place(int starting, int chars_on_this_page); void construct_emotes(); void set_emote_page(); -- cgit