avr: more work on gui.

This commit is contained in:
Martin Preuss
2026-04-21 00:01:15 +02:00
parent 8c567c3a87
commit 93aa9b46c3
13 changed files with 1475 additions and 60 deletions

View File

@@ -105,12 +105,13 @@ ImageView_Init:
ImageView_SetRessourceId:
std Y+IMAGEVIEW_OFFS_RESSOURCEID_LO, xl
std Y+IMAGEVIEW_OFFS_RESSOURCEID_HI, xh
; force redraw
ldd r16, Y+OBJECT_OFFS_FLAGS
ori r16, (1<<WIDGET_FLAGS_DIRTY_BIT)
std Y+OBJECT_OFFS_FLAGS, r16
; force layout of this and all parent widgets
ldi r16, (1<<WIDGET_FLAGS_LAYOUT_BIT)
bigcall OBJ_AddFlagsUp ; (r17, r18, r19)
; ; force layout of this and all parent widgets
; ldi r16, (1<<WIDGET_FLAGS_LAYOUT_BIT)
; bigcall OBJ_AddFlagsUp ; (r17, r18, r19)
ret
; @end