diff options
Diffstat (limited to 'src/qt_style.h')
-rw-r--r-- | src/qt_style.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/qt_style.h b/src/qt_style.h new file mode 100644 index 0000000..4a4bc78 --- /dev/null +++ b/src/qt_style.h @@ -0,0 +1,29 @@ +#include <gtk/gtkstyle.h> + +typedef struct _QtEngineStyle QtEngineStyle; +typedef struct _QtEngineStyleClass QtEngineStyleClass; + +extern GType qtengine_type_style; + +#define QTENGINE_TYPE_STYLE qtengine_type_style +#define QTENGINE_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), QTENGINE_TYPE_STYLE, QtEngineStyle)) +#define QTENGINE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), QTENGINE_TYPE_STYLE, QtEngineStyleClass)) +#define QTENGINE_IS_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), QTENGINE_TYPE_STYLE)) +#define QTENGINE_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), QTENGINE_TYPE_STYLE)) +#define QTENGINE_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), QTENGINE_TYPE_STYLE, QtEngineStyleClass)) + +struct _QtEngineStyle +{ + GtkStyle parent_instance; + + GdkPixmap* menuBackground; +}; + +struct _QtEngineStyleClass +{ + GtkStyleClass parent_class; +}; + +void qtengine_style_register_type (GTypeModule *module); + + |