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
754d4a4f
Kaydet (Commit)
754d4a4f
authored
Kas 14, 1995
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Regenerated because of minor changes in universal headers
üst
b5cf5dad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
24 deletions
+25
-24
Controls.py
Mac/Lib/toolbox/Controls.py
+13
-12
Ctlmodule.c
Mac/Modules/ctl/Ctlmodule.c
+8
-8
ctlgen.py
Mac/Modules/ctl/ctlgen.py
+4
-4
No files found.
Mac/Lib/toolbox/Controls.py
Dosyayı görüntüle @
754d4a4f
# Generated from 'Sap:CodeWarrior
6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f
:Controls.h'
# Generated from 'Sap:CodeWarrior
7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers
:Controls.h'
pushButProc
=
0
pushButProc
=
0
checkBoxProc
=
1
checkBoxProc
=
1
...
@@ -6,7 +6,6 @@ radioButProc = 2
...
@@ -6,7 +6,6 @@ radioButProc = 2
scrollBarProc
=
16
scrollBarProc
=
16
popupMenuProc
=
1008
popupMenuProc
=
1008
kControlUsesOwningWindowsFontVariant
=
1
<<
3
kControlUsesOwningWindowsFontVariant
=
1
<<
3
useWFont
=
8
kControlNoPart
=
0
kControlNoPart
=
0
kControlLabelPart
=
1
kControlLabelPart
=
1
kControlMenuPart
=
2
kControlMenuPart
=
2
...
@@ -21,16 +20,6 @@ kControlPageDownPart = 23
...
@@ -21,16 +20,6 @@ kControlPageDownPart = 23
kControlIndicatorPart
=
129
kControlIndicatorPart
=
129
kControlDisabledPart
=
254
kControlDisabledPart
=
254
kControlInactivePart
=
255
kControlInactivePart
=
255
inLabel
=
1
inMenu
=
2
inTriangle
=
4
inButton
=
10
inCheckBox
=
11
inUpButton
=
20
inDownButton
=
21
inPageUp
=
22
inPageDown
=
23
inThumb
=
129
kControlCheckboxUncheckedValue
=
0
kControlCheckboxUncheckedValue
=
0
kControlCheckboxCheckedValue
=
1
kControlCheckboxCheckedValue
=
1
kControlCheckboxMixedValue
=
2
kControlCheckboxMixedValue
=
2
...
@@ -73,6 +62,18 @@ drawThumbOutline = 12
...
@@ -73,6 +62,18 @@ drawThumbOutline = 12
kDrawControlEntireControl
=
0
kDrawControlEntireControl
=
0
kDrawControlIndicatorOnly
=
129
kDrawControlIndicatorOnly
=
129
kDragControlEntireControl
=
0
kDragControlEntireControl
=
0
kDragControlIndicator
=
1
useWFont
=
8
inLabel
=
1
inMenu
=
2
inTriangle
=
4
inButton
=
10
inCheckBox
=
11
inUpButton
=
20
inDownButton
=
21
inPageUp
=
22
inPageDown
=
23
inThumb
=
129
kNoHiliteControlPart
=
0
kNoHiliteControlPart
=
0
kInLabelControlPart
=
1
kInLabelControlPart
=
1
kInMenuControlPart
=
2
kInMenuControlPart
=
2
...
...
Mac/Modules/ctl/Ctlmodule.c
Dosyayı görüntüle @
754d4a4f
...
@@ -178,18 +178,18 @@ static PyObject *CtlObj_DragControl(_self, _args)
...
@@ -178,18 +178,18 @@ static PyObject *CtlObj_DragControl(_self, _args)
PyObject
*
_args
;
PyObject
*
_args
;
{
{
PyObject
*
_res
=
NULL
;
PyObject
*
_res
=
NULL
;
Point
startPt
;
Point
startP
oin
t
;
Rect
limitRect
;
Rect
limitRect
;
Rect
slopRect
;
Rect
slopRect
;
DragConstraint
axis
;
DragConstraint
axis
;
if
(
!
PyArg_ParseTuple
(
_args
,
"O&O&O&h"
,
if
(
!
PyArg_ParseTuple
(
_args
,
"O&O&O&h"
,
PyMac_GetPoint
,
&
startPt
,
PyMac_GetPoint
,
&
startP
oin
t
,
PyMac_GetRect
,
&
limitRect
,
PyMac_GetRect
,
&
limitRect
,
PyMac_GetRect
,
&
slopRect
,
PyMac_GetRect
,
&
slopRect
,
&
axis
))
&
axis
))
return
NULL
;
return
NULL
;
DragControl
(
_self
->
ob_itself
,
DragControl
(
_self
->
ob_itself
,
startPt
,
startP
oin
t
,
&
limitRect
,
&
limitRect
,
&
slopRect
,
&
slopRect
,
axis
);
axis
);
...
@@ -204,12 +204,12 @@ static PyObject *CtlObj_TestControl(_self, _args)
...
@@ -204,12 +204,12 @@ static PyObject *CtlObj_TestControl(_self, _args)
{
{
PyObject
*
_res
=
NULL
;
PyObject
*
_res
=
NULL
;
ControlPartCode
_rv
;
ControlPartCode
_rv
;
Point
thePt
;
Point
theP
oin
t
;
if
(
!
PyArg_ParseTuple
(
_args
,
"O&"
,
if
(
!
PyArg_ParseTuple
(
_args
,
"O&"
,
PyMac_GetPoint
,
&
thePt
))
PyMac_GetPoint
,
&
theP
oin
t
))
return
NULL
;
return
NULL
;
_rv
=
TestControl
(
_self
->
ob_itself
,
_rv
=
TestControl
(
_self
->
ob_itself
,
thePt
);
theP
oin
t
);
_res
=
Py_BuildValue
(
"h"
,
_res
=
Py_BuildValue
(
"h"
,
_rv
);
_rv
);
return
_res
;
return
_res
;
...
@@ -457,9 +457,9 @@ static PyMethodDef CtlObj_methods[] = {
...
@@ -457,9 +457,9 @@ static PyMethodDef CtlObj_methods[] = {
{
"TrackControl"
,
(
PyCFunction
)
CtlObj_TrackControl
,
1
,
{
"TrackControl"
,
(
PyCFunction
)
CtlObj_TrackControl
,
1
,
"(Point thePoint) -> (ControlPartCode _rv)"
},
"(Point thePoint) -> (ControlPartCode _rv)"
},
{
"DragControl"
,
(
PyCFunction
)
CtlObj_DragControl
,
1
,
{
"DragControl"
,
(
PyCFunction
)
CtlObj_DragControl
,
1
,
"(Point startPt, Rect limitRect, Rect slopRect, DragConstraint axis) -> None"
},
"(Point startP
oin
t, Rect limitRect, Rect slopRect, DragConstraint axis) -> None"
},
{
"TestControl"
,
(
PyCFunction
)
CtlObj_TestControl
,
1
,
{
"TestControl"
,
(
PyCFunction
)
CtlObj_TestControl
,
1
,
"(Point thePt) -> (ControlPartCode _rv)"
},
"(Point theP
oin
t) -> (ControlPartCode _rv)"
},
{
"MoveControl"
,
(
PyCFunction
)
CtlObj_MoveControl
,
1
,
{
"MoveControl"
,
(
PyCFunction
)
CtlObj_MoveControl
,
1
,
"(SInt16 h, SInt16 v) -> None"
},
"(SInt16 h, SInt16 v) -> None"
},
{
"SizeControl"
,
(
PyCFunction
)
CtlObj_SizeControl
,
1
,
{
"SizeControl"
,
(
PyCFunction
)
CtlObj_SizeControl
,
1
,
...
...
Mac/Modules/ctl/ctlgen.py
Dosyayı görüntüle @
754d4a4f
# Generated from 'Sap:CodeWarrior
6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f
:Controls.h'
# Generated from 'Sap:CodeWarrior
7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers
:Controls.h'
f
=
Function
(
ControlRef
,
'NewControl'
,
f
=
Function
(
ControlRef
,
'NewControl'
,
(
WindowRef
,
'theWindow'
,
InMode
),
(
WindowRef
,
'theWindow'
,
InMode
),
...
@@ -51,7 +51,7 @@ methods.append(f)
...
@@ -51,7 +51,7 @@ methods.append(f)
f
=
Function
(
void
,
'UpdateControls'
,
f
=
Function
(
void
,
'UpdateControls'
,
(
WindowRef
,
'theWindow'
,
InMode
),
(
WindowRef
,
'theWindow'
,
InMode
),
(
RgnHandle
,
'updateR
g
n'
,
InMode
),
(
RgnHandle
,
'updateR
egio
n'
,
InMode
),
)
)
functions
.
append
(
f
)
functions
.
append
(
f
)
...
@@ -70,7 +70,7 @@ methods.append(f)
...
@@ -70,7 +70,7 @@ methods.append(f)
f
=
Method
(
void
,
'DragControl'
,
f
=
Method
(
void
,
'DragControl'
,
(
ControlRef
,
'theControl'
,
InMode
),
(
ControlRef
,
'theControl'
,
InMode
),
(
Point
,
'startPt'
,
InMode
),
(
Point
,
'startP
oin
t'
,
InMode
),
(
Rect_ptr
,
'limitRect'
,
InMode
),
(
Rect_ptr
,
'limitRect'
,
InMode
),
(
Rect_ptr
,
'slopRect'
,
InMode
),
(
Rect_ptr
,
'slopRect'
,
InMode
),
(
DragConstraint
,
'axis'
,
InMode
),
(
DragConstraint
,
'axis'
,
InMode
),
...
@@ -79,7 +79,7 @@ methods.append(f)
...
@@ -79,7 +79,7 @@ methods.append(f)
f
=
Method
(
ControlPartCode
,
'TestControl'
,
f
=
Method
(
ControlPartCode
,
'TestControl'
,
(
ControlRef
,
'theControl'
,
InMode
),
(
ControlRef
,
'theControl'
,
InMode
),
(
Point
,
'thePt'
,
InMode
),
(
Point
,
'theP
oin
t'
,
InMode
),
)
)
methods
.
append
(
f
)
methods
.
append
(
f
)
...
...
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