2021-04-15 20:52:08 +00:00
|
|
|
|
NEW
|
|
|
|
|
AUTO 3,1
|
|
|
|
|
*--------------------------------------
|
2021-09-07 12:32:31 +00:00
|
|
|
|
LIBTUI.Init .EQ 4
|
2021-12-02 21:28:26 +00:00
|
|
|
|
LIBTUI.Close .EQ 6
|
|
|
|
|
LIBTUI.New .EQ 8
|
|
|
|
|
LIBTUI.Exec .EQ 10
|
|
|
|
|
LIBTUI.Destroy .EQ 12
|
|
|
|
|
LIBTUI.Run .EQ 14
|
|
|
|
|
LIBTUI.Draw .EQ 16
|
|
|
|
|
LIBTUI.GetProp .EQ 18
|
|
|
|
|
LIBTUI.SetProp .EQ 20
|
|
|
|
|
LIBTUI.Activate .EQ 22
|
|
|
|
|
LIBTUI.Deactivate .EQ 24
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.CTX.hSCRN .EQ 0
|
|
|
|
|
S.CTX.hClipBrd .EQ 1
|
|
|
|
|
S.CTX.W .EQ 2
|
|
|
|
|
S.CTX.H .EQ 3
|
|
|
|
|
S.CTX.bEscMode .EQ 14
|
|
|
|
|
S.CTX.InBufPtr .EQ 15
|
|
|
|
|
*
|
|
|
|
|
S.CTX.InBuf .EQ 16
|
|
|
|
|
S.CTX.EndBuf .EQ 31
|
|
|
|
|
*
|
|
|
|
|
S.CTX .EQ 32
|
2021-04-15 20:52:08 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.OBJ.T .EQ 0
|
2021-04-29 11:56:34 +00:00
|
|
|
|
S.OBJ.T.SCRN .EQ 0
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.OBJ.T.DLG .EQ 2
|
|
|
|
|
S.OBJ.T.LABEL .EQ 4
|
|
|
|
|
S.OBJ.T.TLINE .EQ 6
|
|
|
|
|
S.OBJ.T.TBOX .EQ 8
|
|
|
|
|
S.OBJ.T.LBOX .EQ 10
|
|
|
|
|
S.OBJ.T.CBOX .EQ 12
|
|
|
|
|
S.OBJ.T.BUT .EQ 14
|
|
|
|
|
S.OBJ.T.RADIO .EQ 16
|
2021-09-07 12:32:31 +00:00
|
|
|
|
S.OBJ.F .EQ 1
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.OBJ.F.bTitle .EQ %10000000
|
|
|
|
|
S.OBJ.F.bMenu .EQ %01000000
|
|
|
|
|
S.OBJ.F.bStatus .EQ %00100000
|
2021-08-13 18:34:20 +00:00
|
|
|
|
S.OBJ.F.bHBorder .EQ %00010000
|
|
|
|
|
S.OBJ.F.bVBorder .EQ %00001000
|
2021-09-07 12:32:31 +00:00
|
|
|
|
S.OBJ.F.bHScroll .EQ %00000100
|
|
|
|
|
S.OBJ.F.bVScroll .EQ %00000010
|
|
|
|
|
S.OBJ.F.bCursor .EQ %00000001
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.OBJ.S .EQ 2
|
|
|
|
|
S.OBJ.S.bActive .EQ %10000000
|
|
|
|
|
S.OBJ.S.bDisabled .EQ %01000000
|
|
|
|
|
S.OBJ.S.bCurOn .EQ %00000001
|
|
|
|
|
S.OBJ.hParent .EQ 3
|
2021-04-15 20:52:08 +00:00
|
|
|
|
S.OBJ.X1 .EQ 4
|
|
|
|
|
S.OBJ.Y1 .EQ 5
|
|
|
|
|
S.OBJ.W .EQ 6
|
|
|
|
|
S.OBJ.H .EQ 7
|
2021-09-07 12:32:31 +00:00
|
|
|
|
*--------------------------------------
|
2021-04-15 20:52:08 +00:00
|
|
|
|
S.OBJ.X2 .EQ 8
|
|
|
|
|
S.OBJ.Y2 .EQ 9
|
2021-09-07 12:32:31 +00:00
|
|
|
|
S.OBJ.InnerX .EQ 10
|
|
|
|
|
S.OBJ.InnerY .EQ 11
|
|
|
|
|
S.OBJ.InnerW .EQ 12
|
|
|
|
|
S.OBJ.InnerH .EQ 13
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.OBJ.CurX .EQ 14
|
|
|
|
|
S.OBJ.CurY .EQ 15
|
2021-09-07 12:32:31 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.OBJ.pTITLE .EQ 16
|
|
|
|
|
S.OBJ.pMENU .EQ 18
|
|
|
|
|
S.OBJ.pSTATUS .EQ 20
|
2021-08-13 18:34:20 +00:00
|
|
|
|
*
|
2021-09-07 12:32:31 +00:00
|
|
|
|
*--------------------------------------
|
2021-08-13 18:34:20 +00:00
|
|
|
|
S.OBJ.Childs .EQ 32
|
|
|
|
|
*
|
|
|
|
|
S.OBJ .EQ 48
|
|
|
|
|
*--------------------------------------
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.SCRN .EQ S.OBJ
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.DLG .EQ S.OBJ
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.LABEL.pLabel .EQ S.OBJ+0
|
2021-08-13 18:34:20 +00:00
|
|
|
|
*
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.LABEL .EQ S.OBJ+2
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.TLINE.pBuf .EQ S.OBJ+0
|
|
|
|
|
S.TLINE.Ptr .EQ S.OBJ+2
|
|
|
|
|
S.TLINE.Len .EQ S.OBJ+3
|
|
|
|
|
S.TLINE.MaxLen .EQ S.OBJ+4
|
|
|
|
|
S.TLINE.HScroll .EQ S.OBJ+5
|
|
|
|
|
*
|
|
|
|
|
S.TLINE .EQ S.OBJ+6
|
2021-04-15 20:52:08 +00:00
|
|
|
|
*--------------------------------------
|
2021-09-07 12:32:31 +00:00
|
|
|
|
S.TBOX.hBuf .EQ S.OBJ+0
|
|
|
|
|
*
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.TBOX.BufSize .EQ S.OBJ+2
|
2021-09-07 12:32:31 +00:00
|
|
|
|
S.TBOX.DocX .EQ S.OBJ+4
|
|
|
|
|
S.TBOX.DocY .EQ S.OBJ+6
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.TBOX.HScroll .EQ S.OBJ+8
|
|
|
|
|
S.TBOX.VScroll .EQ S.OBJ+10
|
|
|
|
|
S.TBOX.BufPtr .EQ S.OBJ+12
|
|
|
|
|
S.TBOX.BufCnt .EQ S.OBJ+14
|
|
|
|
|
S.TBOX.SelBegin .EQ S.OBJ+16
|
|
|
|
|
S.TBOX.SelEnd .EQ S.OBJ+18
|
|
|
|
|
S.TBOX.bSelect .EQ S.OBJ+20
|
|
|
|
|
*
|
|
|
|
|
S.TBOX .EQ S.OBJ+21
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.LBOX.Idx .EQ S.OBJ+0
|
|
|
|
|
S.LBOX.VScroll .EQ S.OBJ+1
|
|
|
|
|
S.LBOX.pList .EQ S.OBJ+2
|
|
|
|
|
S.LBOX.pVar .EQ S.OBJ+4
|
|
|
|
|
*
|
|
|
|
|
S.LBOX .EQ S.OBJ+6
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.CBOX.HotKey .EQ S.OBJ+0
|
|
|
|
|
S.CBOX.EV .EQ S.OBJ+1
|
|
|
|
|
S.CBOX.pLabel .EQ S.OBJ+2
|
|
|
|
|
S.CBOX.pVar .EQ S.OBJ+4
|
|
|
|
|
*
|
|
|
|
|
S.CBOX .EQ S.OBJ+6
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.BUT.HotKey .EQ S.OBJ+0
|
|
|
|
|
S.BUT.EV .EQ S.OBJ+1
|
|
|
|
|
S.BUT.pLabel .EQ S.OBJ+2
|
2021-09-07 12:32:31 +00:00
|
|
|
|
*
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.BUT .EQ S.OBJ+4
|
2021-09-07 12:32:31 +00:00
|
|
|
|
*--------------------------------------
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.RADIO.HotKey .EQ S.OBJ+0
|
|
|
|
|
S.RADIO.EV .EQ S.OBJ+1
|
|
|
|
|
S.RADIO.pList .EQ S.OBJ+2
|
|
|
|
|
S.RADIO.pVar .EQ S.OBJ+4
|
|
|
|
|
S.RADIO.Idx .EQ S.OBJ+6
|
2021-04-15 20:52:08 +00:00
|
|
|
|
*
|
2021-12-02 21:28:26 +00:00
|
|
|
|
S.RADIO .EQ S.OBJ+8
|
2021-04-15 20:52:08 +00:00
|
|
|
|
*--------------------------------------
|
2021-09-07 12:32:31 +00:00
|
|
|
|
EV.RESIZE .EQ $80
|
2021-12-02 21:28:26 +00:00
|
|
|
|
EV.QUIT .EQ $81
|
2021-09-07 12:32:31 +00:00
|
|
|
|
*--------------------------------------
|
2021-04-15 20:52:08 +00:00
|
|
|
|
MAN
|
|
|
|
|
SAVE inc/libtui.i
|