summaryrefslogtreecommitdiffstats
path: root/src/qt_style.h
blob: 5cd920a47ff1116f2968a27f0fae7a528a2bf834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <gtk/gtkstyle.h>

typedef struct _TQtEngineStyle TQtEngineStyle;
typedef struct _TQtEngineStyleClass TQtEngineStyleClass;

extern GType qtengine_type_style;

#define TQTENGINE_TYPE_STYLE              qtengine_type_style
#define TQTENGINE_STYLE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), TQTENGINE_TYPE_STYLE, TQtEngineStyle))
#define TQTENGINE_STYLE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), TQTENGINE_TYPE_STYLE, TQtEngineStyleClass))
#define TQTENGINE_IS_STYLE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), TQTENGINE_TYPE_STYLE))
#define TQTENGINE_IS_STYLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TQTENGINE_TYPE_STYLE))
#define TQTENGINE_STYLE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TQTENGINE_TYPE_STYLE, TQtEngineStyleClass))

struct _TQtEngineStyle
{
	GtkStyle parent_instance;
	
	GdkPixmap* menuBackground;
};

struct _TQtEngineStyleClass
{
	GtkStyleClass parent_class;
};

void qtengine_style_register_type (GTypeModule *module);