diff options
Diffstat (limited to 'src/gtk/engine/ia_ora_rc_style.h')
-rw-r--r-- | src/gtk/engine/ia_ora_rc_style.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/gtk/engine/ia_ora_rc_style.h b/src/gtk/engine/ia_ora_rc_style.h new file mode 100644 index 0000000..db53c91 --- /dev/null +++ b/src/gtk/engine/ia_ora_rc_style.h @@ -0,0 +1,51 @@ +/* Ia Ora + * Copyright (C) 2006 Frederic Crozat - Mandriva + * 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +#include <gtk/gtkrc.h> + +typedef struct _Ia_OraRcStyle Ia_OraRcStyle; +typedef struct _Ia_OraRcStyleClass Ia_OraRcStyleClass; + +__attribute__((__visibility__("internal"))) extern GType ia_ora_type_rc_style; + +#define IA_ORA_TYPE_RC_STYLE ia_ora_type_rc_style +#define IA_ORA_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyle)) +#define IA_ORA_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyleClass)) +#define IA_ORA_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), IA_ORA_TYPE_RC_STYLE)) +#define IA_ORA_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IA_ORA_TYPE_RC_STYLE)) +#define IA_ORA_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyleClass)) + +struct _Ia_OraRcStyle +{ + GtkRcStyle parent_instance; + + gboolean enable_gradient; + + gboolean use_cross; + + gboolean black_check; + +}; + +struct _Ia_OraRcStyleClass +{ + GtkRcStyleClass parent_class; +}; + +__attribute__((__visibility__("internal"))) void ia_ora_rc_style_register_type(GTypeModule * module); |