c03: added network stats window, fixed some bugs.
This commit is contained in:
@@ -1,33 +1,6 @@
|
||||
|
||||
224 (down begin) E0 1110 0000 7=pressed, 6=coords changed, 5=press changed
|
||||
192 (down) C0 1100 0000 7=pressed, 6=coords changed
|
||||
32 (up) 20 0010 0000 5=press changed
|
||||
|
||||
|
||||
- Button_OnTouch:
|
||||
- event: active touch?
|
||||
- yes:
|
||||
- button already pressed?
|
||||
- yes:
|
||||
- nothing to do
|
||||
- no:
|
||||
- touch inside of button?
|
||||
- yes:
|
||||
- addFlagsDown PRESSED, dirty (show button and children in pressed state)
|
||||
- grab_touch
|
||||
- no:
|
||||
- nothing to do
|
||||
- no:
|
||||
- button in pressed state?
|
||||
- yes:
|
||||
- subFlagsDown(PRESSED), addFlagsDown(DIRTY)
|
||||
- ungrab_touch
|
||||
- emit signal(CLICKED)
|
||||
- no:
|
||||
- nothing to do
|
||||
|
||||
|
||||
|
||||
- label:
|
||||
- use ressource id instead of pointer to text!
|
||||
|
||||
|
||||
- print hex numbers (bytes, words, dwords)
|
||||
|
||||
@@ -438,7 +438,7 @@ guiAppShowCurrent:
|
||||
ldi r16, WIDGET_SIGNAL_SHOW
|
||||
clr r17
|
||||
bigcall OBJ_HandleSignal
|
||||
ldi r16, (1<<WIDGET_FLAGS_ACTIVE_BIT)
|
||||
ldi r16, (1<<WIDGET_FLAGS_ACTIVE_BIT) | (1<<WIDGET_FLAGS_DIRTY_BIT)
|
||||
bigcall Widget_AddFlagsDown
|
||||
guiAppShowCurrent_done:
|
||||
pop zh
|
||||
|
||||
@@ -903,7 +903,7 @@ Widget_Tree_SendTouchSignal:
|
||||
; only check active widgets
|
||||
ldi r20, (1<<WIDGET_OPTSLO_INPUT_BIT)
|
||||
ldi r21, (1<<WIDGET_OPTSLO_INPUT_BIT)
|
||||
rcall Widget_TreeMatchOptsAndSendSignal
|
||||
rcall Widget_TreeMatchOptsAndSendSignalToActive
|
||||
ret
|
||||
; @end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user