mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2024-12-14 06:31:06 +00:00
Merge pull request #26 from a2-4am/master
always set state of activated radio button to 1
This commit is contained in:
commit
2305dc31f3
7
views.s
7
views.s
@ -1028,11 +1028,14 @@ WGViewFocusAction_toggleRadioLoopNext:
|
||||
dec
|
||||
bpl WGViewFocusAction_toggleRadioLoop
|
||||
LDY_FOCUSVIEW
|
||||
; execution falls through here
|
||||
lda WG_VIEWRECORDS+9,y ; Set the radio button's state and redraw
|
||||
ora #%00000001
|
||||
bra WGViewFocusAction_setStateAndRedraw
|
||||
|
||||
WGViewFocusAction_toggleCheckbox:
|
||||
lda WG_VIEWRECORDS+9,y ; Change the checkbox's state and redraw
|
||||
lda WG_VIEWRECORDS+9,y ; Toggle the checkbox's state and redraw
|
||||
eor #%00000001
|
||||
WGViewFocusAction_setStateAndRedraw:
|
||||
sta WG_VIEWRECORDS+9,y
|
||||
lda WG_FOCUSVIEW
|
||||
jsr WGSelectView
|
||||
|
BIN
weegui.dsk
BIN
weegui.dsk
Binary file not shown.
Loading…
Reference in New Issue
Block a user