Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e12663

Browse files
committed
Regenerated from new (3.1) universal headers
1 parent 36659fe commit 4e12663

11 files changed

Lines changed: 496 additions & 64 deletions

File tree

Mac/Lib/lib-toolbox/AERegistry.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def FOUR_CHAR_CODE(x): return x
173173
kAEQuitAll = FOUR_CHAR_CODE('quia')
174174
kAERedo = FOUR_CHAR_CODE('redo')
175175
kAERegular = FOUR_CHAR_CODE('regl')
176+
kAEReopenApplication = FOUR_CHAR_CODE('rapp')
176177
kAEReplace = FOUR_CHAR_CODE('rplc')
177178
kAERequiredSuite = FOUR_CHAR_CODE('reqd')
178179
kAERestart = FOUR_CHAR_CODE('rest')
@@ -441,6 +442,7 @@ def FOUR_CHAR_CODE(x): return x
441442
typePolygon = FOUR_CHAR_CODE('cpgn')
442443
typePropInfo = FOUR_CHAR_CODE('pinf')
443444
typeQDPoint = FOUR_CHAR_CODE('QDpt')
445+
typeQDRegion = FOUR_CHAR_CODE('Qrgn')
444446
typeRectangle = FOUR_CHAR_CODE('crec')
445447
typeRGB16 = FOUR_CHAR_CODE('tr16')
446448
typeRGB96 = FOUR_CHAR_CODE('tr96')

Mac/Lib/lib-toolbox/Components.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
def FOUR_CHAR_CODE(x): return x
44
kAppleManufacturer = FOUR_CHAR_CODE('appl')
55
kComponentResourceType = FOUR_CHAR_CODE('thng')
6+
kComponentAliasResourceType = FOUR_CHAR_CODE('thga')
67
kAnyComponentType = 0
78
kAnyComponentSubType = 0
89
kAnyComponentManufacturer = 0
910
kAnyComponentFlagsMask = 0
1011
cmpWantsRegisterMessage = 1L << 31
12+
cmpIsComponentAlias = 1L << 28
1113
kComponentOpenSelect = -1
1214
kComponentCloseSelect = -2
1315
kComponentCanDoSelect = -3
@@ -23,6 +25,11 @@ def FOUR_CHAR_CODE(x): return x
2325
registerComponentGlobal = 1
2426
registerComponentNoDuplicates = 2
2527
registerComponentAfterExisting = 4
28+
registerComponentAliasesOnly = 8
29+
platform68k = 1
30+
platformPowerPC = 2
31+
platformInterpreted = 3
32+
platformWin32 = 4
2633
uppComponentFunctionImplementedProcInfo = 0x000002F0
2734
uppGetComponentVersionProcInfo = 0x000000F0
2835
uppComponentSetTargetProcInfo = 0x000003F0

