diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-09-11 18:44:09 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-09-11 18:44:09 (GMT) |
commit | d1dd9ae74ba56b04ad8f79d926b2282c6c7fa0fd (patch) | |
tree | f25c3914e514eb3c5959f91979ae18eaf0e35b8e /src/gui/tb/portions.h | |
parent | be1f2f147e8ce15f20ec4de439088714ffa50e8a (diff) |
Updated the code and activated back the toolbar items.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@402 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/tb/portions.h')
-rw-r--r-- | src/gui/tb/portions.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/gui/tb/portions.h b/src/gui/tb/portions.h index 6f3c3b6..18e1f7d 100644 --- a/src/gui/tb/portions.h +++ b/src/gui/tb/portions.h @@ -26,10 +26,28 @@ #define _GUI_TB_PORTIONS_H -#include "../editem.h" +#include "tbitem.h" +#define G_TYPE_PORTIONS_TBITEM g_portions_tbitem_get_type() +#define G_PORTIONS_TBITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_portions_tbitem_get_type(), GToolbarItem)) +#define G_IS_PORTIONS_TBITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_portions_tbitem_get_type())) +#define G_PORTIONS_TBITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_PORTIONS_TBITEM, GToolbarItemClass)) +#define G_IS_PORTIONS_TBITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_PORTIONS_TBITEM)) +#define G_PORTIONS_TBITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_PORTIONS_TBITEM, GToolbarItemClass)) + + +/* Elément réactif présentant des portions de binaire (instance) */ +typedef struct _GPortionsTbItem GPortionsTbItem; + +/* Elément réactif présentant des portions de binaire (classe) */ +typedef struct _GPortionsTbItemClass GPortionsTbItemClass; + + +/* Indique le type défini pour un affichage de portions destiné à une barre d'outils. */ +GType g_portions_tbitem_get_type(void); + /* Crée une sélection de fichier réactive pour barre d'outils. */ GEditorItem *create_portions_tb_item(GObject *ref); |