diff options
author | fluxgen <fluxgen> | 2002-04-04 11:28:41 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-04 11:28:41 (GMT) |
commit | d300afc99ca03e65515df3ffc89d3df56186b4c0 (patch) | |
tree | 854659d8e71b66367eacb0f13f1ff776868af699 | |
parent | 2526e4bce821eedcd4bcc13e0f27ac7b9e255350 (diff) | |
download | fluxbox-d300afc99ca03e65515df3ffc89d3df56186b4c0.zip fluxbox-d300afc99ca03e65515df3ffc89d3df56186b4c0.tar.bz2 |
moved defines to enums in namespace FBNLS
-rw-r--r-- | nls/blackbox-nls.hh | 351 |
1 files changed, 181 insertions, 170 deletions
diff --git a/nls/blackbox-nls.hh b/nls/blackbox-nls.hh index f1c381b..6545915 100644 --- a/nls/blackbox-nls.hh +++ b/nls/blackbox-nls.hh | |||
@@ -1,170 +1,181 @@ | |||
1 | #define BaseDisplaySet 0x1 | 1 | #ifndef BLACKBOX_NLS_HH |
2 | #define BaseDisplayXError 0x1 | 2 | #define BLACKBOX_NLS_HH |
3 | #define BaseDisplaySignalCaught 0x2 | 3 | |
4 | #define BaseDisplayShuttingDown 0x3 | 4 | namespace FBNLS |
5 | #define BaseDisplayAborting 0x4 | 5 | { |
6 | #define BaseDisplayXConnectFail 0x5 | 6 | enum { |
7 | #define BaseDisplayCloseOnExecFail 0x6 | 7 | BaseDisplaySet = 0x1, |
8 | #define BaseDisplayBadWindowRemove 0x7 | 8 | BaseDisplayXError = 0x1, |
9 | 9 | BaseDisplaySignalCaught = 0x2, | |
10 | #define BasemenuSet 0x2 | 10 | BaseDisplayShuttingDown = 0x3, |
11 | #define BasemenuBlackboxMenu 0x1 | 11 | BaseDisplayAborting = 0x4, |
12 | 12 | BaseDisplayXConnectFail = 0x5, | |
13 | #define ConfigmenuSet 0x3 | 13 | BaseDisplayCloseOnExecFail = 0x6, |
14 | #define ConfigmenuConfigOptions 0x1 | 14 | BaseDisplayBadWindowRemove = 0x7, |
15 | #define ConfigmenuFocusModel 0x2 | 15 | |
16 | #define ConfigmenuWindowPlacement 0x3 | 16 | BasemenuSet = 0x2, |
17 | #define ConfigmenuImageDithering 0x4 | 17 | BasemenuBlackboxMenu = 0x1, |
18 | #define ConfigmenuOpaqueMove 0x5 | 18 | |
19 | #define ConfigmenuFullMax 0x6 | 19 | ConfigmenuSet = 0x3, |
20 | #define ConfigmenuFocusNew 0x7 | 20 | ConfigmenuConfigOptions = 0x1, |
21 | #define ConfigmenuFocusLast 0x8 | 21 | ConfigmenuFocusModel = 0x2, |
22 | #define ConfigmenuClickToFocus 0x9 | 22 | ConfigmenuWindowPlacement = 0x3, |
23 | #define ConfigmenuSloppyFocus 0xa | 23 | ConfigmenuImageDithering = 0x4, |
24 | #define ConfigmenuAutoRaise 0xb | 24 | ConfigmenuOpaqueMove = 0x5, |
25 | #define ConfigmenuSmartRows 0xc | 25 | ConfigmenuFullMax = 0x6, |
26 | #define ConfigmenuSmartCols 0xd | 26 | ConfigmenuFocusNew = 0x7, |
27 | #define ConfigmenuCascade 0xe | 27 | ConfigmenuFocusLast = 0x8, |
28 | #define ConfigmenuLeftRight 0xf | 28 | ConfigmenuClickToFocus = 0x9, |
29 | #define ConfigmenuRightLeft 0x10 | 29 | ConfigmenuSloppyFocus = 0xa, |
30 | #define ConfigmenuTopBottom 0x11 | 30 | ConfigmenuAutoRaise = 0xb, |
31 | #define ConfigmenuBottomTop 0x12 | 31 | ConfigmenuSmartRows = 0xc, |
32 | #define ConfigmenuTabs 0x13 | 32 | ConfigmenuSmartCols = 0xd, |
33 | #define ConfigmenuIcons 0x14 | 33 | ConfigmenuCascade = 0xe, |
34 | #define ConfigmenuTabPlacement 0x15 | 34 | ConfigmenuLeftRight = 0xf, |
35 | #define ConfigmenuTabRotateVertical 0x16 | 35 | ConfigmenuRightLeft = 0x10, |
36 | #define ConfigmenuSemiSloppyFocus 0x17 | 36 | ConfigmenuTopBottom = 0x11, |
37 | #define ConfigmenuMaxOverSlit 0x18 | 37 | ConfigmenuBottomTop = 0x12, |
38 | #define ConfigmenuSloppyWindowGrouping 0x19 | 38 | ConfigmenuTabs = 0x13, |
39 | 39 | ConfigmenuIcons = 0x14, | |
40 | #define IconSet 0x4 | 40 | ConfigmenuTabPlacement = 0x15, |
41 | #define IconIcons 0x1 | 41 | ConfigmenuTabRotateVertical = 0x16, |
42 | 42 | ConfigmenuSemiSloppyFocus = 0x17, | |
43 | #define ImageSet 0x5 | 43 | ConfigmenuMaxOverSlit = 0x18, |
44 | #define ImageErrorCreatingSolidPixmap 0x1 | 44 | ConfigmenuSloppyWindowGrouping = 0x19, |
45 | #define ImageErrorCreatingXImage 0x2 | 45 | |
46 | #define ImageUnsupVisual 0x3 | 46 | IconSet = 0x4, |
47 | #define ImageErrorCreatingPixmap 0x4 | 47 | IconIcons = 0x1, |
48 | #define ImageInvalidColormapSize 0x5 | 48 | |
49 | #define ImageErrorAllocatingColormap 0x6 | 49 | ImageSet = 0x5, |
50 | #define ImageColorAllocFail 0x7 | 50 | ImageErrorCreatingSolidPixmap = 0x1, |
51 | #define ImagePixmapRelease 0x8 | 51 | ImageErrorCreatingXImage = 0x2, |
52 | #define ImagePixmapCacheLarge 0x9 | 52 | ImageUnsupVisual = 0x3, |
53 | #define ImageColorParseError 0xa | 53 | ImageErrorCreatingPixmap = 0x4, |
54 | #define ImageColorAllocError 0xb | 54 | ImageInvalidColormapSize = 0x5, |
55 | 55 | ImageErrorAllocatingColormap = 0x6, | |
56 | #define ScreenSet 0x6 | 56 | ImageColorAllocFail = 0x7, |
57 | #define ScreenAnotherWMRunning 0x1 | 57 | ImagePixmapRelease = 0x8, |
58 | #define ScreenManagingScreen 0x2 | 58 | ImagePixmapCacheLarge = 0x9, |
59 | #define ScreenFontLoadFail 0x3 | 59 | ImageColorParseError = 0xa, |
60 | #define ScreenDefaultFontLoadFail 0x4 | 60 | ImageColorAllocError = 0xb, |
61 | #define ScreenEmptyMenuFile 0x5 | 61 | |
62 | #define Screenxterm 0x6 | 62 | ScreenSet = 0x6, |
63 | #define ScreenRestart 0x7 | 63 | ScreenAnotherWMRunning = 0x1, |
64 | #define ScreenExit 0x8 | 64 | ScreenManagingScreen = 0x2, |
65 | #define ScreenEXECError 0x9 | 65 | ScreenFontLoadFail = 0x3, |
66 | #define ScreenEXITError 0xa | 66 | ScreenDefaultFontLoadFail = 0x4, |
67 | #define ScreenSTYLEError 0xb | 67 | ScreenEmptyMenuFile = 0x5, |
68 | #define ScreenCONFIGError 0xc | 68 | Screenxterm = 0x6, |
69 | #define ScreenINCLUDEError 0xd | 69 | ScreenRestart = 0x7, |
70 | #define ScreenINCLUDEErrorReg 0xe | 70 | ScreenExit = 0x8, |
71 | #define ScreenSUBMENUError 0xf | 71 | ScreenEXECError = 0x9, |
72 | #define ScreenRESTARTError 0x10 | 72 | ScreenEXITError = 0xa, |
73 | #define ScreenRECONFIGError 0x11 | 73 | ScreenSTYLEError = 0xb, |
74 | #define ScreenSTYLESDIRError 0x12 | 74 | ScreenCONFIGError = 0xc, |
75 | #define ScreenSTYLESDIRErrorNotDir 0x13 | 75 | ScreenINCLUDEError = 0xd, |
76 | #define ScreenSTYLESDIRErrorNoExist 0x14 | 76 | ScreenINCLUDEErrorReg = 0xe, |
77 | #define ScreenWORKSPACESError 0x15 | 77 | ScreenSUBMENUError = 0xf, |
78 | #define ScreenPositionLength 0x16 | 78 | ScreenRESTARTError = 0x10, |
79 | #define ScreenPositionFormat 0x17 | 79 | ScreenRECONFIGError = 0x11, |
80 | #define ScreenGeometryFormat 0x18 | 80 | ScreenSTYLESDIRError = 0x12, |
81 | 81 | ScreenSTYLESDIRErrorNotDir = 0x13, | |
82 | #define SlitSet 0x7 | 82 | ScreenSTYLESDIRErrorNoExist = 0x14, |
83 | #define SlitSlitTitle 0x1 | 83 | ScreenWORKSPACESError = 0x15, |
84 | #define SlitSlitDirection 0x2 | 84 | ScreenPositionLength = 0x16, |
85 | #define SlitSlitPlacement 0x3 | 85 | ScreenPositionFormat = 0x17, |
86 | 86 | ScreenGeometryFormat = 0x18, | |
87 | #define ToolbarSet 0x8 | 87 | |
88 | #define ToolbarNoStrftimeLength 0x1 | 88 | SlitSet = 0x7, |
89 | #define ToolbarNoStrftimeDateFormat 0x2 | 89 | SlitSlitTitle = 0x1, |
90 | #define ToolbarNoStrftimeDateFormatEu 0x3 | 90 | SlitSlitDirection = 0x2, |
91 | #define ToolbarNoStrftimeTimeFormat24 0x4 | 91 | SlitSlitPlacement = 0x3, |
92 | #define ToolbarNoStrftimeTimeFormat12 0x5 | 92 | |
93 | #define ToolbarNoStrftimeTimeFormatP 0x6 | 93 | ToolbarSet = 0x8, |
94 | #define ToolbarNoStrftimeTimeFormatA 0x7 | 94 | ToolbarNoStrftimeLength = 0x1, |
95 | #define ToolbarToolbarTitle 0x8 | 95 | ToolbarNoStrftimeDateFormat = 0x2, |
96 | #define ToolbarEditWkspcName 0x9 | 96 | ToolbarNoStrftimeDateFormatEu = 0x3, |
97 | #define ToolbarToolbarPlacement 0xa | 97 | ToolbarNoStrftimeTimeFormat24 = 0x4, |
98 | 98 | ToolbarNoStrftimeTimeFormat12 = 0x5, | |
99 | #define WindowSet 0x9 | 99 | ToolbarNoStrftimeTimeFormatP = 0x6, |
100 | #define WindowCreating 0x1 | 100 | ToolbarNoStrftimeTimeFormatA = 0x7, |
101 | #define WindowXGetWindowAttributesFail 0x2 | 101 | ToolbarToolbarTitle = 0x8, |
102 | #define WindowCannotFindScreen 0x3 | 102 | ToolbarEditWkspcName = 0x9, |
103 | #define WindowUnnamed 0x4 | 103 | ToolbarToolbarPlacement = 0xa, |
104 | #define WindowMapRequest 0x5 | 104 | |
105 | #define WindowUnmapNotify 0x6 | 105 | WindowSet = 0x9, |
106 | #define WindowUnmapNotifyReparent 0x7 | 106 | WindowCreating = 0x1, |
107 | 107 | WindowXGetWindowAttributesFail = 0x2, | |
108 | #define WindowmenuSet 0xa | 108 | WindowCannotFindScreen = 0x3, |
109 | #define WindowmenuSendTo 0x1 | 109 | WindowUnnamed = 0x4, |
110 | #define WindowmenuSendGroupTo 0x2 | 110 | WindowMapRequest = 0x5, |
111 | #define WindowmenuShade 0x3 | 111 | WindowUnmapNotify = 0x6, |
112 | #define WindowmenuIconify 0x4 | 112 | WindowUnmapNotifyReparent = 0x7, |
113 | #define WindowmenuMaximize 0x5 | 113 | |
114 | #define WindowmenuRaise 0x6 | 114 | WindowmenuSet = 0xa, |
115 | #define WindowmenuLower 0x7 | 115 | WindowmenuSendTo = 0x1, |
116 | #define WindowmenuStick 0x8 | 116 | WindowmenuSendGroupTo = 0x2, |
117 | #define WindowmenuKillClient 0x9 | 117 | WindowmenuShade = 0x3, |
118 | #define WindowmenuClose 0xa | 118 | WindowmenuIconify = 0x4, |
119 | #define WindowmenuTab 0xb | 119 | WindowmenuMaximize = 0x5, |
120 | 120 | WindowmenuRaise = 0x6, | |
121 | #define WorkspaceSet 0xb | 121 | WindowmenuLower = 0x7, |
122 | #define WorkspaceDefaultNameFormat 0x1 | 122 | WindowmenuStick = 0x8, |
123 | 123 | WindowmenuKillClient = 0x9, | |
124 | #define WorkspacemenuSet 0xc | 124 | WindowmenuClose = 0xa, |
125 | #define WorkspacemenuWorkspacesTitle 0x1 | 125 | WindowmenuTab = 0xb, |
126 | #define WorkspacemenuNewWorkspace 0x2 | 126 | |
127 | #define WorkspacemenuRemoveLast 0x3 | 127 | WorkspaceSet = 0xb, |
128 | 128 | WorkspaceDefaultNameFormat = 0x1, | |
129 | #define blackboxSet 0xd | 129 | |
130 | #define blackboxNoManagableScreens 0x1 | 130 | WorkspacemenuSet = 0xc, |
131 | #define blackboxMapRequest 0x2 | 131 | WorkspacemenuWorkspacesTitle = 0x1, |
132 | 132 | WorkspacemenuNewWorkspace = 0x2, | |
133 | #define CommonSet 0xe | 133 | WorkspacemenuRemoveLast = 0x3, |
134 | #define CommonYes 0x1 | 134 | |
135 | #define CommonNo 0x2 | 135 | |
136 | #define CommonDirectionTitle 0x3 | 136 | blackboxSet = 0xd, |
137 | #define CommonDirectionHoriz 0x4 | 137 | blackboxNoManagableScreens = 0x1, |
138 | #define CommonDirectionVert 0x5 | 138 | blackboxMapRequest = 0x2, |
139 | #define CommonAlwaysOnTop 0x6 | 139 | |
140 | #define CommonPlacementTitle 0x7 | 140 | CommonSet = 0xe, |
141 | #define CommonPlacementTopLeft 0x8 | 141 | CommonYes = 0x1, |
142 | #define CommonPlacementCenterLeft 0x9 | 142 | CommonNo = 0x2, |
143 | #define CommonPlacementBottomLeft 0xa | 143 | CommonDirectionTitle = 0x3, |
144 | #define CommonPlacementTopCenter 0xb | 144 | CommonDirectionHoriz = 0x4, |
145 | #define CommonPlacementBottomCenter 0xc | 145 | CommonDirectionVert = 0x5, |
146 | #define CommonPlacementTopRight 0xd | 146 | CommonAlwaysOnTop = 0x6, |
147 | #define CommonPlacementCenterRight 0xe | 147 | CommonPlacementTitle = 0x7, |
148 | #define CommonPlacementBottomRight 0xf | 148 | CommonPlacementTopLeft = 0x8, |
149 | #define CommonPlacementLeftTop 0x10 | 149 | CommonPlacementCenterLeft = 0x9, |
150 | #define CommonPlacementLeftCenter 0x11 | 150 | CommonPlacementBottomLeft = 0xa, |
151 | #define CommonPlacementLeftBottom 0x12 | 151 | CommonPlacementTopCenter = 0xb, |
152 | #define CommonPlacementRightTop 0x13 | 152 | CommonPlacementBottomCenter = 0xc, |
153 | #define CommonPlacementRightCenter 0x14 | 153 | CommonPlacementTopRight = 0xd, |
154 | #define CommonPlacementRightBottom 0x15 | 154 | CommonPlacementCenterRight = 0xe, |
155 | #define CommonPlacementTopRelative 0x16 | 155 | CommonPlacementBottomRight = 0xf, |
156 | #define CommonPlacementBottomRelative 0x17 | 156 | CommonPlacementLeftTop = 0x10, |
157 | #define CommonPlacementLeftRelative 0x18 | 157 | CommonPlacementLeftCenter = 0x11, |
158 | #define CommonPlacementRightRelative 0x19 | 158 | CommonPlacementLeftBottom = 0x12, |
159 | #define CommonAutoHide 0x1a | 159 | CommonPlacementRightTop = 0x13, |
160 | 160 | CommonPlacementRightCenter = 0x14, | |
161 | #define mainSet 0xf | 161 | CommonPlacementRightBottom = 0x15, |
162 | #define mainRCRequiresArg 0x1 | 162 | CommonPlacementTopRelative = 0x16, |
163 | #define mainDISPLAYRequiresArg 0x2 | 163 | CommonPlacementBottomRelative = 0x17, |
164 | #define mainWarnDisplaySet 0x3 | 164 | CommonPlacementLeftRelative = 0x18, |
165 | #define mainUsage 0x4 | 165 | CommonPlacementRightRelative = 0x19, |
166 | #define mainCompileOptions 0x5 | 166 | CommonAutoHide = 0x1a, |
167 | 167 | ||
168 | #define bsetrootSet 0x10 | 168 | mainSet = 0xf, |
169 | #define bsetrootMustSpecify 0x1 | 169 | mainRCRequiresArg = 0x1, |
170 | #define bsetrootUsage 0x2 | 170 | mainDISPLAYRequiresArg = 0x2, |
171 | mainWarnDisplaySet = 0x3, | ||
172 | mainUsage = 0x4, | ||
173 | mainCompileOptions = 0x5, | ||
174 | |||
175 | bsetrootSet = 0x10, | ||
176 | bsetrootMustSpecify = 0x1, | ||
177 | bsetrootUsage = 0x2, | ||
178 | }; //end enum | ||
179 | |||
180 | }; //end namespace NLS | ||
181 | #endif //BLACKBOX_NLS_HH | ||