Mac/Lib/lib-toolbox/Controls.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ def FOUR_CHAR_CODE(x): return x
1111
kControlDefProcResourceType = FOUR_CHAR_CODE('CDEF')
1212
kControlTabListResType = FOUR_CHAR_CODE('tab#')
1313
kControlListDescResType = FOUR_CHAR_CODE('ldes')
14+
controlNotifyNothing = FOUR_CHAR_CODE('nada')
15+
controlNotifyClick = FOUR_CHAR_CODE('clik')
16+
controlNotifyFocus = FOUR_CHAR_CODE('focu')
17+
controlNotifyKey = FOUR_CHAR_CODE('key ')
18+
kControlCanAutoInvalidate = 1L << 0
19+
staticTextProc = 256
20+
editTextProc = 272
21+
iconProc = 288
22+
userItemProc = 304
23+
pictItemProc = 320
1424
cFrameColor = 0
1525
cBodyColor = 1
1626
cTextColor = 2
@@ -81,10 +91,9 @@ def FOUR_CHAR_CODE(x): return x
8191
kControlMsgGetData = 21
8292
kControlMsgActivate = 22
8393
kControlMsgSetUpBackground = 23
84-
kControlMsgCalcValue = 24
85-
kControlMsgSubControlHit = 25
8694
kControlMsgCalcValueFromPos = 26
8795
kControlMsgTestNewMsgSupport = 27
96+
kControlMsgSubValueChanged = 25
8897
kControlMsgSubControlAdded = 28
8998
kControlMsgSubControlRemoved = 29
9099
kControlBevelButtonSmallBevelProc = 32
@@ -147,9 +156,19 @@ def FOUR_CHAR_CODE(x): return x
147156
kControlChasingArrowsProc = 112
148157
kControlTabLargeProc = 128
149158
kControlTabSmallProc = 129
159+
kControlTabLargeNorthProc = 128
160+
kControlTabSmallNorthProc = 129
161+
kControlTabLargeSouthProc = 130
162+
kControlTabSmallSouthProc = 131
163+
kControlTabLargeEastProc = 132
164+
kControlTabSmallEastProc = 133
165+
kControlTabLargeWestProc = 134
166+
kControlTabSmallWestProc = 135
150167
kControlTabContentRectTag = FOUR_CHAR_CODE('rect')
151168
kControlTabEnabledFlagTag = FOUR_CHAR_CODE('enab')
152169
kControlTabFontStyleTag = kControlFontStyleTag
170+
kControlTabInfoTag = FOUR_CHAR_CODE('tabi')
171+
kControlTabInfoVersionZero = 0
153172
kControlSeparatorLineProc = 144
154173
kControlGroupBoxTextTitleProc = 160
155174
kControlGroupBoxCheckBoxProc = 161
@@ -193,6 +212,7 @@ def FOUR_CHAR_CODE(x): return x
193212
kControlEditTextProc = 272
194213
kControlEditTextDialogProc = 273
195214
kControlEditTextPasswordProc = 274
215+
kControlEditTextDialogPasswordProc = 275
196216
kControlEditTextStyleTag = kControlFontStyleTag
197217
kControlEditTextTextTag = FOUR_CHAR_CODE('text')
198218
kControlEditTextTEHandleTag = FOUR_CHAR_CODE('than')
@@ -219,6 +239,7 @@ def FOUR_CHAR_CODE(x): return x
219239
kControlListBoxKeyFilterTag = kControlKeyFilterTag
220240
kControlListBoxFontStyleTag = kControlFontStyleTag
221241
kControlListBoxDoubleClickTag = FOUR_CHAR_CODE('dblc')
242+
kControlListBoxLDEFTag = FOUR_CHAR_CODE('ldef')
222243
kControlPushButtonProc = 368
223244
kControlCheckBoxProc = 369
224245
kControlRadioButtonProc = 370

Mac/Lib/lib-toolbox/Fonts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
systemFont = 0
44
applFont = 1
5+
kPlatformDefaultGuiFontID = applFont
6+
kPlatformDefaultGuiFontID = -1
57
kFontIDNewYork = 2
68
kFontIDGeneva = 3
79
kFontIDMonaco = 4

Mac/Lib/lib-toolbox/Lists.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
# Generated from 'flap:Metrowerks:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Lists.h'
22

3-
lDoVAutoscroll = 2
4-
lDoHAutoscroll = 1
5-
lOnlyOne = -128
6-
lExtendDrag = 64
7-
lNoDisjoint = 32
8-
lNoExtend = 16
9-
lNoRect = 8
10-
lUseSense = 4
11-
lNoNilHilite = 2
3+
listNotifyNothing = FOUR_CHAR_CODE('nada')
4+
listNotifyClick = FOUR_CHAR_CODE('clik')
5+
listNotifyDoubleClick = FOUR_CHAR_CODE('dblc')
6+
listNotifyPreClick = FOUR_CHAR_CODE('pclk')
127
lDoVAutoscrollBit = 1
138
lDoHAutoscrollBit = 0
9+
lDoVAutoscroll = 2
10+
lDoHAutoscroll = 1
1411
lOnlyOneBit = 7
1512
lExtendDragBit = 6
1613
lNoDisjointBit = 5
1714
lNoExtendBit = 4
1815
lNoRectBit = 3
1916
lUseSenseBit = 2
2017
lNoNilHiliteBit = 1
18+
lOnlyOne = -128
19+
lExtendDrag = 64
20+
lNoDisjoint = 32
21+
lNoExtend = 16
22+
lNoRect = 8
23+
lUseSense = 4
24+
lNoNilHilite = 2
2125
lInitMsg = 0
2226
lDrawMsg = 1
2327
lHiliteMsg = 2

