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
57ed139c
Commit
57ed139c
authored
Mar 04, 1999
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added App module (appearance manager interface).
parent
5b6334f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
0 deletions
+89
-0
Mac/Lib/lib-toolbox/Appearance.py
Mac/Lib/lib-toolbox/Appearance.py
+85
-0
Mac/Modules/macconfig.c
Mac/Modules/macconfig.c
+2
-0
Mac/scripts/fullbuild.py
Mac/scripts/fullbuild.py
+2
-0
No files found.
Mac/Lib/lib-toolbox/Appearance.py
0 → 100644
View file @
57ed139c
# 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
Mac/Modules/macconfig.c
View file @
57ed139c
...
...
@@ -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
},
...
...
Mac/scripts/fullbuild.py
View file @
57ed139c
...
...
@@ -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"
),
...
...
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