summaryrefslogtreecommitdiffstats
path: root/src/gtk/engine/ia_ora_rc_style.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-03-10 18:36:50 +0200
committerMavridis Philippe <mavridisf@gmail.com>2024-03-28 17:15:10 +0200
commit8c86e0cf09b8177384916935b976a8de17fd32e1 (patch)
treed814c85cdafcb594586041228ea35a6e091e8bc3 /src/gtk/engine/ia_ora_rc_style.h
parent84ed60a3173dca1d9690bd71f264966b8a079231 (diff)
downloadtde-style-ia-ora-8c86e0cf.tar.gz
tde-style-ia-ora-8c86e0cf.zip
Added GTK+2.0 engine
Ia Ora was created by Mandriva so that Qt and GTK applications could have a uniform look. It only seems fair to include the GTK style with the TDE style. Source: https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/SRPMS/core/release/ia_ora-gnome-1.0.25-12.mga9.src.rpm Licence: GNU GPL v2 or later Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit bf94b5f4d80f9bdcc70d929664d935b56c324c85)
Diffstat (limited to 'src/gtk/engine/ia_ora_rc_style.h')
-rw-r--r--src/gtk/engine/ia_ora_rc_style.h51
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);