Mac/Lib/lib-toolbox/Menus.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,30 @@
1111
kMenuIconSuiteType = 5
1212
kMenuIconRefType = 6
1313
noMark = 0
14+
kMenuDrawMsg = 0
15+
kMenuChooseMsg = 1
16+
kMenuSizeMsg = 2
17+
kMenuDrawItemMsg = 4
18+
kMenuCalcItemMsg = 5
19+
kMenuThemeSavvyMsg = 7
1420
mDrawMsg = 0
1521
mChooseMsg = 1
1622
mSizeMsg = 2
1723
mDrawItemMsg = 4
1824
mCalcItemMsg = 5
25+
kThemeSavvyMenuResponse = 0x7473
1926
textMenuProc = 0
2027
hMenuCmd = 27
2128
hierMenu = -1
2229
mPopUpMsg = 3
2330
mctAllItems = -98
2431
mctLastIDIndic = -99
32+
gestaltContextualMenuAttr = FOUR_CHAR_CODE('cmnu')
33+
gestaltContextualMenuUnusedBit = 0
34+
gestaltContextualMenuTrapAvailable = 1
35+
kCMHelpItemNoHelp = 0
36+
kCMHelpItemAppleGuide = 1
37+
kCMHelpItemOtherHelp = 2
38+
kCMNothingSelected = 0
39+
kCMMenuItemSelected = 1
40+
kCMShowHelpSelected = 3

Mac/Lib/lib-toolbox/QuickDraw.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,31 @@
102102
kNoConstraint = 0
103103
kVerticalConstraint = 1
104104
kHorizontalConstraint = 2
105+
k1MonochromePixelFormat = 0x00000001
106+
k2IndexedPixelFormat = 0x00000002
107+
k4IndexedPixelFormat = 0x00000004
108+
k8IndexedPixelFormat = 0x00000008
109+
k16BE555PixelFormat = 0x00000010
110+
k24RGBPixelFormat = 0x00000018
111+
k32ARGBPixelFormat = 0x00000020
112+
k1IndexedGrayPixelFormat = 0x00000021
113+
k2IndexedGrayPixelFormat = 0x00000022
114+
k4IndexedGrayPixelFormat = 0x00000024
115+
k8IndexedGrayPixelFormat = 0x00000028
116+
k16LE555PixelFormat = FOUR_CHAR_CODE('L555')
117+
k16BE565PixelFormat = FOUR_CHAR_CODE('B565')
118+
k16LE565PixelFormat = FOUR_CHAR_CODE('L565')
119+
k24BGRPixelFormat = FOUR_CHAR_CODE('24BG')
120+
k32BGRAPixelFormat = FOUR_CHAR_CODE('BGRA')
121+
k32ABGRPixelFormat = FOUR_CHAR_CODE('ABGR')
122+
k32RGBAPixelFormat = FOUR_CHAR_CODE('RGBA')
123+
kYUVSPixelFormat = FOUR_CHAR_CODE('yuvs')
124+
kYUVUPixelFormat = FOUR_CHAR_CODE('yuvu')
125+
kYVU9PixelFormat = FOUR_CHAR_CODE('YVU9')
126+
kYUV411PixelFormat = FOUR_CHAR_CODE('Y411')
127+
kYVYU422PixelFormat = FOUR_CHAR_CODE('YVYU')
128+
kUYVY422PixelFormat = FOUR_CHAR_CODE('UYVY')
129+
kYUV211PixelFormat = FOUR_CHAR_CODE('Y211')
105130
kCursorImageMajorVersion = 0x0001
106131
kCursorImageMinorVersion = 0x0000
107132
# Generated from 'flap:Metrowerks:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h'

0 commit comments

Comments
 (0)