JWM Source Documentation
settings.h
Go to the documentation of this file.
1 
10 #ifndef SETTINGS_H
11 #define SETTINGS_H
12 
14 typedef unsigned char SnapModeType;
15 #define SNAP_NONE 0
16 #define SNAP_SCREEN 1
17 #define SNAP_BORDER 2
20 typedef unsigned char MoveModeType;
21 #define MOVE_OPAQUE 0
22 #define MOVE_OUTLINE 1
25 typedef unsigned char ResizeModeType;
26 #define RESIZE_OPAQUE 0
27 #define RESIZE_OUTLINE 1
30 typedef unsigned char StatusWindowType;
31 #define SW_OFF 0
32 #define SW_SCREEN 1
33 #define SW_WINDOW 2
34 #define SW_CORNER 3
37 typedef unsigned char FocusModelType;
38 #define FOCUS_SLOPPY 0
39 #define FOCUS_CLICK 1
40 
42 typedef unsigned char DecorationsType;
43 #define DECO_UNSET 0
44 #define DECO_FLAT 1
45 #define DECO_MOTIF 2
46 
48 typedef unsigned char PopupMaskType;
49 #define POPUP_NONE 0
50 #define POPUP_TASK 1
51 #define POPUP_PAGER 2
52 #define POPUP_BUTTON 4
53 #define POPUP_CLOCK 8
54 #define POPUP_MENU 16
55 #define POPUP_ALL 255
56 
58 typedef unsigned char AlignmentType;
59 #define ALIGN_LEFT 0
60 #define ALIGN_CENTER 1
61 #define ALIGN_RIGHT 2
62 
64 typedef struct {
65  unsigned int doubleClickSpeed;
66  unsigned int doubleClickDelta;
67  unsigned int snapDistance;
68  unsigned int popupDelay;
69  unsigned int trayOpacity;
70  unsigned int activeClientOpacity;
71  unsigned int inactiveClientOpacity;
72  unsigned int borderWidth;
73  unsigned int titleHeight;
74  unsigned int desktopWidth;
75  unsigned int desktopHeight;
76  unsigned int desktopCount;
77  unsigned int menuOpacity;
78  unsigned int desktopDelay;
79  unsigned int cornerRadius;
80  unsigned int moveMask;
93  char groupTasks;
95 } Settings;
96 
97 extern Settings settings;
98 
100 void InitializeSettings(void);
101 void StartupSettings(void);
102 #define ShutdownSettings() (void)(0)
103 #define DestroySettings() (void)(0)
104 
107 void SetPathString(char **dest, const char *src);
108 
109 #endif

joewing.net / Projects / JWM