gui2: implement OnGetDefaultWidth/Height
This commit is contained in:
@@ -126,11 +126,9 @@ HLayout2_OnLayout_ret:
|
||||
; @clobbers any, !Y
|
||||
|
||||
HLayout2_OnGetDefaultHeight:
|
||||
; rcall Layout_SetDefaultHeights
|
||||
; rcall Layout_GetMaxTmp
|
||||
; bigcall Widget_AddOuterStyleBorders ; (r20, r21)
|
||||
ldi r18, 10
|
||||
clr r19
|
||||
rcall Layout2_SetDefaultHeights
|
||||
rcall Layout2_GetMaxTmp
|
||||
bigcall Widget_AddOuterStyleBorders ; (r20, r21)
|
||||
sec
|
||||
ret
|
||||
|
||||
@@ -146,10 +144,8 @@ HLayout2_OnGetDefaultHeight:
|
||||
; @clobbers any, !Y
|
||||
|
||||
HLayout2_OnGetDefaultWidth:
|
||||
; rcall Layout_SetDefaultWidths
|
||||
; rcall Layout_SumTmpValues ; r19:r18=default width
|
||||
ldi r18, 10
|
||||
clr r19
|
||||
rcall Layout2_SetDefaultWidths
|
||||
rcall Layout2_SumTmpValues ; r19:r18=default width
|
||||
sec
|
||||
ret
|
||||
; @end
|
||||
|
||||
Reference in New Issue
Block a user