2015-03-23 07:28:03 +00:00
|
|
|
|
NEW
|
2019-07-07 20:48:57 +00:00
|
|
|
|
AUTO 3,1
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
2022-10-18 05:56:59 +00:00
|
|
|
|
LIBGUI.PTR.Set .EQ 4
|
|
|
|
|
LIBGUI.PTR.SetPos .EQ 6
|
|
|
|
|
LIBGUI.PTR.Hide .EQ 8
|
|
|
|
|
LIBGUI.PTR.Show .EQ 10
|
|
|
|
|
LIBGUI.PTR.Update .EQ 12
|
2022-10-26 06:12:16 +00:00
|
|
|
|
*LIBGUI.ReadMouse .EQ 14
|
2022-10-18 05:56:59 +00:00
|
|
|
|
LIBGUI.DRAW.Line .EQ 16
|
2020-10-26 06:38:50 +00:00
|
|
|
|
LIBGUI.OBJ.SetProp .EQ 18
|
|
|
|
|
LIBGUI.OBJ.GetProp .EQ 20
|
|
|
|
|
LIBGUI.WND.New .EQ 22
|
2022-10-09 21:22:46 +00:00
|
|
|
|
LIBGUI.WND.Destroy .EQ 24
|
2020-09-08 15:31:41 +00:00
|
|
|
|
LIBGUI.WND.Show .EQ 26
|
2020-10-01 15:30:25 +00:00
|
|
|
|
LIBGUI.WND.Paint .EQ 28
|
2022-10-18 05:56:59 +00:00
|
|
|
|
LIBGUI.WND.SetMBar .EQ 30
|
|
|
|
|
LIBGUI.MSG.Get .EQ 32
|
2022-10-26 06:12:16 +00:00
|
|
|
|
*LIBGUI.MBAR.New .EQ 34
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*--------------------------------------
|
2020-09-15 14:48:35 +00:00
|
|
|
|
C.BLACK .EQ 0
|
2020-09-13 19:05:38 +00:00
|
|
|
|
C16.D.BLUE .EQ 1
|
|
|
|
|
C16.D.GREEN .EQ 2
|
|
|
|
|
C16.M.BLUE .EQ 3
|
|
|
|
|
C16.BROWN .EQ 4
|
|
|
|
|
C16.GREY2 .EQ 5
|
|
|
|
|
C16.GREEN .EQ 6
|
|
|
|
|
C16.AQUA .EQ 7
|
|
|
|
|
C16.MAGENTA .EQ 8
|
|
|
|
|
C16.VIOLET .EQ 9
|
|
|
|
|
C16.GREY1 .EQ 10
|
|
|
|
|
C16.L.BLUE .EQ 11
|
|
|
|
|
C16.ORANGE .EQ 12
|
|
|
|
|
C16.PINK .EQ 13
|
|
|
|
|
C16.YELLOW .EQ 14
|
2020-09-15 14:48:35 +00:00
|
|
|
|
C.WHITE .EQ 255
|
2020-09-13 19:05:38 +00:00
|
|
|
|
*--------------------------------------
|
2022-10-27 06:20:09 +00:00
|
|
|
|
BM.ID.APPLE .EQ 2
|
|
|
|
|
BM.ID.CLOSE .EQ 4
|
|
|
|
|
BM.ID.MAX .EQ 6
|
|
|
|
|
BM.ID.MIN .EQ 8
|
|
|
|
|
BM.ID.LEFT .EQ 10
|
|
|
|
|
BM.ID.RIGHT .EQ 12
|
|
|
|
|
BM.ID.UP .EQ 14
|
|
|
|
|
BM.ID.DOWN .EQ 16
|
2022-10-27 15:14:06 +00:00
|
|
|
|
BM.ID.INFO .EQ 18
|
2022-10-27 06:20:09 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
BUT.ID.OK .EQ 1
|
|
|
|
|
BUT.ID.CANCEL .EQ 2
|
|
|
|
|
BUT.ID.RETRY .EQ 4
|
|
|
|
|
BUT.ID.IGNORE .EQ 8
|
|
|
|
|
BUT.ID.YES .EQ 16
|
|
|
|
|
BUT.ID.NO .EQ 32
|
|
|
|
|
*--------------------------------------
|
2022-10-18 05:56:59 +00:00
|
|
|
|
PTR.T.ARROW .EQ 0
|
|
|
|
|
PTR.T.MOVE .EQ 2
|
|
|
|
|
PTR.T.RESIZEX .EQ 4
|
|
|
|
|
PTR.T.RESIZEY .EQ 6
|
|
|
|
|
PTR.T.RESIZEXY1 .EQ 8
|
|
|
|
|
PTR.T.RESIZEXY2 .EQ 10
|
|
|
|
|
PTR.T.CROSS .EQ 12
|
|
|
|
|
PTR.T.TEXT .EQ 14
|
|
|
|
|
PTR.T.WAIT .EQ 16
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
KEYMOD.CTRL .EQ %10000000
|
|
|
|
|
KEYMOD.OA .EQ %01000000
|
|
|
|
|
KEYMOD.CA .EQ %00100000
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*--------------------------------------
|
2022-10-09 21:22:46 +00:00
|
|
|
|
S.MSG.T .EQ 0
|
|
|
|
|
S.MSG.T.KEY .EQ 0
|
|
|
|
|
S.MSG.T.XY .EQ 2
|
|
|
|
|
S.MSG.T.ID .EQ 4
|
|
|
|
|
S.MSG.T.WND .EQ 6
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*
|
2022-10-09 21:22:46 +00:00
|
|
|
|
S.MSG.KEYMOD .EQ 2
|
|
|
|
|
S.MSG.KEYMOD.OA .EQ %00000001
|
|
|
|
|
S.MSG.KEYMOD.CA .EQ %00000010
|
|
|
|
|
S.MSG.KEY .EQ 3
|
|
|
|
|
S.MSG.ID .EQ 4
|
|
|
|
|
S.MSG.WND .EQ 5
|
|
|
|
|
* S.MSG.T.XY
|
|
|
|
|
S.MSG.X1 .EQ 6
|
|
|
|
|
S.MSG.Y1 .EQ 8
|
|
|
|
|
S.MSG.X2 .EQ 10
|
|
|
|
|
S.MSG.Y2 .EQ 12
|
|
|
|
|
S.MSG.S .EQ 14
|
|
|
|
|
S.MSG.S.UP .EQ %00000001
|
|
|
|
|
S.MSG.S.DOWN .EQ %00000010
|
|
|
|
|
S.MSG.S.MOVE .EQ %00000100
|
|
|
|
|
S.MSG.S.DRAGSTART .EQ %00001000
|
|
|
|
|
S.MSG.S.DRAGEND .EQ %00010000
|
|
|
|
|
S.MSG.S.CLK .EQ %00100000
|
|
|
|
|
S.MSG.S.DCLK .EQ %01000000
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
S.MSG .EQ 16
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.POINT.X .EQ 0
|
|
|
|
|
S.POINT.Y .EQ 2
|
|
|
|
|
*
|
|
|
|
|
S.POINT .EQ 4
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.RECT.X1 .EQ 0
|
|
|
|
|
S.RECT.Y1 .EQ 2
|
|
|
|
|
S.RECT.X2 .EQ 4
|
|
|
|
|
S.RECT.Y2 .EQ 6
|
|
|
|
|
*
|
|
|
|
|
S.RECT .EQ 8
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.OBJ.T .EQ 0
|
2020-09-07 20:40:50 +00:00
|
|
|
|
S.OBJ.T.WND .EQ 0
|
2020-09-08 15:31:41 +00:00
|
|
|
|
S.OBJ.T.MBAR .EQ 2
|
2020-09-07 20:40:50 +00:00
|
|
|
|
S.OBJ.T.MENU .EQ 4
|
|
|
|
|
S.OBJ.T.MITEM .EQ 6
|
|
|
|
|
S.OBJ.T.BUT .EQ 8
|
|
|
|
|
S.OBJ.T.TEXT .EQ 10
|
2019-01-10 16:26:58 +00:00
|
|
|
|
|
|
|
|
|
S.OBJ.F .EQ 1
|
|
|
|
|
S.OBJ.S .EQ 2
|
2020-09-08 15:31:41 +00:00
|
|
|
|
S.OBJ.S.VISIBLE .EQ %10000000
|
2019-01-10 16:26:58 +00:00
|
|
|
|
S.OBJ.ID .EQ 3
|
|
|
|
|
S.OBJ.hOWNER .EQ 4
|
|
|
|
|
S.OBJ.hPARENT .EQ 6
|
|
|
|
|
|
|
|
|
|
S.OBJ.X1 .EQ 8
|
|
|
|
|
S.OBJ.Y1 .EQ 10
|
|
|
|
|
S.OBJ.X2 .EQ 12
|
|
|
|
|
S.OBJ.Y2 .EQ 14
|
|
|
|
|
S.OBJ.W .EQ 16
|
|
|
|
|
S.OBJ.H .EQ 18
|
|
|
|
|
*
|
2020-10-06 06:27:35 +00:00
|
|
|
|
S.OBJ .EQ 20
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.WND.F.RESIZE .EQ %00000001
|
|
|
|
|
S.WND.F.MOVE .EQ %00000010
|
|
|
|
|
S.WND.F.CLOSE .EQ %00000100
|
2020-09-13 19:05:38 +00:00
|
|
|
|
S.WND.F.MIN .EQ %00001000
|
|
|
|
|
S.WND.F.MAX .EQ %00010000
|
2019-01-10 16:26:58 +00:00
|
|
|
|
S.WND.F.BORDER .EQ %00100000
|
|
|
|
|
S.WND.F.MODAL .EQ %01000000
|
|
|
|
|
S.WND.F.SYSMODAL .EQ %10000000
|
|
|
|
|
*
|
2020-09-29 15:37:26 +00:00
|
|
|
|
S.WND.S.HASTBAR .EQ %00000001
|
|
|
|
|
S.WND.S.HASMBAR .EQ %00000010
|
|
|
|
|
S.WND.S.HASSBAR .EQ %00000100
|
2020-09-15 06:12:52 +00:00
|
|
|
|
S.WND.S.MAXIMIZED .EQ %00001000
|
|
|
|
|
S.WND.S.MINIMIZED .EQ %00010000
|
2020-09-13 19:05:38 +00:00
|
|
|
|
S.WND.S.ACTIVE .EQ %01000000
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*
|
|
|
|
|
S.WND.MinW .EQ S.OBJ
|
|
|
|
|
S.WND.MinH .EQ S.OBJ+2
|
2022-10-18 05:56:59 +00:00
|
|
|
|
S.WND.pTITLE .EQ S.OBJ+4
|
|
|
|
|
S.WND.pMBAR .EQ S.OBJ+6
|
|
|
|
|
S.WND.pSTATUS .EQ S.OBJ+8
|
2020-09-13 19:05:38 +00:00
|
|
|
|
S.WND.ICON .EQ S.OBJ+10
|
|
|
|
|
S.WND.BGCOLOR .EQ S.OBJ+12
|
|
|
|
|
S.WND.BGBM .EQ S.OBJ+14
|
|
|
|
|
S.WND.hCUR .EQ S.OBJ+16
|
2022-10-18 05:56:59 +00:00
|
|
|
|
*
|
|
|
|
|
* private
|
|
|
|
|
*
|
2020-09-13 19:05:38 +00:00
|
|
|
|
S.WND.TitleX1 .EQ S.OBJ+18
|
|
|
|
|
S.WND.TitleX2 .EQ S.OBJ+20
|
2022-10-25 06:05:54 +00:00
|
|
|
|
*
|
|
|
|
|
S.WND.TBarY1 .EQ S.OBJ+20
|
2020-10-02 14:57:05 +00:00
|
|
|
|
S.WND.TBarY2 .EQ S.OBJ+22
|
2020-10-20 06:01:04 +00:00
|
|
|
|
S.WND.MBarY1 .EQ S.OBJ+22
|
2020-10-02 14:57:05 +00:00
|
|
|
|
S.WND.MBarY2 .EQ S.OBJ+24
|
2022-10-25 06:05:54 +00:00
|
|
|
|
S.WND.InnerY1 .EQ S.OBJ+26
|
|
|
|
|
S.WND.InnerY2 .EQ S.OBJ+28
|
|
|
|
|
S.WND.SBarY1 .EQ S.OBJ+28
|
|
|
|
|
|
|
|
|
|
S.WND.InnerW .EQ S.OBJ+32
|
|
|
|
|
S.WND.InnerH .EQ S.OBJ+34
|
|
|
|
|
S.WND.DocW .EQ S.OBJ+36
|
|
|
|
|
S.WND.DocH .EQ S.OBJ+38
|
|
|
|
|
S.WND.DocX .EQ S.OBJ+40
|
|
|
|
|
S.WND.DocY .EQ S.OBJ+42
|
|
|
|
|
S.WND.fPaint .EQ S.OBJ+44
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*
|
2022-10-25 06:05:54 +00:00
|
|
|
|
S.WND .EQ S.OBJ+46
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*--------------------------------------
|
2022-10-25 06:05:54 +00:00
|
|
|
|
S.MBAR.Items .EQ S.OBJ
|
2022-10-18 05:56:59 +00:00
|
|
|
|
*
|
|
|
|
|
*--------------------------------------
|
2022-10-25 06:05:54 +00:00
|
|
|
|
S.MBITEM.T .EQ 0
|
|
|
|
|
S.MBITEM.T.SUBMENU .EQ 6
|
|
|
|
|
S.MBITEM.S .EQ 1
|
|
|
|
|
S.MBITEM.S.SELECTED .EQ %10000000
|
|
|
|
|
S.MBITEM.W .EQ 2
|
|
|
|
|
S.MBITEM.pTEXT .EQ 4
|
|
|
|
|
S.MBITEM.pMENU .EQ 6
|
2022-10-18 05:56:59 +00:00
|
|
|
|
*
|
2022-10-25 06:05:54 +00:00
|
|
|
|
S.MBITEM .EQ 8
|
2022-10-18 05:56:59 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.MENU.hSAVEBUF .EQ S.OBJ+0
|
|
|
|
|
S.MENU.iW .EQ S.OBJ+2
|
|
|
|
|
S.MENU.tW .EQ S.OBJ+4
|
|
|
|
|
S.MENU.kW .EQ S.OBJ+6
|
|
|
|
|
S.MENU.Items .EQ S.OBJ+8
|
|
|
|
|
*
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.MITEM.T .EQ 0
|
|
|
|
|
S.MITEM.T.SEP .EQ 2
|
|
|
|
|
S.MITEM.T.ITEM .EQ 4
|
|
|
|
|
S.MITEM.T.SUBMENU .EQ 6
|
|
|
|
|
S.MITEM.S .EQ 1
|
|
|
|
|
S.MITEM.S.SELECTED .EQ %10000000
|
|
|
|
|
S.MITEM.S.DISABLED .EQ %00000010
|
|
|
|
|
S.MITEM.S.CHECKED .EQ %00000001
|
|
|
|
|
S.MITEM.pICON .EQ 2
|
|
|
|
|
S.MITEM.pTEXT .EQ 4
|
2020-10-12 06:04:19 +00:00
|
|
|
|
S.MITEM.pMENU .EQ 6
|
2022-10-18 05:56:59 +00:00
|
|
|
|
S.MITEM.KEYMOD .EQ 8
|
|
|
|
|
S.MITEM.KEY .EQ 9
|
|
|
|
|
S.MITEM.ID .EQ 10
|
|
|
|
|
*
|
|
|
|
|
S.MITEM .EQ 12
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.BUT.F.DISABLED .EQ %10000000
|
|
|
|
|
*
|
|
|
|
|
S.BUT.S.PUSHED .EQ %10000000
|
|
|
|
|
*
|
|
|
|
|
S.BUT.hBM .EQ S.OBJ
|
2020-09-08 15:31:41 +00:00
|
|
|
|
S.BUT.TEXT .EQ S.OBJ+2
|
2019-01-10 16:26:58 +00:00
|
|
|
|
* ...
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.TEXT.F.DISABLED .EQ %10000000
|
|
|
|
|
*
|
|
|
|
|
S.TEXT.hBM .EQ S.OBJ
|
|
|
|
|
S.TEXT.TEXTX .EQ S.OBJ+2
|
|
|
|
|
S.TEXT.TEXTY .EQ S.OBJ+4
|
|
|
|
|
S.TEXT.TEXTLEN .EQ S.OBJ+6
|
|
|
|
|
S.TEXT.TEXT .EQ S.OBJ+8
|
|
|
|
|
* ...
|
2017-11-28 16:32:38 +00:00
|
|
|
|
*--------------------------------------
|
2015-03-23 07:28:03 +00:00
|
|
|
|
MAN
|
2020-09-07 20:40:50 +00:00
|
|
|
|
SAVE inc/libgui.i
|