diff options
-rw-r--r-- | Mac/Lib/lib-toolbox/Appearance.py | 85 | ||||
-rw-r--r-- | Mac/Modules/macconfig.c | 2 | ||||
-rw-r--r-- | Mac/scripts/fullbuild.py | 2 |
3 files changed, 89 insertions, 0 deletions
diff --git a/Mac/Lib/lib-toolbox/Appearance.py b/Mac/Lib/lib-toolbox/Appearance.py new file mode 100644 index 0000000..877e33f --- /dev/null +++ b/Mac/Lib/lib-toolbox/Appearance.py @@ -0,0 +1,85 @@ +# Generated from 'Moes:Codewarrior Pro 4:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers: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') +kAEThemeSwitch = FOUR_CHAR_CODE('thme') +appearanceBadBrushIndexErr = -30560 +appearanceProcessRegisteredErr = -30561 +appearanceProcessNotRegisteredErr = -30562 +appearanceBadTextColorIndexErr = -30563 +appearanceThemeHasNoAccents = -30564 +appearanceBadCursorIndexErr = -30565 +kThemeActiveDialogBackgroundBrush = 1 +kThemeInactiveDialogBackgroundBrush = 2 +kThemeActiveAlertBackgroundBrush = 3 +kThemeInactiveAlertBackgroundBrush = 4 +kThemeActiveModelessDialogBackgroundBrush = 5 +kThemeInactiveModelessDialogBackgroundBrush = 6 +kThemeActiveUtilityWindowBackgroundBrush = 7 +kThemeInactiveUtilityWindowBackgroundBrush = 8 +kThemeListViewSortColumnBackgroundBrush = 9 +kThemeListViewBackgroundBrush = 10 +kThemeIconLabelBackgroundBrush = 11 +kThemeListViewSeparatorBrush = 12 +kThemeChasingArrowsBrush = 13 +kThemeDragHiliteBrush = 14 +kThemeDocumentWindowBackgroundBrush = 15 +kThemeFinderWindowBackgroundBrush = 16 +kThemeActiveDialogTextColor = 1 +kThemeInactiveDialogTextColor = 2 +kThemeActiveAlertTextColor = 3 +kThemeInactiveAlertTextColor = 4 +kThemeActiveModelessDialogTextColor = 5 +kThemeInactiveModelessDialogTextColor = 6 +kThemeActiveWindowHeaderTextColor = 7 +kThemeInactiveWindowHeaderTextColor = 8 +kThemeActivePlacardTextColor = 9 +kThemeInactivePlacardTextColor = 10 +kThemePressedPlacardTextColor = 11 +kThemeActivePushButtonTextColor = 12 +kThemeInactivePushButtonTextColor = 13 +kThemePressedPushButtonTextColor = 14 +kThemeActiveBevelButtonTextColor = 15 +kThemeInactiveBevelButtonTextColor = 16 +kThemePressedBevelButtonTextColor = 17 +kThemeActivePopupButtonTextColor = 18 +kThemeInactivePopupButtonTextColor = 19 +kThemePressedPopupButtonTextColor = 20 +kThemeIconLabelTextColor = 21 +kThemeListViewTextColor = 22 +kThemeActiveDocumentWindowTitleTextColor = 23 +kThemeInactiveDocumentWindowTitleTextColor = 24 +kThemeActiveMovableModalWindowTitleTextColor = 25 +kThemeInactiveMovableModalWindowTitleTextColor = 26 +kThemeActiveUtilityWindowTitleTextColor = 27 +kThemeInactiveUtilityWindowTitleTextColor = 28 +kThemeActivePopupWindowTitleColor = 29 +kThemeInactivePopupWindowTitleColor = 30 +kThemeActiveRootMenuTextColor = 31 +kThemeSelectedRootMenuTextColor = 32 +kThemeDisabledRootMenuTextColor = 33 +kThemeActiveMenuItemTextColor = 34 +kThemeSelectedMenuItemTextColor = 35 +kThemeDisabledMenuItemTextColor = 36 +kThemeActivePopupLabelTextColor = 37 +kThemeInactivePopupLabelTextColor = 38 +kThemeStateDisabled = 0 +kThemeStateActive = 1 +kThemeStatePressed = 2 +kThemeMenuBarNormal = 0 +kThemeMenuBarSelected = 1 +kThemeMenuActive = 0 +kThemeMenuSelected = 1 +kThemeMenuDisabled = 3 +kThemeMenuTypePullDown = 0 +kThemeMenuTypePopUp = 1 +kThemeMenuTypeHierarchical = 2 +kThemeMenuItemPlain = 0 +kThemeMenuItemHierarchical = 1 +kThemeMenuItemScrollUpArrow = 2 +kThemeMenuItemScrollDownArrow = 3 diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c index 72d9b0a..7c673ce 100644 --- a/Mac/Modules/macconfig.c +++ b/Mac/Modules/macconfig.c @@ -100,6 +100,7 @@ extern void initmactcp(); #define USE_CORE_TOOLBOX #endif extern void initAE(); +extern void initApp(); extern void initEvt(); extern void initFm(); extern void initHelp(); @@ -221,6 +222,7 @@ struct _inittab _PyImport_Inittab[] = { #endif #ifdef USE_TOOLBOX {"AE", initAE}, + {"App", initApp}, {"Evt", initEvt}, {"Fm", initFm}, {"Help", initHelp}, diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py index 3eaed06..efd11d9 100644 --- a/Mac/scripts/fullbuild.py +++ b/Mac/scripts/fullbuild.py @@ -164,6 +164,7 @@ I_PPC_PLUGINS : (buildmwproject, "CWIE", [ (":Mac:Build:ColorPicker.prj", "ColorPicker.ppc"), (":Mac:Build:Printing.prj", "Printing.ppc"), (":Mac:Build:AE.prj", "AE.ppc"), + (":Mac:Build:App.prj", "App.ppc"), (":Mac:Build:Cm.prj", "Cm.ppc"), (":Mac:Build:Evt.prj", "Evt.ppc"), (":Mac:Build:Fm.prj", "Fm.ppc"), @@ -187,6 +188,7 @@ I_68K_PLUGINS : (buildmwproject, "CWIE", [ (":Mac:Build:ColorPicker.prj", "ColorPicker.CFM68K"), (":Mac:Build:Printing.prj", "Printing.CFM68K"), (":Mac:Build:AE.prj", "AE.CFM68K"), + (":Mac:Build:App.prj", "App.CFM68K"), (":Mac:Build:Cm.prj", "Cm.CFM68K"), (":Mac:Build:Evt.prj", "Evt.CFM68K"), (":Mac:Build:Fm.prj", "Fm.CFM68K"), |