gui2: more code sharing.

This commit is contained in:
Martin Preuss
2026-04-13 10:56:07 +02:00
parent 0da8170df7
commit 7a58c4a8ad
2 changed files with 17 additions and 44 deletions

View File

@@ -1476,6 +1476,7 @@ widgetCalcAbsPosAndBorders:
; @param R13:R12 size of object to pack (i.e. width or height)
; @return R21:R20 pos
; @clobbers r17, r18, r19
; @todo move layoutPack here and use that (shares more code)
widgetPack:
; subtract borders