use the ObOrientation enum instead of a horz bool for configuring the dock's orientation
[mikachu/openbox.git] / openbox / config.h
1 #ifndef __config_h
2 #define __config_h
3
4 #include "misc.h"
5 #include "dock.h"
6 #include "stacking.h"
7
8 #include <glib.h>
9
10 /*! Should new windows be focused */
11 extern gboolean config_focus_new;
12 /*! Focus windows when the mouse enters them */
13 extern gboolean config_focus_follow;
14 /*! Focus the last focused window as a fallback */
15 extern gboolean config_focus_last;
16 /*! Focus the last focused window as a fallback when switching desktops */
17 extern gboolean config_focus_last_on_desktop;
18 /*! Show a popup dialog while cycling focus */
19 extern gboolean config_focus_popup;
20 /*! The number of slits to create 
21   extern int config_slit_number;*/
22 /*! When true windows are moved opaquely, when false just an outline is shown
23   while they are moved */
24 extern gboolean config_opaque_move;
25 /*! When true windows are resize opaquely, when false just an outline is shown
26   while they are resize */
27 extern gboolean config_opaque_resize;
28
29 /*! The stacking layer the dock will reside in */
30 extern StackLayer config_dock_layer;
31 /*! Is the dock floating */
32 extern gboolean config_dock_floating;
33 /*! Where to place the dock if not floating */
34 extern ObDirection config_dock_pos;
35 /*! If config_dock_pos is DockPos_Floating, this is the top-left corner's
36   position */
37 extern int config_dock_x;
38 /*! If config_dock_pos is DockPos_Floating, this is the top-left corner's
39   position */
40 extern int config_dock_y;
41 /*! Whether the dock places the dockapps in it horizontally or vertically */
42 extern ObOrientation config_dock_orient;
43 /*! Whether to auto-hide the dock when the pointer is not over it */
44 extern gboolean config_dock_hide;
45 /*! The number of milliseconds to wait before hiding the dock */
46 extern guint config_dock_hide_timeout;
47
48 /* The name of the theme */
49 char *config_theme;
50
51 /*! The number of desktops */
52 extern int config_desktops_num;
53 /*! Names for the desktops */
54 extern GSList *config_desktops_names;
55
56
57 void config_startup();
58 void config_shutdown();
59
60 #endif