Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6fe608c8
Commit
6fe608c8
authored
Dec 12, 2000
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regenerated from Universal Headers 3.3.2
parent
177fa8c2
Changes
18
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
847 additions
and
405 deletions
+847
-405
Mac/Lib/lib-toolbox/Appearance.py
Mac/Lib/lib-toolbox/Appearance.py
+28
-27
Mac/Lib/lib-toolbox/Balloons.py
Mac/Lib/lib-toolbox/Balloons.py
+12
-12
Mac/Lib/lib-toolbox/Components.py
Mac/Lib/lib-toolbox/Components.py
+9
-2
Mac/Lib/lib-toolbox/Controls.py
Mac/Lib/lib-toolbox/Controls.py
+201
-165
Mac/Lib/lib-toolbox/Dialogs.py
Mac/Lib/lib-toolbox/Dialogs.py
+3
-5
Mac/Lib/lib-toolbox/Dragconst.py
Mac/Lib/lib-toolbox/Dragconst.py
+25
-16
Mac/Lib/lib-toolbox/Events.py
Mac/Lib/lib-toolbox/Events.py
+5
-5
Mac/Lib/lib-toolbox/Fonts.py
Mac/Lib/lib-toolbox/Fonts.py
+28
-14
Mac/Lib/lib-toolbox/Icons.py
Mac/Lib/lib-toolbox/Icons.py
+28
-18
Mac/Lib/lib-toolbox/Lists.py
Mac/Lib/lib-toolbox/Lists.py
+5
-2
Mac/Lib/lib-toolbox/Menus.py
Mac/Lib/lib-toolbox/Menus.py
+24
-14
Mac/Lib/lib-toolbox/QDOffscreen.py
Mac/Lib/lib-toolbox/QDOffscreen.py
+5
-1
Mac/Lib/lib-toolbox/QuickDraw.py
Mac/Lib/lib-toolbox/QuickDraw.py
+44
-10
Mac/Lib/lib-toolbox/QuickTime.py
Mac/Lib/lib-toolbox/QuickTime.py
+312
-36
Mac/Lib/lib-toolbox/Resources.py
Mac/Lib/lib-toolbox/Resources.py
+8
-4
Mac/Lib/lib-toolbox/Sound.py
Mac/Lib/lib-toolbox/Sound.py
+68
-35
Mac/Lib/lib-toolbox/TextEdit.py
Mac/Lib/lib-toolbox/TextEdit.py
+11
-11
Mac/Lib/lib-toolbox/Windows.py
Mac/Lib/lib-toolbox/Windows.py
+31
-28
No files found.
Mac/Lib/lib-toolbox/Appearance.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Appearance.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Appearance.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
_AppearanceDispatch
=
0xAA74
gestaltAppearanceAttr
=
FOUR_CHAR_CODE
(
'appr'
)
gestaltAppearanceExists
=
0
gestaltAppearanceCompatMode
=
1
gestaltAppearanceVersion
=
FOUR_CHAR_CODE
(
'apvr'
)
kAppearanceEventClass
=
FOUR_CHAR_CODE
(
'appr'
)
kAEAppearanceChanged
=
FOUR_CHAR_CODE
(
'thme'
)
kAESystemFontChanged
=
FOUR_CHAR_CODE
(
'sysf'
)
kAESmallSystemFontChanged
=
FOUR_CHAR_CODE
(
'ssfn'
)
kAEViewsFontChanged
=
FOUR_CHAR_CODE
(
'vfnt'
)
kAEViewsFontChanged
=
FOUR_CHAR_CODE
(
'vfnt'
)
kThemeDataFileType
=
FOUR_CHAR_CODE
(
'thme'
)
kThemePlatinumFileType
=
FOUR_CHAR_CODE
(
'pltn'
)
kThemeCustomThemesFileType
=
FOUR_CHAR_CODE
(
'scen'
)
kThemeSoundTrackFileType
=
FOUR_CHAR_CODE
(
'tsnd'
)
themeInvalidBrushErr
=
-
30560
themeProcessRegisteredErr
=
-
30561
themeProcessNotRegisteredErr
=
-
30562
themeBadTextColorErr
=
-
30563
themeHasNoAccentsErr
=
-
30564
themeBadCursorIndexErr
=
-
30565
themeScriptFontNotFoundErr
=
-
30566
themeMonitorDepthNotSupportedErr
=
-
30567
kThemeBrushDialogBackgroundActive
=
1
kThemeBrushDialogBackgroundInactive
=
2
kThemeBrushAlertBackgroundActive
=
3
...
...
@@ -70,6 +57,7 @@ kThemeBrushBevelActiveLight = 44
kThemeBrushBevelActiveDark
=
45
kThemeBrushBevelInactiveLight
=
46
kThemeBrushBevelInactiveDark
=
47
kThemeBrushNotificationWindowBackground
=
48
kThemeBrushBlack
=
-
1
kThemeBrushWhite
=
-
2
kThemeTextColorDialogActive
=
1
...
...
@@ -118,14 +106,17 @@ kThemeTextColorTabNonFrontInactive = 43
kThemeTextColorIconLabelSelected
=
44
kThemeTextColorBevelButtonStickyActive
=
45
kThemeTextColorBevelButtonStickyInactive
=
46
kThemeTextColorNotification
=
47
kThemeTextColorBlack
=
-
1
kThemeTextColorWhite
=
-
2
kThemeStateInactive
=
0
kThemeStateActive
=
1
kThemeStatePressed
=
2
kThemeStateRollover
=
6
kThemeStateUnavailable
=
7
kThemeStateDisabled
=
0
kThemeStatePressedUp
=
2
kThemeStatePressedDown
=
3
kThemeStatePressedDown
=
3
kThemeArrowCursor
=
0
kThemeCopyArrowCursor
=
1
kThemeAliasArrowCursor
=
2
...
...
@@ -149,7 +140,6 @@ kThemeMenuBarSelected = 1
kThemeMenuSquareMenuBar
=
(
1
<<
0
)
kThemeMenuActive
=
0
kThemeMenuSelected
=
1
kThemeMenuInactive
=
3
kThemeMenuDisabled
=
3
kThemeMenuTypePullDown
=
0
kThemeMenuTypePopUp
=
1
...
...
@@ -163,7 +153,7 @@ kThemeMenuItemAtTop = 0x0100
kThemeMenuItemAtBottom
=
0x0200
kThemeMenuItemHierBackground
=
0x0400
kThemeMenuItemPopUpBackground
=
0x0800
kThemeMenuItemHasIcon
=
0x8000
kThemeMenuItemHasIcon
=
0x8000
kThemeBackgroundTabPane
=
1
kThemeBackgroundPlacard
=
2
kThemeBackgroundWindowHeader
=
3
...
...
@@ -191,13 +181,13 @@ kThemeScrollBarArrowStyleTag = FOUR_CHAR_CODE('sbar')
kThemeScrollBarThumbStyleTag
=
FOUR_CHAR_CODE
(
'sbth'
)
kThemeSmoothFontEnabledTag
=
FOUR_CHAR_CODE
(
'smoo'
)
kThemeSmoothFontMinSizeTag
=
FOUR_CHAR_CODE
(
'smos'
)
kThemeDblClickCollapseTag
=
FOUR_CHAR_CODE
(
'coll'
)
kThemeDblClickCollapseTag
=
FOUR_CHAR_CODE
(
'coll'
)
kThemeCheckBoxClassicX
=
0
kThemeCheckBoxCheckMark
=
1
kThemeCheckBoxCheckMark
=
1
kThemeScrollBarArrowsSingle
=
0
kThemeScrollBarArrowsLowerRight
=
1
kThemeScrollBarArrowsLowerRight
=
1
kThemeScrollBarThumbNormal
=
0
kThemeScrollBarThumbProportional
=
1
kThemeScrollBarThumbProportional
=
1
kThemeSystemFont
=
0
kThemeSmallSystemFont
=
1
kThemeSmallEmphasizedSystemFont
=
2
...
...
@@ -215,7 +205,7 @@ kThemeSmallTabHeight = 16
kThemeLargeTabHeight
=
21
kThemeTabPaneOverlap
=
3
kThemeSmallTabHeightMax
=
19
kThemeLargeTabHeightMax
=
24
kThemeLargeTabHeightMax
=
24
kThemeScrollBar
=
0
kThemeSmallScrollBar
=
1
kThemeSlider
=
2
...
...
@@ -224,6 +214,7 @@ kThemeIndeterminateBar = 4
kThemeTrackActive
=
0
kThemeTrackDisabled
=
1
kThemeTrackNothingToScroll
=
2
kThemeTrackInactive
=
3
kThemeLeftOutsideArrowPressed
=
0x01
kThemeLeftInsideArrowPressed
=
0x02
kThemeLeftTrackPressed
=
0x04
...
...
@@ -243,6 +234,7 @@ kThemeThumbDownward = 2
kThemeTrackHorizontal
=
(
1
<<
0
)
kThemeTrackRightToLeft
=
(
1
<<
1
)
kThemeTrackShowThumb
=
(
1
<<
2
)
kThemeTrackThumbRgnIsNotGhost
=
(
1
<<
3
)
kThemeWindowHasGrow
=
(
1
<<
0
)
kThemeWindowHasHorizontalZoom
=
(
1
<<
3
)
kThemeWindowHasVerticalZoom
=
(
1
<<
4
)
...
...
@@ -251,6 +243,8 @@ kThemeWindowHasCloseBox = (1 << 5)
kThemeWindowHasCollapseBox
=
(
1
<<
6
)
kThemeWindowHasTitleText
=
(
1
<<
7
)
kThemeWindowIsCollapsed
=
(
1
<<
8
)
kThemeWindowHasA
=
(
1
<<
9
)
kThemeWindowHasB
=
(
1
<<
10
)
kThemeDocumentWindow
=
0
kThemeDialogWindow
=
1
kThemeMovableDialogWindow
=
2
...
...
@@ -264,6 +258,9 @@ kThemeUtilitySideWindow = 9
kThemeWidgetCloseBox
=
0
kThemeWidgetZoomBox
=
1
kThemeWidgetCollapseBox
=
2
kThemeWidgetABox
=
3
kThemeWidgetBBox
=
4
kThemeWidgetBOffBox
=
5
kThemeArrowLeft
=
0
kThemeArrowDown
=
1
kThemeArrowRight
=
2
...
...
@@ -275,7 +272,7 @@ kThemeArrow9pt = 3
kThemeGrowLeft
=
(
1
<<
0
)
kThemeGrowRight
=
(
1
<<
1
)
kThemeGrowUp
=
(
1
<<
2
)
kThemeGrowDown
=
(
1
<<
3
)
kThemeGrowDown
=
(
1
<<
3
)
kThemePushButton
=
0
kThemeCheckBox
=
1
kThemeRadioButton
=
2
...
...
@@ -286,7 +283,7 @@ kThemeDisclosureButton = 6
kThemeIncDecButton
=
7
kThemeSmallBevelButton
=
8
kThemeMediumBevelButton
=
3
kThemeLargeBevelButton
=
9
kThemeLargeBevelButton
=
9
kThemeButtonOff
=
0
kThemeButtonOn
=
1
kThemeButtonMixed
=
2
...
...
@@ -297,7 +294,7 @@ kThemeAdornmentNone = 0
kThemeAdornmentDefault
=
(
1
<<
0
)
kThemeAdornmentFocus
=
(
1
<<
2
)
kThemeAdornmentRightToLeft
=
(
1
<<
4
)
kThemeAdornmentDrawIndicatorOnly
=
(
1
<<
5
)
kThemeAdornmentDrawIndicatorOnly
=
(
1
<<
5
)
kThemeNoSounds
=
0
kThemeWindowSoundsMask
=
(
1
<<
0
)
kThemeMenuSoundsMask
=
(
1
<<
1
)
...
...
@@ -438,6 +435,10 @@ kThemeSoundFinderDragOffIcon = FOUR_CHAR_CODE('fdof')
kThemePopupTabNormalPosition
=
0
kThemePopupTabCenterOnWindow
=
1
kThemePopupTabCenterOnOffset
=
2
kThemeMetricScrollBarWidth
=
0
kThemeMetricSmallScrollBarWidth
=
1
kThemeMetricCheckBoxGlyphHeight
=
2
kThemeMetricRadioButtonGlyphHeight
=
3
appearanceBadBrushIndexErr
=
themeInvalidBrushErr
appearanceProcessRegisteredErr
=
themeProcessRegisteredErr
appearanceProcessNotRegisteredErr
=
themeProcessNotRegisteredErr
...
...
@@ -505,7 +506,7 @@ kThemeSelectedMenuItemTextColor = kThemeTextColorMenuItemSelected
kThemeDisabledMenuItemTextColor
=
kThemeTextColorMenuItemDisabled
kThemeActivePopupLabelTextColor
=
kThemeTextColorPopupLabelActive
kThemeInactivePopupLabelTextColor
=
kThemeTextColorPopupLabelInactive
kAEThemeSwitch
=
kAEAppearanceChanged
kAEThemeSwitch
=
kAEAppearanceChanged
kThemeNoAdornment
=
kThemeAdornmentNone
kThemeDefaultAdornment
=
kThemeAdornmentDefault
kThemeFocusAdornment
=
kThemeAdornmentFocus
...
...
Mac/Lib/lib-toolbox/Balloons.py
View file @
6fe608c8
# Generated from '
flap:CodeWarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Balloons.h'
# Generated from '
Macintosh HD:SWDev:Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Balloons.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
kTopLeftTipPointsLeftVariant
=
0
...
...
@@ -10,19 +10,19 @@ kBottomRightTipPointsDownVariant = 5
kBottomLeftTipPointsDownVariant
=
6
kBottomLeftTipPointsLeftVariant
=
7
kBalloonVariantCount
=
8
hmBalloonHelpVersion
=
0x0002
hmBalloonHelpVersion
=
0x0002
kHMHelpMenuID
=
-
16490
kHMAboutHelpItem
=
1
kHMShowBalloonsItem
=
3
kHMShowBalloonsItem
=
3
kHMHelpID
=
-
5696
kBalloonWDEFID
=
126
helpItem
=
1
kBalloonWDEFID
=
126
helpItem
=
1
hmDefaultOptions
=
0
hmUseSubID
=
1
hmAbsoluteCoords
=
2
hmAbsoluteCoords
=
2
hmSaveBitsNoWindow
=
4
hmSaveBitsWindow
=
8
hmMatchInTitle
=
16
hmMatchInTitle
=
16
kHMStringItem
=
1
kHMPictItem
=
2
kHMStringResItem
=
3
...
...
@@ -31,7 +31,7 @@ kHMSTRResItem = 7
kHMSkipItem
=
256
kHMCompareItem
=
512
kHMNamedResourceItem
=
1024
kHMTrackCntlItem
=
2048
kHMTrackCntlItem
=
2048
khmmString
=
1
khmmPict
=
2
khmmStringRes
=
3
...
...
@@ -39,18 +39,18 @@ khmmTEHandle = 4
khmmPictHandle
=
5
khmmTERes
=
6
khmmSTRRes
=
7
kHMEnabledItem
=
0
kHMEnabledItem
=
0
kHMTETextResType
=
FOUR_CHAR_CODE
(
'TEXT'
)
kHMTEStyleResType
=
FOUR_CHAR_CODE
(
'styl'
)
kHMTEStyleResType
=
FOUR_CHAR_CODE
(
'styl'
)
kHMDisabledItem
=
1
kHMCheckedItem
=
2
kHMOtherItem
=
3
kHMRegularWindow
=
0
kHMSaveBitsNoWindow
=
1
kHMSaveBitsWindow
=
2
kHMSaveBitsWindow
=
2
kHMMenuResType
=
FOUR_CHAR_CODE
(
'hmnu'
)
kHMDialogResType
=
FOUR_CHAR_CODE
(
'hdlg'
)
kHMWindListResType
=
FOUR_CHAR_CODE
(
'hwin'
)
kHMRectListResType
=
FOUR_CHAR_CODE
(
'hrct'
)
kHMOverrideResType
=
FOUR_CHAR_CODE
(
'hovr'
)
kHMFinderApplResType
=
FOUR_CHAR_CODE
(
'hfdr'
)
kHMFinderApplResType
=
FOUR_CHAR_CODE
(
'hfdr'
)
Mac/Lib/lib-toolbox/Components.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Components.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Components.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
kAppleManufacturer
=
FOUR_CHAR_CODE
(
'appl'
)
kComponentResourceType
=
FOUR_CHAR_CODE
(
'thng'
)
kComponentAliasResourceType
=
FOUR_CHAR_CODE
(
'thga'
)
kComponentAliasResourceType
=
FOUR_CHAR_CODE
(
'thga'
)
kAnyComponentType
=
0
kAnyComponentSubType
=
0
kAnyComponentManufacturer
=
0
kAnyComponentFlagsMask
=
0
cmpIsMissing
=
1L
<<
29
cmpWantsRegisterMessage
=
1L
<<
31
kComponentOpenSelect
=
-
1
kComponentCloseSelect
=
-
2
...
...
@@ -17,6 +18,8 @@ kComponentRegisterSelect = -5
kComponentTargetSelect
=
-
6
kComponentUnregisterSelect
=
-
7
kComponentGetMPWorkFunctionSelect
=
-
8
kComponentExecuteWiredActionSelect
=
-
9
kComponentGetPublicResourceSelect
=
-
10
componentDoAutoVersion
=
(
1
<<
0
)
componentWantsUnregister
=
(
1
<<
1
)
componentAutoVersionIncludeFlags
=
(
1
<<
2
)
...
...
@@ -36,12 +39,15 @@ platform68k = 1
platformPowerPC
=
2
platformInterpreted
=
3
platformWin32
=
4
platformPowerPCNativeEntryPoint
=
5
mpWorkFlagDoWork
=
(
1
<<
0
)
mpWorkFlagDoCompletion
=
(
1
<<
1
)
mpWorkFlagCopyWorkBlock
=
(
1
<<
2
)
mpWorkFlagDontBlock
=
(
1
<<
3
)
mpWorkFlagGetProcessorCount
=
(
1
<<
4
)
mpWorkFlagGetIsRunning
=
(
1
<<
6
)
cmpAliasNoFlags
=
0
cmpAliasOnlyThisFile
=
1
uppComponentFunctionImplementedProcInfo
=
0x000002F0
uppGetComponentVersionProcInfo
=
0x000000F0
uppComponentSetTargetProcInfo
=
0x000003F0
...
...
@@ -53,3 +59,4 @@ uppCallComponentRegisterProcInfo = 0x000000F0
uppCallComponentTargetProcInfo
=
0x000003F0
uppCallComponentUnregisterProcInfo
=
0x000000F0
uppCallComponentGetMPWorkFunctionProcInfo
=
0x00000FF0
uppCallComponentGetPublicResourceProcInfo
=
0x00003BF0
Mac/Lib/lib-toolbox/Controls.py
View file @
6fe608c8
This diff is collapsed.
Click to expand it.
Mac/Lib/lib-toolbox/Dialogs.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Dialogs.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Dialogs.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
gestaltDialogMgrAttr
=
FOUR_CHAR_CODE
(
'dlog'
)
gestaltDialogMgrPresent
=
(
1L
<<
0
)
dialogNoTimeoutErr
=
-
5640
kControlDialogItem
=
4
kButtonDialogItem
=
kControlDialogItem
|
0
kCheckBoxDialogItem
=
kControlDialogItem
|
1
...
...
@@ -14,6 +11,7 @@ kEditTextDialogItem = 16
kIconDialogItem
=
32
kPictureDialogItem
=
64
kUserDialogItem
=
0
kHelpDialogItem
=
1
kItemDisableBit
=
128
ctrlItem
=
4
btnCtrl
=
0
...
...
@@ -47,7 +45,7 @@ kAlertCautionAlert = 2
kAlertPlainAlert
=
3
kAlertDefaultOKText
=
-
1
kAlertDefaultCancelText
=
-
1
kAlertDefaultOtherText
=
-
1
kAlertDefaultOtherText
=
-
1
kAlertStdAlertOKButton
=
1
kAlertStdAlertCancelButton
=
2
kAlertStdAlertOtherButton
=
3
...
...
Mac/Lib/lib-toolbox/Dragconst.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Drag.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Drag.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
from
TextEdit
import
*
...
...
@@ -15,27 +15,36 @@ flavorNotSaved = (1 << 2)
flavorSystemTranslated
=
(
1
<<
8
)
kDragHasLeftSenderWindow
=
(
1L
<<
0
)
kDragInsideSenderApplication
=
(
1L
<<
1
)
kDragInsideSenderWindow
=
(
1L
<<
2
)
kDragRegionAndImage
=
(
1L
<<
4
)
kDragInsideSenderWindow
=
(
1L
<<
2
)
kDragBehaviorNone
=
0
kDragBehaviorZoomBackAnimation
=
(
1L
<<
0
)
kDragRegionAndImage
=
(
1L
<<
4
)
kDragStandardTranslucency
=
0L
kDragDarkTranslucency
=
1L
kDragDarkerTranslucency
=
2L
kDragOpaqueTranslucency
=
3L
kDragOpaqueTranslucency
=
3L
kDragRegionBegin
=
1
kDragRegionDraw
=
2
kDragRegionHide
=
3
kDragRegionIdle
=
4
kDragRegionEnd
=
5
kDragRegionEnd
=
5
kZoomNoAcceleration
=
0
kZoomAccelerate
=
1
kZoomDecelerate
=
2
kZoomDecelerate
=
2
flavorSenderOnly
=
(
1
<<
0
)
flavorSenderTranslated
=
(
1
<<
1
)
flavorNotSaved
=
(
1
<<
2
)
flavorSystemTranslated
=
(
1
<<
8
)
flavorTypeHFS
=
FOUR_CHAR_CODE
(
'hfs '
)
flavorTypePromiseHFS
=
FOUR_CHAR_CODE
(
'phfs'
)
flavorTypeDirectory
=
FOUR_CHAR_CODE
(
'diry'
)
flavorSystemTranslated
=
(
1
<<
8
)
kDragFlavorTypeHFS
=
FOUR_CHAR_CODE
(
'hfs '
)
kDragFlavorTypePromiseHFS
=
FOUR_CHAR_CODE
(
'phfs'
)
flavorTypeHFS
=
kDragFlavorTypeHFS
flavorTypePromiseHFS
=
kDragFlavorTypePromiseHFS
kDragPromisedFlavorFindFile
=
FOUR_CHAR_CODE
(
'rWm1'
)
kDragPromisedFlavor
=
FOUR_CHAR_CODE
(
'fssP'
)
kDragPseudoCreatorVolumeOrDirectory
=
FOUR_CHAR_CODE
(
'MACS'
)
kDragPseudoFileTypeVolume
=
FOUR_CHAR_CODE
(
'disk'
)
kDragPseudoFileTypeDirectory
=
FOUR_CHAR_CODE
(
'fold'
)
flavorTypeDirectory
=
FOUR_CHAR_CODE
(
'diry'
)
kFlavorTypeClippingName
=
FOUR_CHAR_CODE
(
'clnm'
)
kFlavorTypeClippingFilename
=
FOUR_CHAR_CODE
(
'clfn'
)
kFlavorTypeDragToTrashOnly
=
FOUR_CHAR_CODE
(
'fdtt'
)
...
...
@@ -44,24 +53,24 @@ kDragTrackingEnterHandler = 1
kDragTrackingEnterWindow
=
2
kDragTrackingInWindow
=
3
kDragTrackingLeaveWindow
=
4
kDragTrackingLeaveHandler
=
5
kDragTrackingLeaveHandler
=
5
dragHasLeftSenderWindow
=
kDragHasLeftSenderWindow
dragInsideSenderApplication
=
kDragInsideSenderApplication
dragInsideSenderWindow
=
kDragInsideSenderWindow
dragInsideSenderWindow
=
kDragInsideSenderWindow
dragTrackingEnterHandler
=
kDragTrackingEnterHandler
dragTrackingEnterWindow
=
kDragTrackingEnterWindow
dragTrackingInWindow
=
kDragTrackingInWindow
dragTrackingLeaveWindow
=
kDragTrackingLeaveWindow
dragTrackingLeaveHandler
=
kDragTrackingLeaveHandler
dragTrackingLeaveHandler
=
kDragTrackingLeaveHandler
dragRegionBegin
=
kDragRegionBegin
dragRegionDraw
=
kDragRegionDraw
dragRegionHide
=
kDragRegionHide
dragRegionIdle
=
kDragRegionIdle
dragRegionEnd
=
kDragRegionEnd
dragRegionEnd
=
kDragRegionEnd
zoomNoAcceleration
=
kZoomNoAcceleration
zoomAccelerate
=
kZoomAccelerate
zoomDecelerate
=
kZoomDecelerate
zoomDecelerate
=
kZoomDecelerate
kDragStandardImage
=
kDragStandardTranslucency
kDragDarkImage
=
kDragDarkTranslucency
kDragDarkerImage
=
kDragDarkerTranslucency
kDragOpaqueImage
=
kDragOpaqueTranslucency
kDragOpaqueImage
=
kDragOpaqueTranslucency
Mac/Lib/lib-toolbox/Events.py
View file @
6fe608c8
# Generated from '
flap:CodeWarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Events.h'
# Generated from '
Macintosh HD:SWDev:Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Events.h'
nullEvent
=
0
mouseDown
=
1
...
...
@@ -21,15 +21,15 @@ diskMask = 1 << diskEvt
activMask
=
1
<<
activateEvt
highLevelEventMask
=
0x0400
osMask
=
1
<<
osEvt
everyEvent
=
0xFFFF
everyEvent
=
0xFFFF
charCodeMask
=
0x000000FF
keyCodeMask
=
0x0000FF00
adbAddrMask
=
0x00FF0000
# osEvtMessageMask = (long)0xFF000000
# osEvtMessageMask = (
unsigned
long)0xFF000000
mouseMovedMessage
=
0x00FA
suspendResumeMessage
=
0x0001
resumeFlag
=
1
convertClipboardFlag
=
2
convertClipboardFlag
=
2
activeFlagBit
=
0
btnStateBit
=
7
cmdKeyBit
=
8
...
...
@@ -39,7 +39,7 @@ optionKeyBit = 11
controlKeyBit
=
12
rightShiftKeyBit
=
13
rightOptionKeyBit
=
14
rightControlKeyBit
=
15
rightControlKeyBit
=
15
activeFlag
=
1
<<
activeFlagBit
btnState
=
1
<<
btnStateBit
cmdKey
=
1
<<
cmdKeyBit
...
...
Mac/Lib/lib-toolbox/Fonts.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Fonts.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Fonts.h'
systemFont
=
0
applFont
=
1
kPlatformDefaultGuiFontID
=
applFont
kPlatformDefaultGuiFontID
=
-
1
commandMark
=
17
checkMark
=
18
diamondMark
=
19
appleMark
=
20
propFont
=
36864L
prpFntH
=
36865L
prpFntW
=
36866L
prpFntHW
=
36867L
fixedFont
=
45056L
fxdFntH
=
45057L
fxdFntW
=
45058L
fxdFntHW
=
45059L
fontWid
=
44208L
kInvalidGeneration
=
0L
kInvalidFontFamily
=
-
1
kInvalidFont
=
0L
kFMCurrentFilterFormat
=
0L
kFMDefaultOptions
=
kNilOptions
kFMUseGlobalScopeOption
=
0x00000001
kFMInvalidFilterSelector
=
0L
kFMFontTechnologyFilterSelector
=
1L
kFMFontContainerFilterSelector
=
2L
kFMGenerationFilterSelector
=
3L
kFMFontFamilyCallbackFilterSelector
=
4L
kFMFontCallbackFilterSelector
=
5L
kFMTrueTypeFontTechnology
=
FOUR_CHAR_CODE
(
'true'
)
kFMPostScriptFontTechnology
=
FOUR_CHAR_CODE
(
'typ1'
)
kFontIDNewYork
=
2
kFontIDGeneva
=
3
kFontIDMonaco
=
4
...
...
@@ -34,16 +61,3 @@ helvetica = kFontIDHelvetica
courier
=
kFontIDCourier
symbol
=
kFontIDSymbol
mobile
=
kFontIDMobile
commandMark
=
17
checkMark
=
18
diamondMark
=
19
appleMark
=
20
propFont
=
36864L
prpFntH
=
36865L
prpFntW
=
36866L
prpFntHW
=
36867L
fixedFont
=
45056L
fxdFntH
=
45057L
fxdFntW
=
45058L
fxdFntHW
=
45059L
fontWid
=
44208L
Mac/Lib/lib-toolbox/Icons.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Icons.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Icons.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
kGenericDocumentIconResource
=
-
4000
...
...
@@ -68,6 +68,8 @@ preferencesFolderIconResource = kPreferencesFolderIconResource
extensionsFolderIconResource
=
kExtensionsFolderIconResource
fontsFolderIconResource
=
kFontsFolderIconResource
fullTrashIconResource
=
kFullTrashIconResource
kThumbnail32BitData
=
FOUR_CHAR_CODE
(
'it32'
)
kThumbnail8BitMask
=
FOUR_CHAR_CODE
(
't8mk'
)
kHuge1BitMask
=
FOUR_CHAR_CODE
(
'ich#'
)
kHuge4BitData
=
FOUR_CHAR_CODE
(
'ich4'
)
kHuge8BitData
=
FOUR_CHAR_CODE
(
'ich8'
)
...
...
@@ -86,6 +88,11 @@ kSmall8BitMask = FOUR_CHAR_CODE('s8mk')
kMini1BitMask
=
FOUR_CHAR_CODE
(
'icm#'
)
kMini4BitData
=
FOUR_CHAR_CODE
(
'icm4'
)
kMini8BitData
=
FOUR_CHAR_CODE
(
'icm8'
)
kTileIconVariant
=
FOUR_CHAR_CODE
(
'tile'
)
kRolloverIconVariant
=
FOUR_CHAR_CODE
(
'over'
)
kDropIconVariant
=
FOUR_CHAR_CODE
(
'drop'
)
kOpenIconVariant
=
FOUR_CHAR_CODE
(
'open'
)
kOpenDropIconVariant
=
FOUR_CHAR_CODE
(
'odrp'
)
large1BitMask
=
kLarge1BitMask
large4BitData
=
kLarge4BitData
large8BitData
=
kLarge8BitData
...
...
@@ -201,6 +208,7 @@ svAll4BitData = kSelectorAll4BitData
svAll8BitData
=
kSelectorAll8BitData
# svAllAvailableData = kSelectorAllAvailableData
kSystemIconsCreator
=
FOUR_CHAR_CODE
(
'macs'
)
err
=
GetIconRef
(
kOnSystemDisk
kClipboardIcon
=
FOUR_CHAR_CODE
(
'CLIP'
)
kClippingUnknownTypeIcon
=
FOUR_CHAR_CODE
(
'clpu'
)
kClippingPictureTypeIcon
=
FOUR_CHAR_CODE
(
'clpp'
)
...
...
@@ -249,6 +257,7 @@ kInternetLocationAppleTalkZoneIcon = FOUR_CHAR_CODE('ilat')
kInternetLocationFileIcon
=
FOUR_CHAR_CODE
(
'ilfi'
)
kInternetLocationMailIcon
=
FOUR_CHAR_CODE
(
'ilma'
)
kInternetLocationNewsIcon
=
FOUR_CHAR_CODE
(
'ilnw'
)
kInternetLocationNSLNeighborhoodIcon
=
FOUR_CHAR_CODE
(
'ilns'
)
kInternetLocationGenericIcon
=
FOUR_CHAR_CODE
(
'ilge'
)
kGenericFolderIcon
=
FOUR_CHAR_CODE
(
'fldr'
)
kDropFolderIcon
=
FOUR_CHAR_CODE
(
'dbox'
)
...
...
@@ -268,34 +277,35 @@ kGuestUserIcon = FOUR_CHAR_CODE('gusr')
kUserIcon
=
FOUR_CHAR_CODE
(
'user'
)
kOwnerIcon
=
FOUR_CHAR_CODE
(
'susr'
)
kGroupIcon
=
FOUR_CHAR_CODE
(
'grup'
)
kAppleExtrasFolderIcon
=
FOUR_CHAR_CODE
(
'aex'
)
kAppleExtrasFolderIcon
=
FOUR_CHAR_CODE
(
'aex'
)
kAppleMenuFolderIcon
=
FOUR_CHAR_CODE
(
'amnu'
)
kApplicationsFolderIcon
=
FOUR_CHAR_CODE
(
'apps'
)
kApplicationSupportFolderIcon
=
FOUR_CHAR_CODE
(
'asup'
)
kAssistantsFolderIcon
=
FOUR_CHAR_CODE
(
'ast'
)
kAssistantsFolderIcon
=
FOUR_CHAR_CODE
(
'ast'
)
kContextualMenuItemsFolderIcon
=
FOUR_CHAR_CODE
(
'cmnu'
)
kControlPanelDisabledFolderIcon
=
FOUR_CHAR_CODE
(
'ctrD'
)
kControlPanelFolderIcon
=
FOUR_CHAR_CODE
(
'ctrl'
)
kControlStripModulesFolderIcon
=
FOUR_CHAR_CODE
(
'sdv'
)
kControlStripModulesFolderIcon
=
FOUR_CHAR_CODE
(
'sdv'
)
kDocumentsFolderIcon
=
FOUR_CHAR_CODE
(
'docs'
)
kExtensionsDisabledFolderIcon
=
FOUR_CHAR_CODE
(
'extD'
)
kExtensionsFolderIcon
=
FOUR_CHAR_CODE
(
'extn'
)
kFavoritesFolderIcon
=
FOUR_CHAR_CODE
(
'favs'
)
kFontsFolderIcon
=
FOUR_CHAR_CODE
(
'font'
)
kHelpFolderIcon
=
FOUR_CHAR_CODE
(
'hlp'
)
kInternetFolderIcon
=
FOUR_CHAR_CODE
(
'int'
)
kInternetPlugInFolderIcon
=
FOUR_CHAR_CODE
(
'net'
)
kMacOSReadMeFolderIcon
=
FOUR_CHAR_CODE
(
'mor'
)
kPreferencesFolderIcon
=
FOUR_CHAR_CODE
(
'prf'
)
kHelpFolderIcon
=
FOUR_CHAR_CODE
(
'hlp'
)
kInternetFolderIcon
=
FOUR_CHAR_CODE
(
'int'
)
kInternetPlugInFolderIcon
=
FOUR_CHAR_CODE
(
'net'
)
kLocalesFolderIcon
=
FOUR_CHAR_CODE
(
'loc'
)
kMacOSReadMeFolderIcon
=
FOUR_CHAR_CODE
(
'mor'
)
kPreferencesFolderIcon
=
FOUR_CHAR_CODE
(
'prf'
)
kPrinterDescriptionFolderIcon
=
FOUR_CHAR_CODE
(
'ppdf'
)
kPrinterDriverFolderIcon
=
FOUR_CHAR_CODE
(
'prd'
)
kPrinterDriverFolderIcon
=
FOUR_CHAR_CODE
(
'prd'
)
kPrintMonitorFolderIcon
=
FOUR_CHAR_CODE
(
'prnt'
)
kRecentApplicationsFolderIcon
=
FOUR_CHAR_CODE
(
'rapp'
)
kRecentDocumentsFolderIcon
=
FOUR_CHAR_CODE
(
'rdoc'
)
kRecentServersFolderIcon
=
FOUR_CHAR_CODE
(
'rsrv'
)
kScriptingAdditionsFolderIcon
=
FOUR_CHAR_CODE
(
'scr'
)
kSharedLibrariesFolderIcon
=
FOUR_CHAR_CODE
(
'lib'
)
kScriptsFolderIcon
=
FOUR_CHAR_CODE
(
'scr'
)
kScriptingAdditionsFolderIcon
=
FOUR_CHAR_CODE
(
'scr'
)
kSharedLibrariesFolderIcon
=
FOUR_CHAR_CODE
(
'lib'
)
kScriptsFolderIcon
=
FOUR_CHAR_CODE
(
'scr'
)
kShutdownItemsDisabledFolderIcon
=
FOUR_CHAR_CODE
(
'shdD'
)
kShutdownItemsFolderIcon
=
FOUR_CHAR_CODE
(
'shdf'
)
kSpeakableItemsFolder
=
FOUR_CHAR_CODE
(
'spki'
)
...
...
@@ -303,12 +313,13 @@ kStartupItemsDisabledFolderIcon = FOUR_CHAR_CODE('strD')
kStartupItemsFolderIcon
=
FOUR_CHAR_CODE
(
'strt'
)
kSystemExtensionDisabledFolderIcon
=
FOUR_CHAR_CODE
(
'macD'
)
kSystemFolderIcon
=
FOUR_CHAR_CODE
(
'macs'
)
kTextEncodingsFolderIcon
=
FOUR_CHAR_CODE
(
'tex'
)
kTextEncodingsFolderIcon
=
FOUR_CHAR_CODE
(
'tex'
)
kAppearanceFolderIcon
=
FOUR_CHAR_CODE
(
'appr'
)
kUtilitiesFolderIcon
=
FOUR_CHAR_CODE
(
'uti'
)
kUtilitiesFolderIcon
=
FOUR_CHAR_CODE
(
'uti'
)
kVoicesFolderIcon
=
FOUR_CHAR_CODE
(
'fvoc'
)
kColorSyncFolderIcon
=
FOUR_CHAR_CODE
(
'prof'
)
kInternetSearchSitesFolderIcon
=
FOUR_CHAR_CODE
(
'issf'
)
kUsersFolderIcon
=
FOUR_CHAR_CODE
(
'usr'
)
kAppleScriptBadgeIcon
=
FOUR_CHAR_CODE
(
'scrp'
)
kLockedBadgeIcon
=
FOUR_CHAR_CODE
(
'lbdg'
)
kMountedBadgeIcon
=
FOUR_CHAR_CODE
(
'mbdg'
)
...
...
@@ -321,6 +332,8 @@ kAppleTalkIcon = FOUR_CHAR_CODE('atlk')
kAppleTalkZoneIcon
=
FOUR_CHAR_CODE
(
'atzn'
)
kAFPServerIcon
=
FOUR_CHAR_CODE
(
'afps'
)
kFTPServerIcon
=
FOUR_CHAR_CODE
(
'ftps'
)
kHTTPServerIcon
=
FOUR_CHAR_CODE
(
'htps'
)
kGenericNetworkIcon
=
FOUR_CHAR_CODE
(
'gnet'
)
kIPFileServerIcon
=
FOUR_CHAR_CODE
(
'isrv'
)
kAppleLogoIcon
=
FOUR_CHAR_CODE
(
'capl'
)
kAppleMenuIcon
=
FOUR_CHAR_CODE
(
'sapl'
)
...
...
@@ -342,8 +355,5 @@ kSortAscendingIcon = FOUR_CHAR_CODE('asnd')
kSortDescendingIcon
=
FOUR_CHAR_CODE
(
'dsnd'
)
kUnlockedIcon
=
FOUR_CHAR_CODE
(
'ulck'
)
kConnectToIcon
=
FOUR_CHAR_CODE
(
'cnct'
)
invalidIconRefErr
=
-
2580
noSuchIconErr
=
-
2581
noIconDataAvailableErr
=
-
2582
kIconServicesNormalUsageFlag
=
0
kIconFamilyType
=
FOUR_CHAR_CODE
(
'icns'
)
Mac/Lib/lib-toolbox/Lists.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Lists.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Lists.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
listNotifyNothing
=
FOUR_CHAR_CODE
(
'nada'
)
listNotifyClick
=
FOUR_CHAR_CODE
(
'clik'
)
listNotifyDoubleClick
=
FOUR_CHAR_CODE
(
'dblc'
)
listNotifyPreClick
=
FOUR_CHAR_CODE
(
'pclk'
)
listNotifyPreClick
=
FOUR_CHAR_CODE
(
'pclk'
)
lDoVAutoscrollBit
=
1
lDoHAutoscrollBit
=
0
lDoVAutoscroll
=
2
...
...
@@ -27,3 +27,6 @@ lInitMsg = 0
lDrawMsg
=
1
lHiliteMsg
=
2
lCloseMsg
=
3
kListDefUserProcType
=
0
kListDefStandardTextType
=
1
kListDefStandardIconType
=
2
Mac/Lib/lib-toolbox/Menus.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Menus.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Menus.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
gestaltMenuMgrAttr
=
FOUR_CHAR_CODE
(
'menu'
)
gestaltMenuMgrPresent
=
1
menuPropertyInvalid
=
-
5603
menuPropertyNotFoundErr
=
-
5604
noMark
=
0
noMark
=
0
kMenuDrawMsg
=
0
kMenuChooseMsg
=
1
kMenuSizeMsg
=
2
kMenu
DrawItemMsg
=
4
kMenu
PopUpMsg
=
3
kMenuCalcItemMsg
=
5
kMenuThemeSavvyMsg
=
7
mDrawMsg
=
0
mChooseMsg
=
1
mSizeMsg
=
2
m
DrawItemMsg
=
4
m
PopUpMsg
=
3
mCalcItemMsg
=
5
mChooseMsg
=
1
mDrawItemMsg
=
4
kMenuChooseMsg
=
1
kMenuDrawItemMsg
=
4
kThemeSavvyMenuResponse
=
0x7473
kMenuInitMsg
=
8
kMenuDisposeMsg
=
9
kMenuFindItemMsg
=
10
kMenuHiliteItemMsg
=
11
textMenuProc
=
0
hMenuCmd
=
27
hierMenu
=
-
1
mPopUpMsg
=
3
kInsertHierarchicalMenu
=
-
1
mctAllItems
=
-
98
mctLastIDIndic
=
-
99
mctLastIDIndic
=
-
99
kMenuStdMenuProc
=
63
kMenuStdMenuBarProc
=
63
kMenuNoModifiers
=
0
kMenuShiftModifier
=
(
1
<<
0
)
kMenuOptionModifier
=
(
1
<<
1
)
kMenuControlModifier
=
(
1
<<
2
)
kMenuNoCommandModifier
=
(
1
<<
3
)
kMenuNoCommandModifier
=
(
1
<<
3
)
kMenuNoIcon
=
0
kMenuIconType
=
1
kMenuShrinkIconType
=
2
kMenuSmallIconType
=
3
kMenuColorIconType
=
4
kMenuIconSuiteType
=
5
kMenuIconRefType
=
6
kMenuIconRefType
=
6
kMenuAttrExcludesMarkColumn
=
(
1
<<
0
)
kMenuAttrAutoDisable
=
(
1
<<
2
)
kMenuItemAttrSubmenuParentChoosable
=
(
1
<<
2
)
kMenuTrackingModeMouse
=
1
kMenuTrackingModeKeyboard
=
2
kMenuDefProcPtr
=
0
kMenuPropertyPersistent
=
0x00000001
kHierarchicalFontMenuOption
=
0x00000001
gestaltContextualMenuAttr
=
FOUR_CHAR_CODE
(
'cmnu'
)
gestaltContextualMenuUnusedBit
=
0
gestaltContextualMenuTrapAvailable
=
1
...
...
Mac/Lib/lib-toolbox/QDOffscreen.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:QDOffscreen.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:QDOffscreen.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
pixPurgeBit
=
0
noNewDeviceBit
=
1
useTempMemBit
=
2
keepLocalBit
=
3
useDistantHdwrMemBit
=
4
useLocalHdwrMemBit
=
5
pixelsPurgeableBit
=
6
pixelsLockedBit
=
7
mapPixBit
=
16
...
...
@@ -20,6 +22,8 @@ pixPurge = 1L << pixPurgeBit
noNewDevice
=
1L
<<
noNewDeviceBit
useTempMem
=
1L
<<
useTempMemBit
keepLocal
=
1L
<<
keepLocalBit
useDistantHdwrMem
=
1L
<<
useDistantHdwrMemBit
useLocalHdwrMem
=
1L
<<
useLocalHdwrMemBit
pixelsPurgeable
=
1L
<<
pixelsPurgeableBit
pixelsLocked
=
1L
<<
pixelsLockedBit
kAllocDirectDrawSurface
=
1L
<<
14
...
...
Mac/Lib/lib-toolbox/QuickDraw.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:QuickDraw.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:QuickDraw.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
...
...
@@ -10,7 +10,7 @@ outline = 8
shadow
=
0x10
condense
=
0x20
extend
=
0x40
invalColReq
=
-
1
invalColReq
=
-
1
srcCopy
=
0
srcOr
=
1
srcXor
=
2
...
...
@@ -68,7 +68,7 @@ picRParen = 1
clutType
=
0
fixedType
=
1
directType
=
2
gdDevType
=
0
gdDevType
=
0
interlacedDevice
=
2
roundedDevice
=
5
hasAuxMenuBar
=
6
...
...
@@ -84,7 +84,7 @@ hiliteBit = 7
pHiliteBit
=
0
defQDColors
=
127
RGBDirect
=
16
baseAddr32
=
4
baseAddr32
=
4
sysPatListID
=
0
iBeamCursor
=
1
crossCursor
=
2
...
...
@@ -124,8 +124,9 @@ k32ARGBPixelFormat = 0x00000020
k1IndexedGrayPixelFormat
=
0x00000021
k2IndexedGrayPixelFormat
=
0x00000022
k4IndexedGrayPixelFormat
=
0x00000024
k8IndexedGrayPixelFormat
=
0x00000028
k8IndexedGrayPixelFormat
=
0x00000028
k16LE555PixelFormat
=
FOUR_CHAR_CODE
(
'L555'
)
k16LE5551PixelFormat
=
FOUR_CHAR_CODE
(
'5551'
)
k16BE565PixelFormat
=
FOUR_CHAR_CODE
(
'B565'
)
k16LE565PixelFormat
=
FOUR_CHAR_CODE
(
'L565'
)
k24BGRPixelFormat
=
FOUR_CHAR_CODE
(
'24BG'
)
...
...
@@ -138,10 +139,41 @@ kYVU9PixelFormat = FOUR_CHAR_CODE('YVU9')
kYUV411PixelFormat
=
FOUR_CHAR_CODE
(
'Y411'
)
kYVYU422PixelFormat
=
FOUR_CHAR_CODE
(
'YVYU'
)
kUYVY422PixelFormat
=
FOUR_CHAR_CODE
(
'UYVY'
)
kYUV211PixelFormat
=
FOUR_CHAR_CODE
(
'Y211'
)
kYUV211PixelFormat
=
FOUR_CHAR_CODE
(
'Y211'
)
kCursorImageMajorVersion
=
0x0001
kCursorImageMinorVersion
=
0x0000
# Generated from 'Macintosh HD:SWDev:Codewarrior Pro 5:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:QuickDrawText.h'
kQDParseRegionFromTop
=
(
1
<<
0
)
kQDParseRegionFromBottom
=
(
1
<<
1
)
kQDParseRegionFromLeft
=
(
1
<<
2
)
kQDParseRegionFromRight
=
(
1
<<
3
)
kQDParseRegionFromTopLeft
=
kQDParseRegionFromTop
|
kQDParseRegionFromLeft
kQDParseRegionFromBottomRight
=
kQDParseRegionFromBottom
|
kQDParseRegionFromRight
kQDRegionToRectsMsgInit
=
1
kQDRegionToRectsMsgParse
=
2
kQDRegionToRectsMsgTerminate
=
3
colorXorXFer
=
52
noiseXFer
=
53
customXFer
=
54
kXFer1PixelAtATime
=
0x00000001
kXFerConvertPixelToRGB32
=
0x00000002
kCursorComponentsVersion
=
0x00010001
kCursorComponentType
=
FOUR_CHAR_CODE
(
'curs'
)
cursorDoesAnimate
=
1L
<<
0
cursorDoesHardware
=
1L
<<
1
cursorDoesUnreadableScreenBits
=
1L
<<
2
kRenderCursorInHardware
=
1L
<<
0
kRenderCursorInSoftware
=
1L
<<
1
kCursorComponentInit
=
0x0001
kCursorComponentGetInfo
=
0x0002
kCursorComponentSetOutputMode
=
0x0003
kCursorComponentSetData
=
0x0004
kCursorComponentReconfigure
=
0x0005
kCursorComponentDraw
=
0x0006
kCursorComponentErase
=
0x0007
kCursorComponentMove
=
0x0008
kCursorComponentAnimate
=
0x0009
kCursorComponentLastReserved
=
0x0050
# Generated from 'Macintosh HD:SWDev:Metrowerks Codewarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:QuickDrawText.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
...
...
@@ -155,10 +187,10 @@ condense = 0x20
extend
=
0x40
leftCaret
=
0
rightCaret
=
-
1
kHilite
=
1
kHilite
=
1
smLeftCaret
=
0
smRightCaret
=
-
1
smHilite
=
1
smHilite
=
1
onlyStyleRun
=
0
leftStyleRun
=
1
rightStyleRun
=
2
...
...
@@ -166,4 +198,6 @@ middleStyleRun = 3
smOnlyStyleRun
=
0
smLeftStyleRun
=
1
smRightStyleRun
=
2
smMiddleStyleRun
=
3
smMiddleStyleRun
=
3
tfAntiAlias
=
1
<<
0
tfUnicode
=
1
<<
1
Mac/Lib/lib-toolbox/QuickTime.py
View file @
6fe608c8
This diff is collapsed.
Click to expand it.
Mac/Lib/lib-toolbox/Resources.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Resources.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Resources.h'
resSysHeap
=
64
resPurgeable
=
32
...
...
@@ -8,7 +8,7 @@ resPreload = 4
resChanged
=
2
mapReadOnly
=
128
mapCompact
=
64
mapChanged
=
32
mapChanged
=
32
resSysRefBit
=
7
resSysHeapBit
=
6
resPurgeableBit
=
5
...
...
@@ -18,6 +18,10 @@ resPreloadBit = 2
resChangedBit
=
1
mapReadOnlyBit
=
7
mapCompactBit
=
6
mapChangedBit
=
5
mapChangedBit
=
5
kResFileNotOpened
=
-
1
kSystemResFile
=
0
kSystemResFile
=
0
kRsrcChainBelowSystemMap
=
0
kRsrcChainBelowApplicationMap
=
1
kRsrcChainAboveApplicationMap
=
2
kRsrcChainAboveAllMaps
=
4
Mac/Lib/lib-toolbox/Sound.py
View file @
6fe608c8
This diff is collapsed.
Click to expand it.
Mac/Lib/lib-toolbox/TextEdit.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:TextEdit.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:TextEdit.h'
teJustLeft
=
0
teJustCenter
=
1
...
...
@@ -7,26 +7,26 @@ teForceLeft = -2
teFlushDefault
=
0
teCenter
=
1
teFlushRight
=
-
1
teFlushLeft
=
-
2
teFlushLeft
=
-
2
fontBit
=
0
faceBit
=
1
sizeBit
=
2
clrBit
=
3
addSizeBit
=
4
toggleBit
=
5
toggleBit
=
5
doFont
=
1
doFace
=
2
doSize
=
4
doColor
=
8
doAll
=
15
addSize
=
16
doToggle
=
32
doToggle
=
32
EOLHook
=
0
DRAWHook
=
4
WIDTHHook
=
8
HITTESTHook
=
12
nWIDTHHook
=
24
TextWidthHook
=
28
TextWidthHook
=
28
intEOLHook
=
0
intDrawHook
=
1
intWidthHook
=
2
...
...
@@ -34,23 +34,23 @@ intHitTestHook = 3
intNWidthHook
=
6
intTextWidthHook
=
7
intInlineInputTSMTEPreUpdateHook
=
8
intInlineInputTSMTEPostUpdateHook
=
9
intInlineInputTSMTEPostUpdateHook
=
9
teFAutoScroll
=
0
teFTextBuffering
=
1
teFOutlineHilite
=
2
teFInlineInput
=
3
teFUseWhiteBackground
=
4
teFUseInlineInput
=
5
teFInlineInputAutoScroll
=
6
teFInlineInputAutoScroll
=
6
teBitClear
=
0
teBitSet
=
1
teBitTest
=
-
1
teBitTest
=
-
1
teWordSelect
=
4
teWordDrag
=
8
teFromFind
=
12
teFromRecal
=
16
teFromRecal
=
16
teFind
=
0
teHighlight
=
1
teDraw
=
-
1
teCaret
=
-
2
teFUseTextServices
=
4
teCaret
=
-
2
teFUseTextServices
=
4
Mac/Lib/lib-toolbox/Windows.py
View file @
6fe608c8
# Generated from 'Macintosh HD:SWDev:
Codewarrior Pro 5
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:MacWindows.h'
# Generated from 'Macintosh HD:SWDev:
Metrowerks Codewarrior 6.0
:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:MacWindows.h'
def
FOUR_CHAR_CODE
(
x
):
return
x
kAlertWindowClass
=
1L
...
...
@@ -7,6 +7,8 @@ kModalWindowClass = 3L
kMovableModalWindowClass
=
4L
kFloatingWindowClass
=
5L
kDocumentWindowClass
=
6L
kDesktopWindowClass
=
7L
# kAllWindowClasses = (unsigned long)0xFFFFFFFF
kWindowNoAttributes
=
0L
kWindowCloseBoxAttribute
=
(
1L
<<
0
)
kWindowHorizontalZoomAttribute
=
(
1L
<<
1
)
...
...
@@ -17,24 +19,15 @@ kWindowResizableAttribute = (1L << 4)
kWindowSideTitlebarAttribute
=
(
1L
<<
5
)
kWindowNoUpdatesAttribute
=
(
1L
<<
16
)
kWindowNoActivatesAttribute
=
(
1L
<<
17
)
kWindowNoBufferingAttribute
=
(
1L
<<
20
)
kWindowHideOnSuspendAttribute
=
(
1L
<<
24
)
kWindowStandardHandlerAttribute
=
(
1L
<<
25
)
kWindowStandardDocumentAttributes
=
(
kWindowCloseBoxAttribute
|
kWindowFullZoomAttribute
|
kWindowCollapseBoxAttribute
|
kWindowResizableAttribute
)
kWindowStandardFloatingAttributes
=
(
kWindowCloseBoxAttribute
|
kWindowCollapseBoxAttribute
)
gestaltWindowMgrAttr
=
FOUR_CHAR_CODE
(
'wind'
)
gestaltWindowMgrPresent
=
(
1L
<<
0
)
errInvalidWindowPtr
=
-
5600
errUnsupportedWindowAttributesForClass
=
-
5601
errWindowDoesNotHaveProxy
=
-
5602
errInvalidWindowProperty
=
-
5603
errWindowPropertyNotFound
=
-
5604
errUnrecognizedWindowClass
=
-
5605
errCorruptWindowDescription
=
-
5606
errUserWantsToDragWindow
=
-
5607
errWindowsAlreadyInitialized
=
-
5608
errFloatingWindowsNotInitialized
=
-
5609
kWindowDefProcType
=
FOUR_CHAR_CODE
(
'WDEF'
)
kStandardWindowDefinition
=
0
kRoundWindowDefinition
=
1
kFloatingWindowDefinition
=
124
kFloatingWindowDefinition
=
124
kDocumentWindowVariantCode
=
0
kModalDialogVariantCode
=
1
kPlainDialogVariantCode
=
2
...
...
@@ -51,7 +44,6 @@ noGrowDocProc = 4
movableDBoxProc
=
5
zoomDocProc
=
8
zoomNoGrow
=
12
rDocProc
=
16
floatProc
=
1985
floatGrowProc
=
1987
floatZoomProc
=
1989
...
...
@@ -60,6 +52,7 @@ floatSideProc = 1993
floatSideGrowProc
=
1995
floatSideZoomProc
=
1997
floatSideZoomGrowProc
=
1999
rDocProc
=
16
kWindowDocumentDefProcResID
=
64
kWindowDialogDefProcResID
=
65
kWindowUtilityDefProcResID
=
66
...
...
@@ -111,7 +104,7 @@ kWindowCenterOnParentWindow = 0x00000002
kWindowCenterOnParentWindowScreen
=
0x00000003
kWindowCascadeOnMainScreen
=
0x00000004
kWindowCascadeOnParentWindow
=
0x00000005
kW
I
ndowCascadeOnParentWindowScreen
=
0x00000006
kW
i
ndowCascadeOnParentWindowScreen
=
0x00000006
kWindowAlertPositionOnMainScreen
=
0x00000007
kWindowAlertPositionOnParentWindow
=
0x00000008
kWindowAlertPositionOnParentWindowScreen
=
0x00000009
...
...
@@ -125,6 +118,8 @@ kWindowCollapseBoxRgn = 7
kWindowTitleProxyIconRgn
=
8
kWindowStructureRgn
=
32
kWindowContentRgn
=
33
kWindowUpdateRgn
=
34
kWindowGlobalPortRgn
=
40
dialogKind
=
2
userKind
=
8
kDialogWindowKind
=
2
...
...
@@ -140,7 +135,7 @@ inGoAway = 6
inZoomIn
=
7
inZoomOut
=
8
inCollapseBox
=
11
inProxyIcon
=
12
inProxyIcon
=
12
wNoHit
=
0
wInContent
=
1
wInDrag
=
2
...
...
@@ -149,7 +144,7 @@ wInGoAway = 4
wInZoomIn
=
5
wInZoomOut
=
6
wInCollapseBox
=
9
wInProxyIcon
=
10
wInProxyIcon
=
10
kWindowMsgDraw
=
0
kWindowMsgHitTest
=
1
kWindowMsgCalculateShape
=
2
...
...
@@ -164,7 +159,8 @@ kWindowMsgModified = 10
kWindowMsgDrawInCurrentPort
=
11
kWindowMsgSetupProxyDragImage
=
12
kWindowMsgStateChanged
=
13
kWindowMsgMeasureTitle
=
14
kWindowMsgMeasureTitle
=
14
kWindowMsgGetGrowImageRegion
=
19
wDraw
=
0
wHit
=
1
wCalcRgns
=
2
...
...
@@ -173,12 +169,10 @@ wDispose = 4
wGrow
=
5
wDrawGIcon
=
6
kWindowStateTitleChanged
=
(
1
<<
0
)
kWindowStateSizeChanged
=
(
1
<<
1
)
kWindowStatePositionChanged
=
(
1
<<
2
)
kWindowStateZOrderChanged
=
(
1
<<
3
)
kWindowStateVisibilityChanged
=
(
1
<<
4
)
kWindowStateHiliteChanged
=
(
1
<<
5
)
kWindowStateCollapseChanged
=
(
1
<<
6
)
kWindowGrowSideTop
=
0x01
kWindowGrowSideLeft
=
0x02
kWindowGrowSideBottom
=
0x04
kWindowGrowSideRight
=
0x08
kWindowCanGrow
=
(
1
<<
0
)
kWindowCanZoom
=
(
1
<<
1
)
kWindowCanCollapse
=
(
1
<<
2
)
...
...
@@ -192,6 +186,8 @@ kWindowCanDrawInCurrentPort = (1 << 9)
kWindowCanSetupProxyDragImage
=
(
1
<<
10
)
kWindowCanMeasureTitle
=
(
1
<<
11
)
kWindowWantsDisposeAtProcessDeath
=
(
1
<<
12
)
kWindowSupportsSetGrowImageRegion
=
(
1
<<
13
)
kWindowDefSupportsColorGrafPort
=
0x40000002
deskPatID
=
16
wContentColor
=
0
wFrameColor
=
1
...
...
@@ -204,7 +200,14 @@ kWindowDefinitionVersionTwo = 2
kWindowIsCollapsedState
=
(
1
<<
0L
)
kStoredWindowSystemTag
=
FOUR_CHAR_CODE
(
'appl'
)
kStoredBasicWindowDescriptionID
=
FOUR_CHAR_CODE
(
'sbas'
)
kStoredWindowPascalTitleID
=
FOUR_CHAR_CODE
(
's255'
)
kWindowZoomTransitionEffect
=
1
kStoredWindowPascalTitleID
=
FOUR_CHAR_CODE
(
's255'
)
kWindowDefProcPtr
=
0
kWindowDefObjectClass
=
1
kWindowPaintProcOptionsNone
=
0
kScrollWindowNoOptions
=
0
kScrollWindowInvalidate
=
(
1L
<<
0
)
kScrollWindowEraseToPortBackground
=
(
1L
<<
1
)
kWindowZoomTransitionEffect
=
1
kWindowShowTransitionAction
=
1
kWindowHideTransitionAction
=
2
kWindowHideTransitionAction
=
2
kWindowPropertyPersistent
=
0x00000001
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment