libyui  3.3.2
YUISymbols.h
1 /*
2  Copyright (C) 2000-2012 Novell, Inc
3  This library is free software; you can redistribute it and/or modify
4  it under the terms of the GNU Lesser General Public License as
5  published by the Free Software Foundation; either version 2.1 of the
6  License, or (at your option) version 3.0 of the License. This library
7  is distributed in the hope that it will be useful, but WITHOUT ANY
8  WARRANTY; without even the implied warranty of MERCHANTABILITY or
9  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10  License for more details. You should have received a copy of the GNU
11  Lesser General Public License along with this library; if not, write
12  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13  Floor, Boston, MA 02110-1301 USA
14 */
15 
16 
17 /*-/
18 
19  File: YUISymbols.h
20 
21  Author: Stefan Hundhammer <sh@suse.de>
22 
23 /-*/
24 
25 #ifndef YUISymbols_h
26 #define YUISymbols_h
27 
28 
29 // UI builtin functions
30 
31 #define YUIBuiltin_AskForExistingDirectory "AskForExistingDirectory"
32 #define YUIBuiltin_AskForExistingFile "AskForExistingFile"
33 #define YUIBuiltin_AskForSaveFileName "AskForSaveFileName"
34 #define YUIBuiltin_Beep "Beep"
35 #define YUIBuiltin_BusyCursor "BusyCursor"
36 #define YUIBuiltin_OpenContextMenu "OpenContextMenu"
37 #define YUIBuiltin_ChangeWidget "ChangeWidget"
38 #define YUIBuiltin_CloseDialog "CloseDialog"
39 #define YUIBuiltin_CloseUI "CloseUI"
40 #define YUIBuiltin_DumpWidgetTree "DumpWidgetTree"
41 #define YUIBuiltin_GetDisplayInfo "GetDisplayInfo"
42 #define YUIBuiltin_GetLanguage "GetLanguage"
43 #define YUIBuiltin_GetProductName "GetProductName"
44 #define YUIBuiltin_Glyph "Glyph"
45 #define YUIBuiltin_HasSpecialWidget "HasSpecialWidget"
46 #define YUIBuiltin_MakeScreenShot "MakeScreenShot"
47 #define YUIBuiltin_NormalCursor "NormalCursor"
48 #define YUIBuiltin_OpenDialog "OpenDialog"
49 #define YUIBuiltin_OpenUI "OpenUI"
50 #define YUIBuiltin_PollInput "PollInput"
51 #define YUIBuiltin_QueryWidget "QueryWidget"
52 #define YUIBuiltin_RecalcLayout "RecalcLayout"
53 #define YUIBuiltin_Recode "Recode"
54 #define YUIBuiltin_RedrawScreen "RedrawScreen"
55 #define YUIBuiltin_ReplaceWidget "ReplaceWidget"
56 #define YUIBuiltin_RunPkgSelection "RunPkgSelection"
57 #define YUIBuiltin_SetConsoleFont "SetConsoleFont"
58 #define YUIBuiltin_SetFocus "SetFocus"
59 #define YUIBuiltin_SetFunctionKeys "SetFunctionKeys"
60 #define YUIBuiltin_SetKeyboard "SetKeyboard"
61 #define YUIBuiltin_RunInTerminal "RunInTerminal"
62 #define YUIBuiltin_SetLanguage "SetLanguage"
63 #define YUIBuiltin_SetProductName "SetProductName"
64 #define YUIBuiltin_TimeoutUserInput "TimeoutUserInput"
65 #define YUIBuiltin_UserInput "UserInput"
66 #define YUIBuiltin_WaitForEvent "WaitForEvent"
67 #define YUIBuiltin_WidgetExists "WidgetExists"
68 #define YUIBuiltin_WizardCommand "WizardCommand"
69 
70 #define YUIBuiltin_PostponeShortcutCheck "PostponeShortcutCheck"
71 #define YUIBuiltin_CheckShortcuts "CheckShortcuts"
72 
73 #define YUIBuiltin_RecordMacro "RecordMacro"
74 #define YUIBuiltin_StopRecordMacro "StopRecordMacro"
75 #define YUIBuiltin_PlayMacro "PlayMacro"
76 #define YUIBuiltin_FakeUserInput "FakeUserInput"
77 #define YUIBuiltin_WFM "WFM"
78 #define YUIBuiltin_SCR "SCR"
79 
80 
81 
82 // Mandatory widgets
83 
84 #define YUIWidget_Bottom "Bottom"
85 #define YUIWidget_BusyIndicator "BusyIndicator"
86 #define YUIWidget_ButtonBox "ButtonBox"
87 #define YUIWidget_CheckBox "CheckBox"
88 #define YUIWidget_CheckBoxFrame "CheckBoxFrame"
89 #define YUIWidget_ComboBox "ComboBox"
90 #define YUIWidget_Empty "Empty"
91 #define YUIWidget_Frame "Frame"
92 #define YUIWidget_HBox "HBox"
93 #define YUIWidget_HCenter "HCenter"
94 #define YUIWidget_HSpacing "HSpacing"
95 #define YUIWidget_HSquash "HSquash"
96 #define YUIWidget_HStretch "HStretch"
97 #define YUIWidget_HVCenter "HVCenter"
98 #define YUIWidget_HVSquash "HVSquash"
99 #define YUIWidget_HWeight "HWeight"
100 #define YUIWidget_Heading "Heading"
101 #define YUIWidget_IconButton "IconButton"
102 #define YUIWidget_Image "Image"
103 #define YUIWidget_InputField "InputField"
104 #define YUIWidget_IntField "IntField"
105 #define YUIWidget_Label "Label"
106 #define YUIWidget_Left "Left"
107 #define YUIWidget_LogView "LogView"
108 #define YUIWidget_MarginBox "MarginBox"
109 #define YUIWidget_MenuButton "MenuButton"
110 #define YUIWidget_MinHeight "MinHeight"
111 #define YUIWidget_MinSize "MinSize"
112 #define YUIWidget_MinWidth "MinWidth"
113 #define YUIWidget_MultiLineEdit "MultiLineEdit"
114 #define YUIWidget_MultiSelectionBox "MultiSelectionBox"
115 #define YUIWidget_PackageSelector "PackageSelector"
116 #define YUIWidget_Password "Password"
117 #define YUIWidget_PkgSpecial "PkgSpecial"
118 #define YUIWidget_ProgressBar "ProgressBar"
119 #define YUIWidget_PushButton "PushButton"
120 #define YUIWidget_RadioButton "RadioButton"
121 #define YUIWidget_RadioButtonGroup "RadioButtonGroup"
122 #define YUIWidget_ReplacePoint "ReplacePoint"
123 #define YUIWidget_RichText "RichText"
124 #define YUIWidget_Right "Right"
125 #define YUIWidget_SelectionBox "SelectionBox"
126 #define YUIWidget_Table "Table"
127 #define YUIWidget_TextEntry "TextEntry" // for backwards compatibility
128 #define YUIWidget_Top "Top"
129 #define YUIWidget_Tree "Tree"
130 #define YUIWidget_VBox "VBox"
131 #define YUIWidget_VCenter "VCenter"
132 #define YUIWidget_VSpacing "VSpacing"
133 #define YUIWidget_VSquash "VSquash"
134 #define YUIWidget_VStretch "VStretch"
135 #define YUIWidget_VWeight "VWeight"
136 
137 
138 // Special (optional) widgets
139 
140 #define YUISpecialWidget_BarGraph "BarGraph"
141 #define YUISpecialWidget_Date "Date"
142 #define YUISpecialWidget_DateField "DateField"
143 #define YUISpecialWidget_DownloadProgress "DownloadProgress"
144 #define YUISpecialWidget_DumbTab "DumbTab"
145 #define YUISpecialWidget_DummySpecialWidget "DummySpecialWidget"
146 #define YUISpecialWidget_HMultiProgressMeter "HMultiProgressMeter"
147 #define YUISpecialWidget_VMultiProgressMeter "VMultiProgressMeter"
148 #define YUISpecialWidget_PartitionSplitter "PartitionSplitter"
149 #define YUISpecialWidget_PatternSelector "PatternSelector"
150 #define YUISpecialWidget_SimplePatchSelector "SimplePatchSelector"
151 #define YUISpecialWidget_Slider "Slider"
152 #define YUISpecialWidget_Time "Time"
153 #define YUISpecialWidget_TimeField "TimeField"
154 #define YUISpecialWidget_Wizard "Wizard"
155 #define YUISpecialWidget_TimezoneSelector "TimezoneSelector"
156 #define YUISpecialWidget_Graph "Graph"
157 #define YUISpecialWidget_ContextMenu "ContextMenu"
158 
159 
160 // Widget properties
161 
162 #define YUIProperty_Alive "Alive"
163 #define YUIProperty_Cell "Cell"
164 #define YUIProperty_ContextMenu "ContextMenu"
165 #define YUIProperty_CurrentBranch "CurrentBranch"
166 #define YUIProperty_CurrentButton "CurrentButton"
167 #define YUIProperty_CurrentItem "CurrentItem"
168 #define YUIProperty_CurrentSize "CurrentSize"
169 #define YUIProperty_DebugLabel "DebugLabel"
170 #define YUIProperty_EasterEgg "EasterEgg"
171 #define YUIProperty_Enabled "Enabled"
172 #define YUIProperty_ExpectedSize "ExpectedSize"
173 #define YUIProperty_Filename "Filename"
174 #define YUIProperty_Layout "Layout"
175 #define YUIProperty_HelpText "HelpText"
176 #define YUIProperty_IconPath "IconPath"
177 #define YUIProperty_InputMaxLength "InputMaxLength"
178 #define YUIProperty_HWeight "HWeight"
179 #define YUIProperty_HStretch "HStretch"
180 #define YUIProperty_Item "Item"
181 #define YUIProperty_Items "Items"
182 #define YUIProperty_Label "Label"
183 #define YUIProperty_Labels "Labels"
184 #define YUIProperty_LastLine "LastLine"
185 #define YUIProperty_MaxLines "MaxLines"
186 #define YUIProperty_MaxValue "MaxValue"
187 #define YUIProperty_MinValue "MinValue"
188 #define YUIProperty_MultiSelection "MultiSelection"
189 #define YUIProperty_Notify "Notify"
190 #define YUIProperty_OpenItems "OpenItems"
191 #define YUIProperty_SelectedItems "SelectedItems"
192 #define YUIProperty_Text "Text"
193 #define YUIProperty_Timeout "Timeout"
194 #define YUIProperty_ValidChars "ValidChars"
195 #define YUIProperty_Value "Value"
196 #define YUIProperty_Values "Values"
197 #define YUIProperty_VisibleLines "VisibleLines"
198 #define YUIProperty_VWeight "VWeight"
199 #define YUIProperty_VStretch "VStretch"
200 #define YUIProperty_WidgetClass "WidgetClass"
201 
202 
203 // Widget and dialog options
204 
205 #define YUIOpt_animated "animated"
206 #define YUIOpt_applyButton "applyButton"
207 #define YUIOpt_autoScrollDown "autoScrollDown"
208 #define YUIOpt_autoShortcut "autoShortcut"
209 #define YUIOpt_boldFont "boldFont"
210 #define YUIOpt_cancelButton "cancelButton"
211 #define YUIOpt_centered "centered"
212 #define YUIOpt_confirmUnsupported "confirmUnsupported"
213 #define YUIOpt_customButton "customButton"
214 #define YUIOpt_debugLayout "debugLayout"
215 #define YUIOpt_decorated "decorated"
216 #define YUIOpt_default "default"
217 #define YUIOpt_defaultsize "defaultsize"
218 #define YUIOpt_disabled "disabled"
219 #define YUIOpt_easterEgg "easterEgg"
220 #define YUIOpt_editable "editable"
221 #define YUIOpt_helpButton "helpButton"
222 #define YUIOpt_relNotesButton "relNotesButton"
223 #define YUIOpt_hstretch "hstretch"
224 #define YUIOpt_hvstretch "hvstretch"
225 #define YUIOpt_immediate "immediate"
226 #define YUIOpt_infocolor "infocolor"
227 #define YUIOpt_invertAutoEnable "invertAutoEnable"
228 #define YUIOpt_keepSorting "keepSorting"
229 #define YUIOpt_keyEvents "keyEvents"
230 #define YUIOpt_mainDialog "mainDialog"
231 #define YUIOpt_multiSelection "multiSelection"
232 #define YUIOpt_noAutoEnable "noAutoEnable"
233 #define YUIOpt_notify "notify"
234 #define YUIOpt_notifyContextMenu "notifyContextMenu"
235 #define YUIOpt_okButton "okButton"
236 #define YUIOpt_outputField "outputField"
237 #define YUIOpt_plainText "plainText"
238 #define YUIOpt_recursiveSelection "recursiveSelection"
239 #define YUIOpt_relaxSanityCheck "relaxSanityCheck"
240 #define YUIOpt_repoMgr "repoMgr"
241 #define YUIOpt_repoMode "repoMode"
242 #define YUIOpt_scaleToFit "scaleToFit"
243 #define YUIOpt_searchMode "searchMode"
244 #define YUIOpt_shrinkable "shrinkable"
245 #define YUIOpt_stepsEnabled "stepsEnabled"
246 #define YUIOpt_summaryMode "summaryMode"
247 #define YUIOpt_testMode "testMode"
248 #define YUIOpt_tiled "tiled"
249 #define YUIOpt_titleOnLeft "titleOnLeft"
250 #define YUIOpt_treeEnabled "treeEnabled"
251 #define YUIOpt_updateMode "updateMode"
252 #define YUIOpt_vstretch "vstretch"
253 #define YUIOpt_warncolor "warncolor"
254 #define YUIOpt_wizardDialog "wizardDialog"
255 #define YUIOpt_youMode "youMode"
256 #define YUIOpt_zeroHeight "zeroHeight"
257 #define YUIOpt_zeroWidth "zeroWidth"
258 
259 #define YUIOpt_key_F1 "key_F1"
260 #define YUIOpt_key_F2 "key_F2"
261 #define YUIOpt_key_F3 "key_F3"
262 #define YUIOpt_key_F4 "key_F4"
263 #define YUIOpt_key_F5 "key_F5"
264 #define YUIOpt_key_F6 "key_F6"
265 #define YUIOpt_key_F7 "key_F7"
266 #define YUIOpt_key_F8 "key_F8"
267 #define YUIOpt_key_F9 "key_F9"
268 #define YUIOpt_key_F10 "key_F10"
269 #define YUIOpt_key_F11 "key_F11"
270 #define YUIOpt_key_F12 "key_F12"
271 #define YUIOpt_key_F13 "key_F13"
272 #define YUIOpt_key_F14 "key_F14"
273 #define YUIOpt_key_F15 "key_F15"
274 #define YUIOpt_key_F16 "key_F16"
275 #define YUIOpt_key_F17 "key_F17"
276 #define YUIOpt_key_F18 "key_F18"
277 #define YUIOpt_key_F19 "key_F19"
278 #define YUIOpt_key_F20 "key_F20"
279 #define YUIOpt_key_F21 "key_F21"
280 #define YUIOpt_key_F22 "key_F22"
281 #define YUIOpt_key_F23 "key_F23"
282 #define YUIOpt_key_F24 "key_F24"
283 #define YUIOpt_key_none "key_none"
284 
285 
286 // Predefined glyphs for builtin Glyph()
287 //
288 // - remember there must be a substitute that can be displayed in plain ASCII,
289 // so don't include just everything here that is included in Unicode / UTF-8!
290 
291 #define YUIGlyph_ArrowLeft "ArrowLeft"
292 #define YUIGlyph_ArrowRight "ArrowRight"
293 #define YUIGlyph_ArrowUp "ArrowUp"
294 #define YUIGlyph_ArrowDown "ArrowDown"
295 
296 #define YUIGlyph_CheckMark "CheckMark"
297 #define YUIGlyph_BulletArrowRight "BulletArrowRight"
298 #define YUIGlyph_BulletCircle "BulletCircle"
299 #define YUIGlyph_BulletSquare "BulletSquare"
300 
301 
302 
303 // Display capabilities for GetDisplayInfo()
304 
305 #define YUICap_Width "Width"
306 #define YUICap_Height "Height"
307 #define YUICap_Depth "Depth"
308 #define YUICap_Colors "Colors"
309 #define YUICap_DefaultWidth "DefaultWidth"
310 #define YUICap_DefaultHeight "DefaultHeight"
311 #define YUICap_TextMode "TextMode"
312 #define YUICap_HasImageSupport "HasImageSupport"
313 #define YUICap_HasAnimationSupport "HasAnimationSupport"
314 #define YUICap_HasIconSupport "HasIconSupport"
315 #define YUICap_HasFullUtf8Support "HasFullUtf8Support"
316 #define YUICap_HasWizardDialogSupport "HasWizardDialogSupport"
317 #define YUICap_RichTextSupportsTable "RichTextSupportsTable"
318 #define YUICap_LeftHandedMouse "LeftHandedMouse"
319 #define YUICap_y2debug "y2debug"
320 
321 
322 
323 // Misc
324 
325 #define YUISymbol_id "id"
326 #define YUISymbol_opt "opt"
327 #define YUISymbol_icon "icon"
328 #define YUISymbol_item "item"
329 #define YUISymbol_cell "cell"
330 #define YUISymbol_menu "menu"
331 #define YUISymbol_header "header"
332 #define YUISymbol_rgb "rgb"
333 #define YUISymbol_leftMargin "leftMargin"
334 #define YUISymbol_rightMargin "rightMargin"
335 #define YUISymbol_topMargin "topMargin"
336 #define YUISymbol_bottomMargin "bottomMargin"
337 #define YUISymbol_BackgroundPixmap "BackgroundPixmap"
338 
339 #define YUISymbol_Left "Left"
340 #define YUISymbol_Right "Right"
341 #define YUISymbol_Center "Center"
342 
343 
344 #endif // YUISymbols_h