c03: added network stats window, fixed some bugs.

This commit is contained in:
Martin Preuss
2026-01-19 23:24:58 +01:00
parent 041f0fad6b
commit 3225350be5
8 changed files with 568 additions and 686 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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