Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
d4c26469
Kaydet (Commit)
d4c26469
authored
Agu 17, 1995
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Generated anew
üst
b95ea18a
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
58 additions
and
20 deletions
+58
-20
Controls.py
Mac/Lib/toolbox/Controls.py
+1
-1
Dialogs.py
Mac/Lib/toolbox/Dialogs.py
+1
-1
Events.py
Mac/Lib/toolbox/Events.py
+1
-1
Menus.py
Mac/Lib/toolbox/Menus.py
+1
-1
QuickDraw.py
Mac/Lib/toolbox/QuickDraw.py
+2
-2
Resources.py
Mac/Lib/toolbox/Resources.py
+1
-1
Sound.py
Mac/Lib/toolbox/Sound.py
+1
-1
Windows.py
Mac/Lib/toolbox/Windows.py
+1
-1
Ctlmodule.c
Mac/Modules/ctl/Ctlmodule.c
+1
-0
ctlgen.py
Mac/Modules/ctl/ctlgen.py
+1
-1
Dlgmodule.c
Mac/Modules/dlg/Dlgmodule.c
+2
-1
dlggen.py
Mac/Modules/dlg/dlggen.py
+2
-2
Evtmodule.c
Mac/Modules/evt/Evtmodule.c
+1
-0
evtgen.py
Mac/Modules/evt/evtgen.py
+1
-1
Listmodule.c
Mac/Modules/list/Listmodule.c
+1
-0
Menumodule.c
Mac/Modules/menu/Menumodule.c
+1
-0
menugen.py
Mac/Modules/menu/menugen.py
+1
-1
Qdmodule.c
Mac/Modules/qd/Qdmodule.c
+1
-0
qdgen.py
Mac/Modules/qd/qdgen.py
+2
-2
Resmodule.c
Mac/Modules/res/Resmodule.c
+14
-0
resgen.py
Mac/Modules/res/resgen.py
+1
-1
Sndmodule.c
Mac/Modules/snd/Sndmodule.c
+1
-0
sndgen.py
Mac/Modules/snd/sndgen.py
+1
-1
Winmodule.c
Mac/Modules/win/Winmodule.c
+17
-0
wingen.py
Mac/Modules/win/wingen.py
+1
-1
No files found.
Mac/Lib/toolbox/Controls.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Controls.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Controls.h'
pushButProc
=
0
checkBoxProc
=
1
...
...
Mac/Lib/toolbox/Dialogs.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Dialogs.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Dialogs.h'
ctrlItem
=
4
btnCtrl
=
0
...
...
Mac/Lib/toolbox/Events.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Events.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Events.h'
nullEvent
=
0
mouseDown
=
1
...
...
Mac/Lib/toolbox/Menus.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Menus.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Menus.h'
noMark
=
0
mDrawMsg
=
0
...
...
Mac/Lib/toolbox/QuickDraw.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDraw.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDraw.h'
invalColReq
=
-
1
srcCopy
=
0
...
...
@@ -82,7 +82,7 @@ allDevices = 1 << allDevicesBit
kNoConstraint
=
0
kVerticalConstraint
=
1
kHorizontalConstraint
=
2
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDrawText.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDrawText.h'
leftCaret
=
0
rightCaret
=
-
1
...
...
Mac/Lib/toolbox/Resources.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Resources.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Resources.h'
resSysHeap
=
64
resPurgeable
=
32
...
...
Mac/Lib/toolbox/Sound.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Sound.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Sound.h'
soundListRsrc
=
'snd '
rate44khz
=
0xAC440000
L
...
...
Mac/Lib/toolbox/Windows.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Windows.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Windows.h'
kStandardWindowDefinition
=
0
kRoundWindowDefinition
=
1
...
...
Mac/Modules/ctl/Ctlmodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
Mac/Modules/ctl/ctlgen.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Controls.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Controls.h'
f
=
Function
(
ControlRef
,
'NewControl'
,
(
WindowRef
,
'theWindow'
,
InMode
),
...
...
Mac/Modules/dlg/Dlgmodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
@@ -191,7 +192,7 @@ static PyObject *DlgObj_GetDialogItem(_self, _args)
&
box
);
_res
=
Py_BuildValue
(
"hO&O&"
,
itemType
,
ResObj_New
,
item
,
ResObj_
Opt
New
,
item
,
PyMac_BuildRect
,
&
box
);
return
_res
;
}
...
...
Mac/Modules/dlg/dlggen.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Dialogs.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Dialogs.h'
f
=
Function
(
DialogRef
,
'NewDialog'
,
(
NullStorage
,
'wStorage'
,
InMode
),
...
...
@@ -85,7 +85,7 @@ f = Method(void, 'GetDialogItem',
(
DialogRef
,
'theDialog'
,
InMode
),
(
short
,
'itemNo'
,
InMode
),
(
short
,
'itemType'
,
OutMode
),
(
Handle
,
'item'
,
OutMode
),
(
Opt
Handle
,
'item'
,
OutMode
),
(
Rect
,
'box'
,
OutMode
),
)
methods
.
append
(
f
)
...
...
Mac/Modules/evt/Evtmodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
Mac/Modules/evt/evtgen.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Events.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Events.h'
f
=
Function
(
UInt32
,
'GetCaretTime'
,
)
...
...
Mac/Modules/list/Listmodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
Mac/Modules/menu/Menumodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
Mac/Modules/menu/menugen.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Menus.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Menus.h'
f
=
Function
(
short
,
'GetMBarHeight'
,
)
...
...
Mac/Modules/qd/Qdmodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
Mac/Modules/qd/qdgen.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDraw.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDraw.h'
f
=
Function
(
void
,
'OpenPort'
,
(
GrafPtr
,
'port'
,
InMode
),
...
...
@@ -713,7 +713,7 @@ f = Function(short, 'QDError',
)
functions
.
append
(
f
)
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDrawText.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:QuickDrawText.h'
f
=
Function
(
void
,
'TextFont'
,
(
short
,
'font'
,
InMode
),
...
...
Mac/Modules/res/Resmodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
@@ -1331,6 +1332,19 @@ static PyMethodDef Res_methods[] = {
/* Alternative version of ResObj_New, which returns None for null argument */
PyObject
*
ResObj_OptNew
(
itself
)
Handle
itself
;
{
ResourceObject
*
it
;
if
(
itself
==
NULL
)
{
Py_INCREF
(
Py_None
);
return
Py_None
;
}
return
ResObj_New
(
itself
);
}
void
initRes
()
{
...
...
Mac/Modules/res/resgen.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Resources.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Resources.h'
f
=
ResFunction
(
short
,
'InitResources'
,
)
...
...
Mac/Modules/snd/Sndmodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
Mac/Modules/snd/sndgen.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Sound.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Sound.h'
f
=
SndFunction
(
void
,
'SetSoundVol'
,
(
short
,
'level'
,
InMode
),
...
...
Mac/Modules/win/Winmodule.c
Dosyayı görüntüle @
d4c26469
...
...
@@ -14,6 +14,7 @@
#include <Controls.h>
extern
PyObject
*
ResObj_New
(
Handle
);
extern
PyObject
*
ResObj_OptNew
(
Handle
);
extern
int
ResObj_Convert
(
PyObject
*
,
Handle
*
);
extern
PyObject
*
WinObj_New
(
WindowPtr
);
...
...
@@ -804,6 +805,20 @@ static PyObject *Win_GetNewCWindow(_self, _args)
return
_res
;
}
static
PyObject
*
Win_WhichWindow
(
_self
,
_args
)
PyObject
*
_self
;
PyObject
*
_args
;
{
PyObject
*
_res
=
NULL
;
long
ptr
;
if
(
!
PyArg_ParseTuple
(
_args
,
"i"
,
&
ptr
)
)
return
NULL
;
return
WinObj_WhichWindow
((
WindowPtr
)
ptr
);
}
static
PyMethodDef
Win_methods
[]
=
{
{
"InitWindows"
,
(
PyCFunction
)
Win_InitWindows
,
1
,
"() -> None"
},
...
...
@@ -827,6 +842,8 @@ static PyMethodDef Win_methods[] = {
"(Rect boundsRect, Str255 title, Boolean visible, short procID, WindowPtr behind, Boolean goAwayFlag, long refCon) -> (WindowPtr _rv)"
},
{
"GetNewCWindow"
,
(
PyCFunction
)
Win_GetNewCWindow
,
1
,
"(short windowID, WindowPtr behind) -> (WindowPtr _rv)"
},
{
"WhichWindow"
,
(
PyCFunction
)
Win_WhichWindow
,
1
,
"Resolve an integer WindowPtr address to a Window object"
},
{
NULL
,
NULL
,
0
}
};
...
...
Mac/Modules/win/wingen.py
Dosyayı görüntüle @
d4c26469
# Generated from '
Moes
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Windows.h'
# Generated from '
Sap
:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Windows.h'
f
=
Function
(
void
,
'InitWindows'
,
)
...
...
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