gui2: implement OnGetDefaultWidth/Height

This commit is contained in:
Martin Preuss
2026-04-12 11:03:10 +02:00
parent 66be348ecd
commit 42b7ce1814
3 changed files with 116 additions and 20 deletions

View File

@@ -204,11 +204,6 @@ mcLayoutVertically:
ldd r25, Y+MCLAYOUT_OFFS_COLUMNS
rcall LayoutCtx_PackYVertical ; (r16, r18, r19, r24, Z)
;mov zl, yl
;mov zh, yh
;bigcall DEBUG_DUMPWDG
ret
; @end
@@ -254,12 +249,6 @@ mcLayoutHorizontally:
ldd r25, Y+MCLAYOUT_OFFS_COLUMNS
rcall LayoutCtx_PackXHorizontal ; (r16, r18, r19, r24, Z)
;bigjmp DEBUG_DUMPCTX ; still correct, maybe packXHorizontal doesn't set pos correctly?
;mov zl, yl
;mov zh, yh
;bigcall DEBUG_DUMPWDG
ret
; @end