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
|
2022-09-04 20:12:49 +00:00
|
|
|
|
LIBTUI.NewScrn .EQ 8
|
|
|
|
|
LIBTUI.NewDlg .EQ 10
|
|
|
|
|
LIBTUI.NewLabel .EQ 12
|
|
|
|
|
LIBTUI.NewTLine .EQ 14
|
|
|
|
|
LIBTUI.NewTBox .EQ 16
|
|
|
|
|
LIBTUI.NewLBox .EQ 18
|
|
|
|
|
LIBTUI.NewCBox .EQ 20
|
|
|
|
|
LIBTUI.NewBut .EQ 22
|
|
|
|
|
LIBTUI.NewRadio .EQ 24
|
|
|
|
|
LIBTUI.Exec .EQ 26
|
|
|
|
|
LIBTUI.Destroy .EQ 28
|
|
|
|
|
LIBTUI.Run .EQ 30
|
|
|
|
|
LIBTUI.Draw .EQ 32
|
|
|
|
|
LIBTUI.GetProp .EQ 34
|
|
|
|
|
LIBTUI.SetProp .EQ 36
|
|
|
|
|
LIBTUI.Activate .EQ 38
|
|
|
|
|
LIBTUI.Deactivate .EQ 40
|
2021-12-02 21:28:26 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.CTX.hSCRN .EQ 0
|
|
|
|
|
S.CTX.hClipBrd .EQ 1
|
|
|
|
|
S.CTX.W .EQ 2
|
|
|
|
|
S.CTX.H .EQ 3
|
2023-02-10 18:19:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-12-02 21:28:26 +00:00
|
|
|
|
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
|
2023-01-31 06:55:01 +00:00
|
|
|
|
S.OBJ.F.bEdit .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
|
2022-09-04 20:12:49 +00:00
|
|
|
|
S.OBJ.S.bHasChilds .EQ %00100000
|
2021-12-02 21:28:26 +00:00
|
|
|
|
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
|
|
|
|
*--------------------------------------
|
2022-09-04 20:12:49 +00:00
|
|
|
|
S.OBJ.pTitle .EQ 16
|
|
|
|
|
S.OBJ.pMenu .EQ 18
|
|
|
|
|
S.OBJ.pStatus .EQ 20
|
|
|
|
|
S.OBJ.pBuf .EQ 22
|
|
|
|
|
S.OBJ.BufSize .EQ 24
|
2023-03-26 17:42:38 +00:00
|
|
|
|
S.OBJ.pVar .EQ 26
|
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
|
|
|
|
|
*--------------------------------------
|
2022-09-04 20:12:49 +00:00
|
|
|
|
S.TLINE.Ptr .EQ S.OBJ
|
|
|
|
|
S.TLINE.Len .EQ S.OBJ+1
|
|
|
|
|
S.TLINE.HScroll .EQ S.OBJ+2
|
2021-12-02 21:28:26 +00:00
|
|
|
|
*
|
2023-03-26 17:42:38 +00:00
|
|
|
|
S.TLINE .EQ S.OBJ+4
|
2022-09-04 20:12:49 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.TBOX.DocX .EQ S.OBJ
|
|
|
|
|
S.TBOX.DocY .EQ S.OBJ+2
|
|
|
|
|
S.TBOX.HScroll .EQ S.OBJ+4
|
|
|
|
|
S.TBOX.VScroll .EQ S.OBJ+6
|
2023-03-26 17:42:38 +00:00
|
|
|
|
S.TBOX.SelBegin .EQ S.OBJ+8
|
|
|
|
|
S.TBOX.SelEnd .EQ S.OBJ+10
|
|
|
|
|
S.TBOX.BufPtr .EQ S.OBJ+12
|
|
|
|
|
S.TBOX.BufCnt .EQ S.OBJ+14
|
2021-12-02 21:28:26 +00:00
|
|
|
|
*
|
2023-02-10 18:19:29 +00:00
|
|
|
|
S.TBOX .EQ S.OBJ+16
|
2021-12-02 21:28:26 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.LBOX.Idx .EQ S.OBJ+0
|
2023-03-26 17:42:38 +00:00
|
|
|
|
S.LBOX.VScroll .EQ S.OBJ+2
|
2021-12-02 21:28:26 +00:00
|
|
|
|
*
|
2023-03-26 17:42:38 +00:00
|
|
|
|
S.LBOX .EQ S.OBJ+4
|
2021-12-02 21:28:26 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.CBOX.HotKey .EQ S.OBJ+0
|
|
|
|
|
S.CBOX.EV .EQ S.OBJ+1
|
|
|
|
|
S.CBOX.pLabel .EQ S.OBJ+2
|
|
|
|
|
*
|
2023-03-26 17:42:38 +00:00
|
|
|
|
S.CBOX .EQ S.OBJ+4
|
2021-12-02 21:28:26 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
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
|
2023-03-26 17:42:38 +00:00
|
|
|
|
S.RADIO.Idx .EQ S.OBJ+2
|
2021-04-15 20:52:08 +00:00
|
|
|
|
*
|
2023-03-26 17:42:38 +00:00
|
|
|
|
S.RADIO .EQ S.OBJ+4
|
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
|
2023-03-26 17:42:38 +00:00
|
|
|
|
EV.HL.SELECTED .EQ $82
|
|
|
|
|
EV.HL.PRESSED .EQ $83
|
2021-09-07 12:32:31 +00:00
|
|
|
|
*--------------------------------------
|
2021-04-15 20:52:08 +00:00
|
|
|
|
MAN
|
|
|
|
|
SAVE inc/libtui.i
|