mirror of
https://github.com/A2osX/A2osX.git
synced 2025-01-12 01:30:36 +00:00
LIBTUI: DLG fixes
This commit is contained in:
parent
c3d9f28c22
commit
9abd365415
Binary file not shown.
@ -84,7 +84,7 @@ S.OBJ.pVar .EQ 26
|
||||
*--------------------------------------
|
||||
S.OBJ.Childs .EQ 32
|
||||
*
|
||||
S.OBJ .EQ 48
|
||||
S.OBJ .EQ 64
|
||||
*--------------------------------------
|
||||
S.SCRN .EQ S.OBJ
|
||||
*--------------------------------------
|
||||
|
@ -24,17 +24,19 @@ DLG.New lda #S.OBJ.T.DLG
|
||||
>SYSCALL2 GetMemPtr
|
||||
>STYA ZPPtr2
|
||||
|
||||
ldy #S.OBJ.W
|
||||
ldy #S.CTX.W
|
||||
lda (ZPPtr2),y
|
||||
sec
|
||||
ldy #S.OBJ.W
|
||||
sbc (ZPObjPtr),y
|
||||
lsr
|
||||
ldy #S.OBJ.X1
|
||||
sta (ZPObjPtr),y
|
||||
|
||||
ldy #S.OBJ.H
|
||||
ldy #S.CTX.H
|
||||
lda (ZPPtr2),y
|
||||
sec
|
||||
ldy #S.OBJ.H
|
||||
sbc (ZPObjPtr),y
|
||||
lsr
|
||||
ldy #S.OBJ.Y1
|
||||
|
@ -182,7 +182,6 @@ OBJ.SetX2Y2 ldy #S.OBJ.X1
|
||||
*--------------------------------------
|
||||
OBJ.Exec >PUSHA hOBJ
|
||||
jsr LIB.GetOBJ
|
||||
|
||||
jsr LIB.GetCTX
|
||||
|
||||
.1 jsr IO.GetC
|
||||
|
@ -297,10 +297,11 @@ LIB.GetCTX >LDYA ZPObjPtr
|
||||
>STYA ZPCtxPtr
|
||||
|
||||
.1 lda (ZPCtxPtr)
|
||||
* cmp #S.OBJ.T.SCRN
|
||||
beq .8
|
||||
cmp #S.OBJ.T.DLG+1
|
||||
bcc .8
|
||||
|
||||
jsr .8
|
||||
|
||||
bra .1
|
||||
|
||||
.8 ldy #S.OBJ.hParent
|
||||
|
Loading…
x
Reference in New Issue
Block a user