2000-12-12 18:08:00 -04:00
|
|
|
# Generated from 'Macintosh HD:SWDev:Metrowerks Codewarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Dialogs.h'
|
1995-03-10 10:42:57 -04:00
|
|
|
|
1999-12-12 17:41:51 -04:00
|
|
|
def FOUR_CHAR_CODE(x): return x
|
1998-02-20 11:54:44 -04:00
|
|
|
kControlDialogItem = 4
|
|
|
|
kButtonDialogItem = kControlDialogItem | 0
|
|
|
|
kCheckBoxDialogItem = kControlDialogItem | 1
|
|
|
|
kRadioButtonDialogItem = kControlDialogItem | 2
|
|
|
|
kResourceControlDialogItem = kControlDialogItem | 3
|
|
|
|
kStaticTextDialogItem = 8
|
|
|
|
kEditTextDialogItem = 16
|
|
|
|
kIconDialogItem = 32
|
|
|
|
kPictureDialogItem = 64
|
|
|
|
kUserDialogItem = 0
|
2000-12-12 18:08:00 -04:00
|
|
|
kHelpDialogItem = 1
|
1998-02-20 11:54:44 -04:00
|
|
|
kItemDisableBit = 128
|
1995-01-30 07:53:55 -04:00
|
|
|
ctrlItem = 4
|
|
|
|
btnCtrl = 0
|
|
|
|
chkCtrl = 1
|
|
|
|
radCtrl = 2
|
|
|
|
resCtrl = 3
|
|
|
|
statText = 8
|
|
|
|
editText = 16
|
|
|
|
iconItem = 32
|
|
|
|
picItem = 64
|
|
|
|
userItem = 0
|
|
|
|
itemDisable = 128
|
1998-02-20 11:54:44 -04:00
|
|
|
kStdOkItemIndex = 1
|
|
|
|
kStdCancelItemIndex = 2
|
|
|
|
ok = kStdOkItemIndex
|
|
|
|
cancel = kStdCancelItemIndex
|
|
|
|
kStopIcon = 0
|
|
|
|
kNoteIcon = 1
|
|
|
|
kCautionIcon = 2
|
|
|
|
stopIcon = kStopIcon
|
|
|
|
noteIcon = kNoteIcon
|
|
|
|
cautionIcon = kCautionIcon
|
|
|
|
kOkItemIndex = 1
|
|
|
|
kCancelItemIndex = 2
|
1995-01-30 07:53:55 -04:00
|
|
|
overlayDITL = 0
|
|
|
|
appendDITLRight = 1
|
|
|
|
appendDITLBottom = 2
|
1998-02-20 11:54:44 -04:00
|
|
|
kAlertStopAlert = 0
|
|
|
|
kAlertNoteAlert = 1
|
|
|
|
kAlertCautionAlert = 2
|
|
|
|
kAlertPlainAlert = 3
|
|
|
|
kAlertDefaultOKText = -1
|
|
|
|
kAlertDefaultCancelText = -1
|
2000-12-12 18:08:00 -04:00
|
|
|
kAlertDefaultOtherText = -1
|
1998-02-20 11:54:44 -04:00
|
|
|
kAlertStdAlertOKButton = 1
|
|
|
|
kAlertStdAlertCancelButton = 2
|
|
|
|
kAlertStdAlertOtherButton = 3
|
|
|
|
kAlertStdAlertHelpButton = 4
|
1999-12-14 11:44:53 -04:00
|
|
|
kDialogFlagsUseThemeBackground = (1 << 0)
|
|
|
|
kDialogFlagsUseControlHierarchy = (1 << 1)
|
|
|
|
kDialogFlagsHandleMovableModal = (1 << 2)
|
|
|
|
kDialogFlagsUseThemeControls = (1 << 3)
|
|
|
|
kAlertFlagsUseThemeBackground = (1 << 0)
|
|
|
|
kAlertFlagsUseControlHierarchy = (1 << 1)
|
|
|
|
kAlertFlagsAlertIsMovable = (1 << 2)
|
|
|
|
kAlertFlagsUseThemeControls = (1 << 3)
|
1998-02-20 11:54:44 -04:00
|
|
|
kDialogFontNoFontStyle = 0
|
|
|
|
kDialogFontUseFontMask = 0x0001
|
|
|
|
kDialogFontUseFaceMask = 0x0002
|
|
|
|
kDialogFontUseSizeMask = 0x0004
|
|
|
|
kDialogFontUseForeColorMask = 0x0008
|
|
|
|
kDialogFontUseBackColorMask = 0x0010
|
|
|
|
kDialogFontUseModeMask = 0x0020
|
|
|
|
kDialogFontUseJustMask = 0x0040
|
|
|
|
kDialogFontUseAllMask = 0x00FF
|
|
|
|
kDialogFontAddFontSizeMask = 0x0100
|
|
|
|
kDialogFontUseFontNameMask = 0x0200
|
1999-12-12 17:41:51 -04:00
|
|
|
kDialogFontAddToMetaFontMask = 0x0400
|