libyui

/data/gitorious.org/libyui/libyui-master/src/YUISymbols.h

00001 /**************************************************************************
00002 Copyright (C) 2000 - 2010 Novell, Inc.
00003 All Rights Reserved.
00004 
00005 This program is free software; you can redistribute it and/or modify
00006 it under the terms of the GNU General Public License as published by
00007 the Free Software Foundation; either version 2 of the License, or
00008 (at your option) any later version.
00009 
00010 This program is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 GNU General Public License for more details.
00014 
00015 You should have received a copy of the GNU General Public License along
00016 with this program; if not, write to the Free Software Foundation, Inc.,
00017 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00018 
00019 **************************************************************************/
00020 
00021 
00022 /*---------------------------------------------------------------------\
00023 |                                                                      |
00024 |                      __   __    ____ _____ ____                      |
00025 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00026 |                       \ V / _` \___ \ | |   __) |                    |
00027 |                        | | (_| |___) || |  / __/                     |
00028 |                        |_|\__,_|____/ |_| |_____|                    |
00029 |                                                                      |
00030 |                               core system                            |
00031 |                                                        (C) SuSE GmbH |
00032 \----------------------------------------------------------------------/
00033 
00034   File:         YUISymbols.h
00035 
00036   Author:       Stefan Hundhammer <sh@suse.de>
00037 
00038 /-*/
00039 
00040 #ifndef YUISymbols_h
00041 #define YUISymbols_h
00042 
00043 
00044 // UI builtin functions
00045 
00046 #define YUIBuiltin_AskForExistingDirectory      "AskForExistingDirectory"
00047 #define YUIBuiltin_AskForExistingFile           "AskForExistingFile"
00048 #define YUIBuiltin_AskForSaveFileName           "AskForSaveFileName"
00049 #define YUIBuiltin_Beep                         "Beep"
00050 #define YUIBuiltin_BusyCursor                   "BusyCursor"
00051 #define YUIBuiltin_OpenContextMenu              "OpenContextMenu"
00052 #define YUIBuiltin_ChangeWidget                 "ChangeWidget"
00053 #define YUIBuiltin_CloseDialog                  "CloseDialog"
00054 #define YUIBuiltin_DumpWidgetTree               "DumpWidgetTree"
00055 #define YUIBuiltin_GetDisplayInfo               "GetDisplayInfo"
00056 #define YUIBuiltin_GetLanguage                  "GetLanguage"
00057 #define YUIBuiltin_GetProductName               "GetProductName"
00058 #define YUIBuiltin_Glyph                        "Glyph"
00059 #define YUIBuiltin_HasSpecialWidget             "HasSpecialWidget"
00060 #define YUIBuiltin_MakeScreenShot               "MakeScreenShot"
00061 #define YUIBuiltin_NormalCursor                 "NormalCursor"
00062 #define YUIBuiltin_OpenDialog                   "OpenDialog"
00063 #define YUIBuiltin_PollInput                    "PollInput"
00064 #define YUIBuiltin_QueryWidget                  "QueryWidget"
00065 #define YUIBuiltin_RecalcLayout                 "RecalcLayout"
00066 #define YUIBuiltin_Recode                       "Recode"
00067 #define YUIBuiltin_RedrawScreen                 "RedrawScreen"
00068 #define YUIBuiltin_ReplaceWidget                "ReplaceWidget"
00069 #define YUIBuiltin_RunPkgSelection              "RunPkgSelection"
00070 #define YUIBuiltin_SetConsoleFont               "SetConsoleFont"
00071 #define YUIBuiltin_SetFocus                     "SetFocus"
00072 #define YUIBuiltin_SetFunctionKeys              "SetFunctionKeys"
00073 #define YUIBuiltin_SetKeyboard                  "SetKeyboard"
00074 #define YUIBuiltin_RunInTerminal                "RunInTerminal"
00075 #define YUIBuiltin_SetLanguage                  "SetLanguage"
00076 #define YUIBuiltin_SetProductName               "SetProductName"
00077 #define YUIBuiltin_TimeoutUserInput             "TimeoutUserInput"
00078 #define YUIBuiltin_UserInput                    "UserInput"
00079 #define YUIBuiltin_WaitForEvent                 "WaitForEvent"
00080 #define YUIBuiltin_WidgetExists                 "WidgetExists"
00081 #define YUIBuiltin_WizardCommand                "WizardCommand"
00082 
00083 #define YUIBuiltin_PostponeShortcutCheck        "PostponeShortcutCheck"
00084 #define YUIBuiltin_CheckShortcuts               "CheckShortcuts"
00085 
00086 #define YUIBuiltin_RecordMacro                  "RecordMacro"
00087 #define YUIBuiltin_StopRecordMacro              "StopRecordMacro"
00088 #define YUIBuiltin_PlayMacro                    "PlayMacro"
00089 #define YUIBuiltin_FakeUserInput                "FakeUserInput"
00090 #define YUIBuiltin_WFM                          "WFM"
00091 #define YUIBuiltin_SCR                          "SCR"
00092 
00093 
00094 
00095 // Mandatory widgets
00096 
00097 #define YUIWidget_Bottom                        "Bottom"
00098 #define YUIWidget_BusyIndicator                 "BusyIndicator"
00099 #define YUIWidget_ButtonBox                     "ButtonBox"
00100 #define YUIWidget_CheckBox                      "CheckBox"
00101 #define YUIWidget_CheckBoxFrame                 "CheckBoxFrame"
00102 #define YUIWidget_ComboBox                      "ComboBox"
00103 #define YUIWidget_Empty                         "Empty"
00104 #define YUIWidget_Frame                         "Frame"
00105 #define YUIWidget_HBox                          "HBox"
00106 #define YUIWidget_HCenter                       "HCenter"
00107 #define YUIWidget_HSpacing                      "HSpacing"
00108 #define YUIWidget_HSquash                       "HSquash"
00109 #define YUIWidget_HStretch                      "HStretch"
00110 #define YUIWidget_HVCenter                      "HVCenter"
00111 #define YUIWidget_HVSquash                      "HVSquash"
00112 #define YUIWidget_HWeight                       "HWeight"
00113 #define YUIWidget_Heading                       "Heading"
00114 #define YUIWidget_IconButton                    "IconButton"
00115 #define YUIWidget_Image                         "Image"
00116 #define YUIWidget_InputField                    "InputField"
00117 #define YUIWidget_IntField                      "IntField"
00118 #define YUIWidget_Label                         "Label"
00119 #define YUIWidget_Left                          "Left"
00120 #define YUIWidget_LogView                       "LogView"
00121 #define YUIWidget_MarginBox                     "MarginBox"
00122 #define YUIWidget_MenuButton                    "MenuButton"
00123 #define YUIWidget_MinHeight                     "MinHeight"
00124 #define YUIWidget_MinSize                       "MinSize"
00125 #define YUIWidget_MinWidth                      "MinWidth"
00126 #define YUIWidget_MultiLineEdit                 "MultiLineEdit"
00127 #define YUIWidget_MultiSelectionBox             "MultiSelectionBox"
00128 #define YUIWidget_PackageSelector               "PackageSelector"
00129 #define YUIWidget_Password                      "Password"
00130 #define YUIWidget_PkgSpecial                    "PkgSpecial"
00131 #define YUIWidget_ProgressBar                   "ProgressBar"
00132 #define YUIWidget_PushButton                    "PushButton"
00133 #define YUIWidget_RadioButton                   "RadioButton"
00134 #define YUIWidget_RadioButtonGroup              "RadioButtonGroup"
00135 #define YUIWidget_ReplacePoint                  "ReplacePoint"
00136 #define YUIWidget_RichText                      "RichText"
00137 #define YUIWidget_Right                         "Right"
00138 #define YUIWidget_SelectionBox                  "SelectionBox"
00139 #define YUIWidget_Table                         "Table"
00140 #define YUIWidget_TextEntry                     "TextEntry"     // for backwards compatibility
00141 #define YUIWidget_Top                           "Top"
00142 #define YUIWidget_Tree                          "Tree"
00143 #define YUIWidget_VBox                          "VBox"
00144 #define YUIWidget_VCenter                       "VCenter"
00145 #define YUIWidget_VSpacing                      "VSpacing"
00146 #define YUIWidget_VSquash                       "VSquash"
00147 #define YUIWidget_VStretch                      "VStretch"
00148 #define YUIWidget_VWeight                       "VWeight"
00149 
00150 
00151 // Special (optional) widgets
00152 
00153 #define YUISpecialWidget_BarGraph               "BarGraph"
00154 #define YUISpecialWidget_Date                   "Date"
00155 #define YUISpecialWidget_DateField              "DateField"
00156 #define YUISpecialWidget_DownloadProgress       "DownloadProgress"
00157 #define YUISpecialWidget_DumbTab                "DumbTab"
00158 #define YUISpecialWidget_DummySpecialWidget     "DummySpecialWidget"
00159 #define YUISpecialWidget_HMultiProgressMeter    "HMultiProgressMeter"
00160 #define YUISpecialWidget_VMultiProgressMeter    "VMultiProgressMeter"
00161 #define YUISpecialWidget_PartitionSplitter      "PartitionSplitter"
00162 #define YUISpecialWidget_PatternSelector        "PatternSelector"
00163 #define YUISpecialWidget_SimplePatchSelector    "SimplePatchSelector"
00164 #define YUISpecialWidget_Slider                 "Slider"
00165 #define YUISpecialWidget_Time                   "Time"
00166 #define YUISpecialWidget_TimeField              "TimeField"
00167 #define YUISpecialWidget_Wizard                 "Wizard"
00168 #define YUISpecialWidget_TimezoneSelector       "TimezoneSelector"
00169 #define YUISpecialWidget_Graph                  "Graph"
00170 #define YUISpecialWidget_ContextMenu            "ContextMenu"
00171 
00172 
00173 // Widget properties
00174 
00175 #define YUIProperty_Alive                       "Alive"
00176 #define YUIProperty_Cell                        "Cell"
00177 #define YUIProperty_ContextMenu                 "ContextMenu"
00178 #define YUIProperty_CurrentBranch               "CurrentBranch"
00179 #define YUIProperty_CurrentButton               "CurrentButton"
00180 #define YUIProperty_CurrentItem                 "CurrentItem"
00181 #define YUIProperty_CurrentSize                 "CurrentSize"
00182 #define YUIProperty_DebugLabel                  "DebugLabel"
00183 #define YUIProperty_EasterEgg                   "EasterEgg"
00184 #define YUIProperty_Enabled                     "Enabled"
00185 #define YUIProperty_ExpectedSize                "ExpectedSize"
00186 #define YUIProperty_Filename                    "Filename"
00187 #define YUIProperty_Layout                      "Layout"
00188 #define YUIProperty_HelpText                    "HelpText"
00189 #define YUIProperty_IconPath                    "IconPath"
00190 #define YUIProperty_InputMaxLength              "InputMaxLength"
00191 #define YUIProperty_HWeight                     "HWeight"
00192 #define YUIProperty_HStretch                    "HStretch"
00193 #define YUIProperty_Item                        "Item"
00194 #define YUIProperty_Items                       "Items"
00195 #define YUIProperty_Label                       "Label"
00196 #define YUIProperty_Labels                      "Labels"
00197 #define YUIProperty_LastLine                    "LastLine"
00198 #define YUIProperty_MaxLines                    "MaxLines"
00199 #define YUIProperty_MaxValue                    "MaxValue"
00200 #define YUIProperty_MinValue                    "MinValue"
00201 #define YUIProperty_MultiSelection              "MultiSelection"
00202 #define YUIProperty_Notify                      "Notify"
00203 #define YUIProperty_OpenItems                   "OpenItems"
00204 #define YUIProperty_SelectedItems               "SelectedItems"
00205 #define YUIProperty_Text                        "Text"
00206 #define YUIProperty_Timeout                     "Timeout"
00207 #define YUIProperty_ValidChars                  "ValidChars"
00208 #define YUIProperty_Value                       "Value"
00209 #define YUIProperty_Values                      "Values"
00210 #define YUIProperty_VisibleLines                "VisibleLines"
00211 #define YUIProperty_VWeight                     "VWeight"
00212 #define YUIProperty_VStretch                    "VStretch"
00213 #define YUIProperty_WidgetClass                 "WidgetClass"
00214 
00215 
00216 // Widget and dialog options
00217 
00218 #define YUIOpt_animated                         "animated"
00219 #define YUIOpt_applyButton                      "applyButton"
00220 #define YUIOpt_autoScrollDown                   "autoScrollDown"
00221 #define YUIOpt_autoShortcut                     "autoShortcut"
00222 #define YUIOpt_boldFont                         "boldFont"
00223 #define YUIOpt_cancelButton                     "cancelButton"
00224 #define YUIOpt_centered                         "centered"
00225 #define YUIOpt_confirmUnsupported               "confirmUnsupported"
00226 #define YUIOpt_customButton                     "customButton"
00227 #define YUIOpt_debugLayout                      "debugLayout"
00228 #define YUIOpt_decorated                        "decorated"
00229 #define YUIOpt_default                          "default"
00230 #define YUIOpt_defaultsize                      "defaultsize"
00231 #define YUIOpt_disabled                         "disabled"
00232 #define YUIOpt_easterEgg                        "easterEgg"
00233 #define YUIOpt_editable                         "editable"
00234 #define YUIOpt_helpButton                       "helpButton"
00235 #define YUIOpt_hstretch                         "hstretch"
00236 #define YUIOpt_hvstretch                        "hvstretch"
00237 #define YUIOpt_immediate                        "immediate"
00238 #define YUIOpt_infocolor                        "infocolor"
00239 #define YUIOpt_invertAutoEnable                 "invertAutoEnable"
00240 #define YUIOpt_keepSorting                      "keepSorting"
00241 #define YUIOpt_keyEvents                        "keyEvents"
00242 #define YUIOpt_mainDialog                       "mainDialog"
00243 #define YUIOpt_multiSelection                   "multiSelection"
00244 #define YUIOpt_noAutoEnable                     "noAutoEnable"
00245 #define YUIOpt_notify                           "notify"
00246 #define YUIOpt_notifyContextMenu                "notifyContextMenu"
00247 #define YUIOpt_okButton                         "okButton"
00248 #define YUIOpt_outputField                      "outputField"
00249 #define YUIOpt_plainText                        "plainText"
00250 #define YUIOpt_relaxSanityCheck                 "relaxSanityCheck"
00251 #define YUIOpt_repoMgr                          "repoMgr"
00252 #define YUIOpt_repoMode                         "repoMode"
00253 #define YUIOpt_scaleToFit                       "scaleToFit"
00254 #define YUIOpt_searchMode                       "searchMode"
00255 #define YUIOpt_shrinkable                       "shrinkable"
00256 #define YUIOpt_stepsEnabled                     "stepsEnabled"
00257 #define YUIOpt_summaryMode                      "summaryMode"
00258 #define YUIOpt_testMode                         "testMode"
00259 #define YUIOpt_tiled                            "tiled"
00260 #define YUIOpt_treeEnabled                      "treeEnabled"
00261 #define YUIOpt_updateMode                       "updateMode"
00262 #define YUIOpt_vstretch                         "vstretch"
00263 #define YUIOpt_warncolor                        "warncolor"
00264 #define YUIOpt_wizardDialog                     "wizardDialog"
00265 #define YUIOpt_youMode                          "youMode"
00266 #define YUIOpt_zeroHeight                       "zeroHeight"
00267 #define YUIOpt_zeroWidth                        "zeroWidth"
00268 #define YUIOpt_recursiveSelection               "recursiveSelection"
00269 
00270 #define YUIOpt_key_F1                           "key_F1"
00271 #define YUIOpt_key_F2                           "key_F2"
00272 #define YUIOpt_key_F3                           "key_F3"
00273 #define YUIOpt_key_F4                           "key_F4"
00274 #define YUIOpt_key_F5                           "key_F5"
00275 #define YUIOpt_key_F6                           "key_F6"
00276 #define YUIOpt_key_F7                           "key_F7"
00277 #define YUIOpt_key_F8                           "key_F8"
00278 #define YUIOpt_key_F9                           "key_F9"
00279 #define YUIOpt_key_F10                          "key_F10"
00280 #define YUIOpt_key_F11                          "key_F11"
00281 #define YUIOpt_key_F12                          "key_F12"
00282 #define YUIOpt_key_F13                          "key_F13"
00283 #define YUIOpt_key_F14                          "key_F14"
00284 #define YUIOpt_key_F15                          "key_F15"
00285 #define YUIOpt_key_F16                          "key_F16"
00286 #define YUIOpt_key_F17                          "key_F17"
00287 #define YUIOpt_key_F18                          "key_F18"
00288 #define YUIOpt_key_F19                          "key_F19"
00289 #define YUIOpt_key_F20                          "key_F20"
00290 #define YUIOpt_key_F21                          "key_F21"
00291 #define YUIOpt_key_F22                          "key_F22"
00292 #define YUIOpt_key_F23                          "key_F23"
00293 #define YUIOpt_key_F24                          "key_F24"
00294 #define YUIOpt_key_none                         "key_none"
00295 
00296 
00297 // Predefined glyphs for builtin Glyph()
00298 //
00299 // - remember there must be a substitute that can be displayed in plain ASCII,
00300 // so don't include just everything here that is included in Unicode / UTF-8!
00301 
00302 #define YUIGlyph_ArrowLeft                      "ArrowLeft"
00303 #define YUIGlyph_ArrowRight                     "ArrowRight"
00304 #define YUIGlyph_ArrowUp                        "ArrowUp"
00305 #define YUIGlyph_ArrowDown                      "ArrowDown"
00306 
00307 #define YUIGlyph_CheckMark                      "CheckMark"
00308 #define YUIGlyph_BulletArrowRight               "BulletArrowRight"
00309 #define YUIGlyph_BulletCircle                   "BulletCircle"
00310 #define YUIGlyph_BulletSquare                   "BulletSquare"
00311 
00312 
00313 
00314 // Display capabilities for GetDisplayInfo()
00315 
00316 #define YUICap_Width                            "Width"
00317 #define YUICap_Height                           "Height"
00318 #define YUICap_Depth                            "Depth"
00319 #define YUICap_Colors                           "Colors"
00320 #define YUICap_DefaultWidth                     "DefaultWidth"
00321 #define YUICap_DefaultHeight                    "DefaultHeight"
00322 #define YUICap_TextMode                         "TextMode"
00323 #define YUICap_HasImageSupport                  "HasImageSupport"
00324 #define YUICap_HasAnimationSupport              "HasAnimationSupport"
00325 #define YUICap_HasIconSupport                   "HasIconSupport"
00326 #define YUICap_HasFullUtf8Support               "HasFullUtf8Support"
00327 #define YUICap_HasWizardDialogSupport           "HasWizardDialogSupport"
00328 #define YUICap_RichTextSupportsTable            "RichTextSupportsTable"
00329 #define YUICap_LeftHandedMouse                  "LeftHandedMouse"
00330 #define YUICap_y2debug                          "y2debug"
00331 
00332 
00333 
00334 // Misc
00335 
00336 #define YUISymbol_id                            "id"
00337 #define YUISymbol_opt                           "opt"
00338 #define YUISymbol_icon                          "icon"
00339 #define YUISymbol_item                          "item"
00340 #define YUISymbol_cell                          "cell"
00341 #define YUISymbol_menu                          "menu"
00342 #define YUISymbol_header                        "header"
00343 #define YUISymbol_rgb                           "rgb"
00344 #define YUISymbol_leftMargin                    "leftMargin"
00345 #define YUISymbol_rightMargin                   "rightMargin"
00346 #define YUISymbol_topMargin                     "topMargin"
00347 #define YUISymbol_bottomMargin                  "bottomMargin"
00348 #define YUISymbol_BackgroundPixmap              "BackgroundPixmap"
00349 
00350 #define YUISymbol_Left                          "Left"
00351 #define YUISymbol_Right                         "Right"
00352 #define YUISymbol_Center                        "Center"
00353 
00354 
00355 #endif // YUISymbols_h
 All Classes Functions Variables Enumerations Friends