Home | History | Annotate | Download | only in Carbon
      1 # Generated from 'Dialogs.h'
      2 
      3 def FOUR_CHAR_CODE(x): return x
      4 kControlDialogItem = 4
      5 kButtonDialogItem = kControlDialogItem | 0
      6 kCheckBoxDialogItem = kControlDialogItem | 1
      7 kRadioButtonDialogItem = kControlDialogItem | 2
      8 kResourceControlDialogItem = kControlDialogItem | 3
      9 kStaticTextDialogItem = 8
     10 kEditTextDialogItem = 16
     11 kIconDialogItem = 32
     12 kPictureDialogItem = 64
     13 kUserDialogItem = 0
     14 kHelpDialogItem = 1
     15 kItemDisableBit = 128
     16 ctrlItem = 4
     17 btnCtrl = 0
     18 chkCtrl = 1
     19 radCtrl = 2
     20 resCtrl = 3
     21 statText = 8
     22 editText = 16
     23 iconItem = 32
     24 picItem = 64
     25 userItem = 0
     26 itemDisable = 128
     27 kStdOkItemIndex = 1
     28 kStdCancelItemIndex = 2
     29 ok = kStdOkItemIndex
     30 cancel = kStdCancelItemIndex
     31 kStopIcon = 0
     32 kNoteIcon = 1
     33 kCautionIcon = 2
     34 stopIcon = kStopIcon
     35 noteIcon = kNoteIcon
     36 cautionIcon = kCautionIcon
     37 kOkItemIndex = 1
     38 kCancelItemIndex = 2
     39 overlayDITL = 0
     40 appendDITLRight = 1
     41 appendDITLBottom = 2
     42 kAlertStopAlert = 0
     43 kAlertNoteAlert = 1
     44 kAlertCautionAlert = 2
     45 kAlertPlainAlert = 3
     46 kAlertDefaultOKText = -1
     47 kAlertDefaultCancelText = -1
     48 kAlertDefaultOtherText = -1
     49 kAlertStdAlertOKButton = 1
     50 kAlertStdAlertCancelButton = 2
     51 kAlertStdAlertOtherButton = 3
     52 kAlertStdAlertHelpButton = 4
     53 kDialogFlagsUseThemeBackground = (1 << 0)
     54 kDialogFlagsUseControlHierarchy = (1 << 1)
     55 kDialogFlagsHandleMovableModal = (1 << 2)
     56 kDialogFlagsUseThemeControls = (1 << 3)
     57 kAlertFlagsUseThemeBackground = (1 << 0)
     58 kAlertFlagsUseControlHierarchy = (1 << 1)
     59 kAlertFlagsAlertIsMovable = (1 << 2)
     60 kAlertFlagsUseThemeControls = (1 << 3)
     61 kDialogFontNoFontStyle = 0
     62 kDialogFontUseFontMask = 0x0001
     63 kDialogFontUseFaceMask = 0x0002
     64 kDialogFontUseSizeMask = 0x0004
     65 kDialogFontUseForeColorMask = 0x0008
     66 kDialogFontUseBackColorMask = 0x0010
     67 kDialogFontUseModeMask = 0x0020
     68 kDialogFontUseJustMask = 0x0040
     69 kDialogFontUseAllMask = 0x00FF
     70 kDialogFontAddFontSizeMask = 0x0100
     71 kDialogFontUseFontNameMask = 0x0200
     72 kDialogFontAddToMetaFontMask = 0x0400
     73 kDialogFontUseThemeFontIDMask = 0x0080
     74 kHICommandOther = FOUR_CHAR_CODE('othr')
     75 kStdCFStringAlertVersionOne = 1
     76 kStdAlertDoNotDisposeSheet = 1 << 0
     77 kStdAlertDoNotAnimateOnDefault = 1 << 1
     78 kStdAlertDoNotAnimateOnCancel = 1 << 2
     79 kStdAlertDoNotAnimateOnOther = 1 << 3
     80