diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-06-01 21:33:51 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-06-01 21:33:51 (GMT) |
commit | f0fa987133468d7d3cae7894d813b852782bf895 (patch) | |
tree | 51b78b6f2751c8aa0c82cf6265e0f6a87eadfae5 /src/gui/panels/panel-int.h | |
parent | e060d9a9f29c0d7708e7002c2e1fc4962020ba94 (diff) |
Setup more control when updating panels.
Diffstat (limited to 'src/gui/panels/panel-int.h')
-rw-r--r-- | src/gui/panels/panel-int.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/panels/panel-int.h b/src/gui/panels/panel-int.h index 98c8b79..8f5f42f 100644 --- a/src/gui/panels/panel-int.h +++ b/src/gui/panels/panel-int.h @@ -80,6 +80,7 @@ struct _GPanelItem cairo_surface_t *surface; /* Copie d'écran préalable */ gdouble hadj_value; /* Sauvegarde de défilement #1 */ gdouble vadj_value; /* Sauvegarde de défilement #2 */ + gint switched; /* Mémorise l'état de bascule */ }; @@ -94,6 +95,8 @@ struct _GPanelItemClass ack_dock_process_fc ack_dock; /* Prise en compte d'accroche */ ack_undock_process_fc ack_undock; /* Prise en compte de décroche */ + wgroup_id_t gid; /* Groupe de travail dédié */ + /* Signaux */ void (* dock_request) (GPanelItem); @@ -114,6 +117,9 @@ GtkBuilder *g_panel_item_build(GPanelItem *, const char *); /* ---------------------- MECANISMES DE MISE A JOUR DE PANNEAU ---------------------- */ +/* Obtient le groupe de travail dédié à une mise à jour. */ +wgroup_id_t g_panel_item_get_group(const GPanelItem *); + /* Bascule l'affichage d'un panneau avant sa mise à jour. */ void g_panel_item_switch_to_updating_mask(GPanelItem *); |