12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef __WCKBUTTONS_THEME_H__
- #define __WCKBUTTONS_THEME_H__
- #include <gtk/gtk.h>
- #include "wckbuttons.h"
- #define DEFAULT_THEME "Windowck"
- G_BEGIN_DECLS
- typedef struct {
- gchar *option;
- GValue *value;
- GType type;
- gboolean required;
- } Settings;
- void init_theme (WBPlugin *wb);
- void load_theme (const gchar *theme, WBPlugin *wb);
- void replace_buttons (const gchar *button_layout, WBPlugin *wb);
- gchar *get_rc_button_layout (const gchar *theme);
- gchar *button_layout_filter (const gchar *button_layout, const gchar *default_layout);
- gchar *opposite_layout_filter (const gchar *string);
- G_END_DECLS
- #endif
|