diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-12-31 19:58:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-12-31 19:58:50 (GMT) |
commit | 0f571c20444dbb5d8d8d0fa46a69b31cb89f9583 (patch) | |
tree | 4349b6bdfb1b8adbdc60e0887a2a122ed857b678 /src/gtkext/gtkextstatusbar.h | |
parent | 57d7eff57c20e75aaa4ccd34f1d9d733e12bb232 (diff) |
Resolved links in disassembled instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@446 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkextstatusbar.h')
-rw-r--r-- | src/gtkext/gtkextstatusbar.h | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/src/gtkext/gtkextstatusbar.h b/src/gtkext/gtkextstatusbar.h index 779a177..d250b1f 100644 --- a/src/gtkext/gtkextstatusbar.h +++ b/src/gtkext/gtkextstatusbar.h @@ -30,17 +30,7 @@ -typedef struct _status_info -{ - - - void *a; - - //GtkExtStatusBar *statusbar, bstatus_id_t id - -} status_info; - - +/* ------------------------- GESTION EXTERIEURE DE LA BARRE ------------------------- */ #define GTK_TYPE_EXT_STATUS_BAR (gtk_extended_status_bar_get_type()) @@ -77,4 +67,25 @@ void gtk_extended_status_bar_remove(GtkExtStatusBar *, bstatus_id_t); +/* -------------------------- GESTION EN VUE MACROSCOPIQUE -------------------------- */ + + +/* Concentré d'informations utiles */ +typedef struct _status_blob_info status_blob_info; + + +/* Met en place rapidement un message progressiste de statut. */ +status_blob_info *init_progessive_status(GtkExtStatusBar *, const char *, double, double); + +/* Fait disparaître la glue d'affichage de progression. */ +void fini_progessive_status(status_blob_info *); + +/* Indique la valeur courante utilisée pour la progression. */ +double get_current_progessive_status(const status_blob_info *); + +/* Augmente la progression visible dans la barre de statut. */ +void inc_progessive_status(status_blob_info *, double); + + + #endif /* _GTKEXT_GTKEXTSTATUSBAR_H */ |