123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /* $Id$
- 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, 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., Inc., 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
- xfwm4 - (c) 2002-2011 Olivier Fourdan
- xfwm4-windowck-plugin - (c) 2013 Cedric leporcq
- */
- #ifndef INC_UI_STYLE_H
- #define INC_UI_STYLE_H
- #ifdef HAVE_CONFIG_H
- #include "config.h"
- #endif
- #include <glib.h>
- #include <gtk/gtk.h>
- #include <pango/pango-font.h>
- GdkColor query_color (GtkWidget * win, GdkColor c);
- GdkColor shade (GdkColor color, float s);
- GdkColor mix (GdkColor color2, GdkColor color1, float a);
- gchar *mix_bg_fg (GtkWidget * win,
- const gchar * state,
- float alpha,
- float beta);
- gchar *get_ui_color (GtkWidget *,
- const gchar *,
- const gchar *);
- GdkGC *getUIStyle_gc (GtkWidget *,
- const gchar *,
- const gchar *);
- PangoFontDescription *getUIPangoFontDesc (GtkWidget *);
- PangoContext *getUIPangoContext (GtkWidget *);
- #endif /* INC_UI_STYLE_H */
|