mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2024-06-12 13:29:31 +00:00
always set state of activated radio button to 1
This commit is contained in:
parent
3ee5a55b25
commit
c95837c15b
7
views.s
7
views.s
|
@ -1028,11 +1028,14 @@ WGViewFocusAction_toggleRadioLoopNext:
|
||||||
dec
|
dec
|
||||||
bpl WGViewFocusAction_toggleRadioLoop
|
bpl WGViewFocusAction_toggleRadioLoop
|
||||||
LDY_FOCUSVIEW
|
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:
|
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
|
eor #%00000001
|
||||||
|
WGViewFocusAction_setStateAndRedraw:
|
||||||
sta WG_VIEWRECORDS+9,y
|
sta WG_VIEWRECORDS+9,y
|
||||||
lda WG_FOCUSVIEW
|
lda WG_FOCUSVIEW
|
||||||
jsr WGSelectView
|
jsr WGSelectView
|
||||||
|
|
BIN
weegui.dsk
BIN
weegui.dsk
Binary file not shown.
Loading…
Reference in New Issue
Block a user