|
pidgin 2.14.4
|
GTK+ Style utility functions. More...
#include <gtk/gtk.h>Go to the source code of this file.
Functions | |
| G_BEGIN_DECLS gboolean | pidgin_style_is_dark (GtkStyle *style) |
| Returns TRUE if dark mode is enabled and foreground colours should be invertred. | |
| void | pidgin_style_adjust_contrast (GtkStyle *style, GdkColor *color) |
| Lighten a color if dark mode is enabled. | |
GTK+ Style utility functions.
Definition in file gtkstyle.h.
| void pidgin_style_adjust_contrast | ( | GtkStyle * | style, |
| GdkColor * | color | ||
| ) |
Lighten a color if dark mode is enabled.
| style | The GtkStyle in use. |
| color | Color to be lightened. Transformed color will be written here. |
| G_BEGIN_DECLS gboolean pidgin_style_is_dark | ( | GtkStyle * | style | ) |
Returns TRUE if dark mode is enabled and foreground colours should be invertred.
| style | The GtkStyle in use, or NULL to use a cached version. |
TRUE if dark mode, FALSE otherwise