summaryrefslogtreecommitdiff
path: root/src/gui/panels/panel-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-08-06 15:43:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-08-06 15:43:20 (GMT)
commit5f55377ff6c014d513f13b76ec5faf56c31da478 (patch)
treefb063c28541635b0cd6039084b74f24083f1b82f /src/gui/panels/panel-int.h
parent121d24042c60fe9f3587c626f0b092c399cdc2a9 (diff)
Created a new task to update panel contents.
Diffstat (limited to 'src/gui/panels/panel-int.h')
-rw-r--r--src/gui/panels/panel-int.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gui/panels/panel-int.h b/src/gui/panels/panel-int.h
index 33b0746..d95485c 100644
--- a/src/gui/panels/panel-int.h
+++ b/src/gui/panels/panel-int.h
@@ -34,9 +34,13 @@
#include "../editem-int.h"
#include "../../common/dllist.h"
+#include "../../glibext/delayed-int.h"
+/* ------------------------- BASE D'UN PANNEAU POUR EDITEUR ------------------------- */
+
+
/* Place un panneau dans l'ensemble affiché. */
typedef void (* ack_dock_process_fc) (GPanelItem *item);
@@ -86,4 +90,29 @@ struct _GPanelItemClass
+/* ---------------------------- AIDE POUR LA MISE A JOUR ---------------------------- */
+
+
+/* Procédure de mise à jour de panneau graphique (instance) */
+struct _GPanelUpdate
+{
+ GDelayedWork parent; /* A laisser en premier */
+
+ GPanelItem *panel; /* Panneau à manipuler */
+ pu_fallback_cb internal; /* Traitement sous-traité */
+
+ const char *msg; /* Description de l'opération */
+ size_t max; /* Nombre d'éléments à traiter */
+
+};
+
+/* Procédure de mise à jour de panneau graphique (classe) */
+struct _GPanelUpdateClass
+{
+ GDelayedWorkClass parent; /* A laisser en premier */
+
+};
+
+
+
#endif /* _GUI_PANELS_PANEL_INT_H */