gui2: improved signal handling, make use of secondary signal maps.
This commit is contained in:
@@ -34,12 +34,13 @@
|
||||
; @return Y address of newly created object
|
||||
; @param r16 value for OBJECT_OFFS_OPTS_LO
|
||||
; @param r17 value for OBJECT_OFFS_OPTS_HI
|
||||
; @param X parent widget
|
||||
; @clobbers any
|
||||
|
||||
MainWindow_new:
|
||||
ldi r24, LOW(MAINWINDOW_SIZE)
|
||||
ldi r25, HIGH(MAINWINDOW_SIZE)
|
||||
bigcall Object_Alloc ; (!r16, !r17)
|
||||
bigcall Object_Alloc ; (!r16, !r17, !X)
|
||||
brcc MainWindow_new_ret
|
||||
rcall MainWindow_Init ; (r16, r17, X)
|
||||
sec
|
||||
@@ -53,6 +54,7 @@ MainWindow_new_ret:
|
||||
; @routine MainWindow_Init @global
|
||||
;
|
||||
; @param Y address of widget
|
||||
; @param X parent widget (if any)
|
||||
; @clobbers r16, r17, X
|
||||
|
||||
MainWindow_Init:
|
||||
|
||||
Reference in New Issue
Block a user