mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2025-02-01 07:32:42 +00:00
Merge pull request #23 from a2-4am/master
add WGPendingClick and WGClearPendingClick
This commit is contained in:
commit
f3a72567a0
@ -565,6 +565,18 @@ Not available
|
||||
</table>
|
||||
|
||||
|
||||
####WGClearPendingClick
|
||||
Clear the currently pending click, if any. Most programs shouldn't need this, but you can use it to do your own low-level click handling if you wish.
|
||||
|
||||
<table width="100%">
|
||||
<tr><th>Assembly</th><th>Applesoft</th></tr><tr><td><pre>
|
||||
X: WGClearPendingClick
|
||||
</td><td>
|
||||
Not available
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
####WGViewFocus
|
||||
Focus is shifted to the currently selected view. This will highlight the view visually, as needed, and any affected views are redrawn as needed.
|
||||
|
||||
|
@ -75,4 +75,6 @@ WGStrokeRoundRect = 82
|
||||
WGCreateRadio = 84
|
||||
WGReset = 86
|
||||
WGGetState = 88
|
||||
WGPendingClick = 90
|
||||
WGClearPendingClick = 92
|
||||
|
||||
|
10
views.s
10
views.s
@ -1185,6 +1185,16 @@ WGPendingClick_done:
|
||||
rts
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; WGClearPendingClick
|
||||
; clear mouse coordinates
|
||||
;
|
||||
WGClearPendingClick:
|
||||
stz WG_MOUSECLICK_X
|
||||
dec WG_MOUSECLICK_X
|
||||
rts
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; WGViewSetTitle
|
||||
; Sets the title of the active view
|
||||
|
BIN
weegui.dsk
BIN
weegui.dsk
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user