2021-11-22 23:43:10 +01:00
|
|
|
#pragma once
|
|
|
|
|
2021-11-30 22:38:48 +01:00
|
|
|
#include <glib.h>
|
|
|
|
|
2022-01-16 01:32:46 +01:00
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include <adwaita.h>
|
|
|
|
|
2021-11-22 23:43:10 +01:00
|
|
|
typedef struct {
|
|
|
|
AdwHeaderBar *header;
|
|
|
|
AdwLeaflet *views_leaflet;
|
2022-01-15 00:02:13 +01:00
|
|
|
AdwViewStack *view_stack;
|
2022-01-23 10:53:46 +01:00
|
|
|
GCancellable **image_threads;
|
|
|
|
size_t image_threads_len;
|
2022-01-23 11:35:31 +01:00
|
|
|
bool avoid_list_image_downloads;
|
2021-11-30 22:04:44 +01:00
|
|
|
GtkButton *previous;
|
2021-11-30 22:38:48 +01:00
|
|
|
gboolean is_set_previous;
|
2021-11-22 23:43:10 +01:00
|
|
|
} ControlsAdwaita;
|