aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-01 23:29:01 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-01 23:29:01 +0100
commit4262ae6c87b4c11f7fe958a91fdd3333a8c5138c (patch)
treef5e4da0790d208029cbf06c3da178b04a036e967 /include
parent438729255b8d62ddac0688011e5fe9641db696f7 (diff)
Matrix: cache sync
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index c043962..0641228 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -72,7 +72,7 @@ namespace QuickMedia {
void image_continuous_page(MangaImagesPage *images_page);
void image_board_thread_page(ImageBoardThreadPage *thread_page, Body *thread_body);
void chat_login_page();
- void chat_page(MatrixChatPage *chat_page, RoomData *current_room);
+ void chat_page(MatrixChatPage *matrix_chat_page, RoomData *current_room);
void after_matrix_login_page();
enum class LoadImageResult {
@@ -109,6 +109,8 @@ namespace QuickMedia {
const char *plugin_name = nullptr;
sf::Texture plugin_logo;
sf::Texture loading_icon;
+ sf::Sprite load_sprite;
+ sf::Clock load_sprite_timer;
PageType current_page;
std::stack<PageType> page_stack;
int image_index;