avr: more work on c03 and gui.
This commit is contained in:
@@ -237,7 +237,6 @@ netStatWinCreateLabel:
|
||||
; @routine netStatWinCreateValueLabel
|
||||
;
|
||||
; @param X parent (content sub-window of main window)
|
||||
; @param r21:r20 id of text ressource
|
||||
; @return CFLAG set if created, cleared otherwise
|
||||
; @return Y new object created
|
||||
; @clobbers !X
|
||||
@@ -248,7 +247,8 @@ netStatWinCreateValueLabel:
|
||||
ldi r16, 0
|
||||
ldi r17, (WIDGET_PACK_FILLED<<WIDGET_PACK_HSELF0_BIT) | (WIDGET_PACK_CENTER<<WIDGET_PACK_VSELF0_BIT) | \
|
||||
(WIDGET_PACK_END<<WIDGET_PACK_HCONTENT0_BIT) | (WIDGET_PACK_CENTER<<WIDGET_PACK_VCONTENT0_BIT)
|
||||
clr r20
|
||||
clr r20 ; postkomma digits
|
||||
clr r21 ; total digits (variable)
|
||||
bigcall ValueLabel_new
|
||||
pop xh
|
||||
pop xl
|
||||
|
||||
Reference in New Issue
Block a user