Added setwatchcursor() and setarrowcursor() functions

This commit is contained in:
Jack Jansen 1996-08-28 13:53:07 +00:00
parent a1293dae7b
commit 4634130aad
1 changed files with 10 additions and 0 deletions

View File

@ -78,6 +78,16 @@ def windowbounds(width, height):
next_window_x, next_window_y = next_window_x + 8, next_window_y + 20 # jvr next_window_x, next_window_y = next_window_x + 8, next_window_y + 20 # jvr
return l, t, r, b return l, t, r, b
_watch = None
def setwatchcursor():
global _watch
if _watch == None:
_watch = GetCursor(4).data
SetCursor(_watch)
def setarrowcursor():
SetCursor(qd.arrow)
class Application: class Application: