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