diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2020-12-24 16:29:08 (GMT) |
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2020-12-24 16:29:08 (GMT) |
| commit | f3578d35758ac47991806233ceba8d566160260b (patch) | |
| tree | 2407285f053d51b0820946a0a957868693936ab9 /src/gtkext/easygtk.h | |
| parent | 93dfdc30d815629a7e0c9393f0e8f0462844ff56 (diff) | |
Added a way to retrieve RGBA colors from the current GTK style.
Diffstat (limited to 'src/gtkext/easygtk.h')
| -rw-r--r-- | src/gtkext/easygtk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gtkext/easygtk.h b/src/gtkext/easygtk.h index f8c2212..f181d43 100644 --- a/src/gtkext/easygtk.h +++ b/src/gtkext/easygtk.h @@ -25,6 +25,7 @@ #define _GTKEXT_EASYGTK_H +#include <stdbool.h> #include <gtk/gtk.h> @@ -92,6 +93,10 @@ GtkWidget *qck_create_menu_separator(void); + +/* Identifie la couleur de base associée à un style GTK. */ +bool get_color_from_style(const char *, bool, GdkRGBA *); + /* Détermine l'indice d'un composant dans un conteneur GTK. */ gint find_contained_child_index(GtkContainer *, GtkWidget *); |
