File indexing completed on 2024-04-28 05:32:20

0001 #ifndef oxygentheme_h
0002 #define oxygentheme_h
0003 
0004 /*
0005 * this file is part of the oxygen gtk engine
0006 * SPDX-FileCopyrightText: 2010 Hugo Pereira Da Costa <hugo.pereira@free.fr>
0007 * SPDX-FileCopyrightText: 2010 Ruslan Kabatsayev <b7.10110111@gmail.com>
0008 *
0009 * based on the Null Theme Engine for Gtk+.
0010 * SPDX-FileCopyrightText: 2008 Robert Staudinger <robert.staudinger@gmail.com>
0011 *
0012 * SPDX-License-Identifier: LGPL-2.0-or-later
0013 */
0014 
0015 #include <gtk/gtk.h>
0016 
0017 //!@name external 'c' methods, expected by gtk
0018 //@{
0019 extern "C" G_MODULE_EXPORT void theme_init( GTypeModule* );
0020 extern "C" G_MODULE_EXPORT void theme_exit( void );
0021 extern "C" G_MODULE_EXPORT GtkRcStyle* theme_create_rc_style( void );
0022 extern "C" G_MODULE_EXPORT const gchar* g_module_check_init( GModule* );
0023 
0024 // exports for WM theming
0025 extern "C" G_MODULE_EXPORT void drawWindowDecoration(cairo_t*, unsigned long,gint,gint,gint,gint,const gchar**,gint,gint);
0026 extern "C" G_MODULE_EXPORT void drawWindecoButton(cairo_t*, unsigned long,unsigned long, unsigned long,gint,gint,gint,gint);
0027 extern "C" G_MODULE_EXPORT void drawWindecoShapeMask(cairo_t*, unsigned long,gint,gint,gint,gint);
0028 extern "C" G_MODULE_EXPORT void drawWindowShadow(cairo_t*, unsigned long options, gint x, gint y, gint w, gint h);
0029 extern "C" G_MODULE_EXPORT gint getWindecoMetric(unsigned long);
0030 extern "C" G_MODULE_EXPORT gint getWindecoButtonSize(unsigned long);
0031 extern "C" G_MODULE_EXPORT unsigned long getWindecoABIVersion(void);
0032 //@}
0033 
0034 #endif