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
def0d8da
Kaydet (Commit)
def0d8da
authored
Şub 09, 2001
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Get rid of from ... import *
üst
cd90c20b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Audio_mac.py
Mac/Lib/Audio_mac.py
+1
-1
Splash.py
Mac/Tools/IDE/Splash.py
+5
-5
No files found.
Mac/Lib/Audio_mac.py
Dosyayı görüntüle @
def0d8da
...
@@ -40,7 +40,7 @@ class Play_Audio_mac:
...
@@ -40,7 +40,7 @@ class Play_Audio_mac:
def
writeframes
(
self
,
data
):
def
writeframes
(
self
,
data
):
import
time
import
time
from
Sound
import
*
from
Sound
import
bufferCmd
,
callBackCmd
,
extSH
import
struct
import
struct
import
MacOS
import
MacOS
if
not
self
.
_chan
:
if
not
self
.
_chan
:
...
...
Mac/Tools/IDE/Splash.py
Dosyayı görüntüle @
def0d8da
...
@@ -123,7 +123,7 @@ UpdateSplash(1)
...
@@ -123,7 +123,7 @@ UpdateSplash(1)
def
wait
():
def
wait
():
import
Evt
import
Evt
from
Events
import
*
import
Events
global
splash
global
splash
try
:
try
:
splash
splash
...
@@ -133,16 +133,16 @@ def wait():
...
@@ -133,16 +133,16 @@ def wait():
time
=
Evt
.
TickCount
()
time
=
Evt
.
TickCount
()
whattext
=
0
whattext
=
0
while
_keepsplashscreenopen
:
while
_keepsplashscreenopen
:
ok
,
event
=
Evt
.
EventAvail
(
highLevelEventMask
)
ok
,
event
=
Evt
.
EventAvail
(
Events
.
highLevelEventMask
)
if
ok
:
if
ok
:
# got apple event, back to mainloop
# got apple event, back to mainloop
break
break
ok
,
event
=
Evt
.
EventAvail
(
mDownMask
|
keyDownMask
|
updateMask
)
ok
,
event
=
Evt
.
EventAvail
(
Events
.
mDownMask
|
Events
.
keyDownMask
|
Events
.
updateMask
)
if
ok
:
if
ok
:
ok
,
event
=
Evt
.
WaitNextEvent
(
mDownMask
|
keyDownMask
|
updateMask
,
30
)
ok
,
event
=
Evt
.
WaitNextEvent
(
Events
.
mDownMask
|
Events
.
keyDownMask
|
Events
.
updateMask
,
30
)
if
ok
:
if
ok
:
(
what
,
message
,
when
,
where
,
modifiers
)
=
event
(
what
,
message
,
when
,
where
,
modifiers
)
=
event
if
what
==
updateEvt
:
if
what
==
Events
.
updateEvt
:
if
Win
.
WhichWindow
(
message
)
==
splash
:
if
Win
.
WhichWindow
(
message
)
==
splash
:
UpdateSplash
(
1
,
whattext
)
UpdateSplash
(
1
,
whattext
)
else
:
else
:
...
...
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