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
e906606f
Kaydet (Commit)
e906606f
authored
Tem 29, 1993
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Final touch before release.
üst
8e2ec56c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
config.c.in
Modules/config.c.in
+3
-3
stdwinmodule.c
Modules/stdwinmodule.c
+16
-1
No files found.
Modules/config.c.in
Dosyayı görüntüle @
e906606f
...
@@ -62,17 +62,17 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -62,17 +62,17 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "patchlevel.h"
#include "patchlevel.h"
#define VERSION "0.9.%d
BETA
(%s)"
#define VERSION "0.9.%d (%s)"
#ifdef __DATE__
#ifdef __DATE__
#define DATE __DATE__
#define DATE __DATE__
#else
#else
#define DATE ">= 2
7 Mar
1993"
#define DATE ">= 2
9 Jul
1993"
#endif
#endif
#ifdef USE_STDWIN
#ifdef USE_STDWIN
#ifdef macintosh
#ifdef macintosh
#include ":::s
rc:s
tdwin:H:stdwin.h"
#include ":::stdwin:H:stdwin.h"
#else /* !macintosh */
#else /* !macintosh */
#include "stdwin.h"
#include "stdwin.h"
#endif /* !macintosh */
#endif /* !macintosh */
...
...
Modules/stdwinmodule.c
Dosyayı görüntüle @
e906606f
...
@@ -68,9 +68,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -68,9 +68,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "ceval.h"
#include "ceval.h"
#ifdef macintosh
#ifdef macintosh
#include ":::s
rc:s
tdwin:H:stdwin.h"
#include ":::stdwin:H:stdwin.h"
#else
/* !macintosh */
#else
/* !macintosh */
#include "stdwin.h"
#include "stdwin.h"
#define HAVE_BITMAPS
#endif
/* !macintosh */
#endif
/* !macintosh */
#ifdef USE_THREAD
#ifdef USE_THREAD
...
@@ -684,6 +685,8 @@ drawing_setfgcolor(self, args)
...
@@ -684,6 +685,8 @@ drawing_setfgcolor(self, args)
return
None
;
return
None
;
}
}
#ifdef HAVE_BITMAPS
static
object
*
static
object
*
drawing_bitmap
(
self
,
args
)
drawing_bitmap
(
self
,
args
)
object
*
self
;
object
*
self
;
...
@@ -722,8 +725,12 @@ drawing_bitmap(self, args)
...
@@ -722,8 +725,12 @@ drawing_bitmap(self, args)
return
None
;
return
None
;
}
}
#endif
/* HAVE_BITMAPS */
static
struct
methodlist
drawing_methods
[]
=
{
static
struct
methodlist
drawing_methods
[]
=
{
#ifdef HAVE_BITMAPS
{
"bitmap"
,
drawing_bitmap
},
{
"bitmap"
,
drawing_bitmap
},
#endif
{
"box"
,
drawing_box
},
{
"box"
,
drawing_box
},
{
"circle"
,
drawing_circle
},
{
"circle"
,
drawing_circle
},
{
"cliprect"
,
drawing_cliprect
},
{
"cliprect"
,
drawing_cliprect
},
...
@@ -1352,6 +1359,8 @@ typeobject Menutype = {
...
@@ -1352,6 +1359,8 @@ typeobject Menutype = {
};
};
#ifdef HAVE_BITMAPS
/* Bitmaps objects */
/* Bitmaps objects */
static
bitmapobject
*
newbitmapobject
PROTO
((
int
,
int
));
static
bitmapobject
*
newbitmapobject
PROTO
((
int
,
int
));
...
@@ -1506,6 +1515,8 @@ typeobject Bitmaptype = {
...
@@ -1506,6 +1515,8 @@ typeobject Bitmaptype = {
0
,
/*tp_repr*/
0
,
/*tp_repr*/
};
};
#endif
/* HAVE_BITMAPS */
/* Windows */
/* Windows */
...
@@ -2438,6 +2449,7 @@ stdwin_listfontnames(self, args)
...
@@ -2438,6 +2449,7 @@ stdwin_listfontnames(self, args)
return
list
;
return
list
;
}
}
#ifdef HAVE_BITMAPS
static
object
*
static
object
*
stdwin_newbitmap
(
self
,
args
)
stdwin_newbitmap
(
self
,
args
)
object
*
self
;
object
*
self
;
...
@@ -2449,6 +2461,7 @@ stdwin_newbitmap(self, args)
...
@@ -2449,6 +2461,7 @@ stdwin_newbitmap(self, args)
return
NULL
;
return
NULL
;
return
(
object
*
)
newbitmapobject
(
width
,
height
);
return
(
object
*
)
newbitmapobject
(
width
,
height
);
}
}
#endif
static
struct
methodlist
stdwin_methods
[]
=
{
static
struct
methodlist
stdwin_methods
[]
=
{
{
"askfile"
,
stdwin_askfile
},
{
"askfile"
,
stdwin_askfile
},
...
@@ -2472,7 +2485,9 @@ static struct methodlist stdwin_methods[] = {
...
@@ -2472,7 +2485,9 @@ static struct methodlist stdwin_methods[] = {
{
"listfontnames"
,
stdwin_listfontnames
},
{
"listfontnames"
,
stdwin_listfontnames
},
{
"menucreate"
,
stdwin_menucreate
},
{
"menucreate"
,
stdwin_menucreate
},
{
"message"
,
stdwin_message
},
{
"message"
,
stdwin_message
},
#ifdef HAVE_BITMAPS
{
"newbitmap"
,
stdwin_newbitmap
},
{
"newbitmap"
,
stdwin_newbitmap
},
#endif
{
"open"
,
stdwin_open
},
{
"open"
,
stdwin_open
},
{
"pollevent"
,
stdwin_pollevent
},
{
"pollevent"
,
stdwin_pollevent
},
{
"resetselection"
,
stdwin_resetselection
},
{
"resetselection"
,
stdwin_resetselection
},
...
...
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