diff options
Diffstat (limited to 'src/sato-style.h')
-rw-r--r-- | src/sato-style.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/sato-style.h b/src/sato-style.h new file mode 100644 index 0000000..65618ec --- /dev/null +++ b/src/sato-style.h @@ -0,0 +1,69 @@ +#ifndef SATO_STYLE_H +#define SATO_STYLE_H + +#include <gtk/gtk.h> +#include <gmodule.h> + +#include "sato-draw.h" + +G_BEGIN_DECLS + +/*** Gtk Style Class **********************************************************/ + +extern GType sato_type_style; + +#define SATO_TYPE_STYLE sato_type_style +#define SATO_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), POKY_TYPE_STYLE, SatoStyle)) +#define SATO_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POKY_TYPE_STYLE, SatoStyleClass)) +#define SATO_IS_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), POKY_TYPE_STYLE)) +#define SATO_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POKY_TYPE_STYLE)) +#define SATO_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POKY_TYPE_STYLE, SatoStyleClass)) + +typedef struct _SatoStyle SatoStyle; +typedef struct _SatoStyleClass SatoStyleClass; + +struct _SatoStyle +{ + GtkStyle parent_instance; +}; + +struct _SatoStyleClass +{ + GtkStyleClass parent_class; +}; + +void sato_style_register_type (GTypeModule *module); + +/******************************************************************************/ + +/*** Gtk Style RC Class *******************************************************/ + +extern GType sato_type_rc_style; + +#define SATO_TYPE_RC_STYLE sato_type_rc_style +#define SATO_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), POKY_TYPE_RC_STYLE, SatoRcStyle)) +#define SATO_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POKY_TYPE_RC_STYLE, SatoRcStyleClass)) +#define SATO_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), POKY_TYPE_RC_STYLE)) +#define SATO_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POKY_TYPE_RC_STYLE)) +#define SATO_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POKY_TYPE_RC_STYLE, SatoRcStyleClass)) + +typedef struct _SatoRcStyle SatoRcStyle; +typedef struct _SatoRcStyleClass SatoRcStyleClass; + +struct _SatoRcStyle +{ + GtkRcStyle parent_instance; +}; + +struct _SatoRcStyleClass +{ + GtkRcStyleClass parent_class; +}; + +void sato_rc_style_register_type (GTypeModule *engine); + +/******************************************************************************/ + +G_END_DECLS + +#endif |