]> Dogcows Code - chaz/openbox/blobdiff - openbox/config.h
move the themes
[chaz/openbox] / openbox / config.h
index 9797f9e40b72bb9704a2c7bcad517d358b2304ab..0dceb9208539768b950b2e2746fc02b4feb2c231 100644 (file)
@@ -3,27 +3,37 @@
 
 #include <glib.h>
 
-typedef enum {
-    Config_String,
-    Config_Integer
-} ConfigValueType;
+/*! Should new windows be focused */
+extern gboolean config_focus_new;
+/*! Focus windows when the mouse enters them */
+extern gboolean config_focus_follow;
+/*! Focus the last focused window as a fallback */
+extern gboolean config_focus_last;
+/*! Focus the last focused window as a fallback when switching desktops */
+extern gboolean config_focus_last_on_desktop;
+
+/*! The engine to load */
+extern char *config_engine_name;
+/*! The theme to load */
+extern char *config_engine_theme;
+/*! The titlebar layout */
+extern char *config_engine_layout;
+/*! The titlebar font */
+extern char *config_engine_font;
+/*! The titlebar font's shadow */
+extern gboolean config_engine_shadow;
+/*! The titlebar font's shadow offset */
+extern int config_engine_shadow_offset;
+/*! The titlebar font's shadow transparency */
+extern int config_engine_shadow_tint;
+
+/*! The number of desktops */
+extern int config_desktops_num;
+/*! Names for the desktops */
+extern GSList *config_desktops_names;
 
-typedef union {
-    char *string;
-    int integer;
-} ConfigValue;
-
-typedef struct {
-    char *name;
-    ConfigValueType type;
-    ConfigValue value;
-} ConfigEntry;
 
 void config_startup();
 void config_shutdown();
 
-gboolean config_set(char *name, ConfigValueType type, ConfigValue value);
-
-void config_parse();
-
 #endif
This page took 0.025783 seconds and 4 git commands to generate.