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
|
|
|
|
*--------------------------------------
|
2020-10-01 15:30:25 +00:00
|
|
|
|
LIBGUI.SetCursor .EQ 4
|
|
|
|
|
LIBGUI.SetCursorPos .EQ 6
|
|
|
|
|
LIBGUI.HideCursor .EQ 8
|
|
|
|
|
LIBGUI.ShowCursor .EQ 10
|
|
|
|
|
LIBGUI.UpdateCursor .EQ 12
|
|
|
|
|
LIBGUI.ReadMouse .EQ 14
|
2020-10-02 14:57:05 +00:00
|
|
|
|
LIBGUI.DrawLine .EQ 16
|
2020-10-01 15:30:25 +00:00
|
|
|
|
LIBGUI.WND.New .EQ 18
|
|
|
|
|
LIBJUI.WND.Destroy .EQ 20
|
2020-09-08 15:31:41 +00:00
|
|
|
|
LIBGUI.WND.SetProp .EQ 22
|
|
|
|
|
LIBGUI.WND.GetProp .EQ 24
|
|
|
|
|
LIBGUI.WND.Show .EQ 26
|
2020-10-01 15:30:25 +00:00
|
|
|
|
LIBGUI.WND.Paint .EQ 28
|
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
|
|
|
|
*--------------------------------------
|
2019-01-10 16:26:58 +00:00
|
|
|
|
CUR.T.ARROW .EQ 0
|
|
|
|
|
CUR.T.RESIZEX .EQ 2
|
|
|
|
|
CUR.T.RESIZEY .EQ 4
|
|
|
|
|
CUR.T.RESIZEXY1 .EQ 6
|
|
|
|
|
CUR.T.RESIZEXY2 .EQ 8
|
|
|
|
|
CUR.T.CROSS .EQ 10
|
|
|
|
|
CUR.T.TEXT .EQ 12
|
|
|
|
|
CUR.T.WAIT .EQ 14
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.MOUSE.X1 .EQ 0
|
|
|
|
|
S.MOUSE.Y1 .EQ 2
|
|
|
|
|
S.MOUSE.X2 .EQ 4
|
|
|
|
|
S.MOUSE.Y2 .EQ 6
|
|
|
|
|
S.MOUSE.S .EQ 8
|
|
|
|
|
S.MOUSE.S.UP .EQ %00000001
|
|
|
|
|
S.MOUSE.S.DOWN .EQ %00000010
|
|
|
|
|
S.MOUSE.S.MOVE .EQ %00000100
|
|
|
|
|
S.MOUSE.S.DRAGSTART .EQ %00001000
|
|
|
|
|
S.MOUSE.S.DRAGEND .EQ %00010000
|
|
|
|
|
S.MOUSE.S.CLK .EQ %00100000
|
|
|
|
|
S.MOUSE.S.DCLK .EQ %01000000
|
|
|
|
|
S.MOUSE.KEYMOD .EQ 9
|
|
|
|
|
S.MOUSE.KEYMOD.OA .EQ %00000001
|
|
|
|
|
S.MOUSE.KEYMOD.CA .EQ %00000010
|
|
|
|
|
*
|
|
|
|
|
S.MOUSE .EQ 10
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
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
|
2020-09-08 15:31:41 +00:00
|
|
|
|
S.WND.TITLE .EQ S.OBJ+4
|
2020-09-29 15:37:26 +00:00
|
|
|
|
S.WND.MBAR .EQ S.OBJ+6
|
2020-09-13 19:05:38 +00:00
|
|
|
|
S.WND.STATUS .EQ S.OBJ+8
|
|
|
|
|
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
|
|
|
|
|
S.WND.TitleX1 .EQ S.OBJ+18
|
|
|
|
|
S.WND.TitleX2 .EQ S.OBJ+20
|
2020-10-02 14:57:05 +00:00
|
|
|
|
S.WND.TBarY2 .EQ S.OBJ+22
|
|
|
|
|
S.WND.MBarY1 .EQ S.OBJ+22
|
|
|
|
|
S.WND.MBarY2 .EQ S.OBJ+24
|
|
|
|
|
S.WND.InnerY1 .EQ S.OBJ+24
|
|
|
|
|
S.WND.InnerY2 .EQ S.OBJ+26
|
|
|
|
|
S.WND.SBarY1 .EQ S.OBJ+26
|
2020-09-29 15:37:26 +00:00
|
|
|
|
S.WND.InnerW .EQ S.OBJ+28
|
|
|
|
|
S.WND.InnerH .EQ S.OBJ+30
|
|
|
|
|
S.WND.DocW .EQ S.OBJ+32
|
|
|
|
|
S.WND.DocH .EQ S.OBJ+34
|
|
|
|
|
S.WND.DocX .EQ S.OBJ+36
|
|
|
|
|
S.WND.DocY .EQ S.OBJ+38
|
2020-10-01 15:30:25 +00:00
|
|
|
|
S.WND.fPaint .EQ S.OBJ+40
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*
|
2020-10-01 15:30:25 +00:00
|
|
|
|
S.WND .EQ S.OBJ+42
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*--------------------------------------
|
2020-09-29 15:37:26 +00:00
|
|
|
|
S.MBAR.NEXT .EQ 0
|
|
|
|
|
S.MBAR.S .EQ 1
|
|
|
|
|
S.MBAR.X1 .EQ 2
|
|
|
|
|
S.MBAR.XT .EQ 4
|
|
|
|
|
S.MBAR.X2 .EQ 6
|
|
|
|
|
S.MBAR.MENU .EQ 8
|
|
|
|
|
S.MBAR.TEXT .EQ 10
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*--------------------------------------
|
2020-10-09 15:28:01 +00:00
|
|
|
|
S.MENU.MITEMS .EQ S.OBJ
|
2020-10-08 15:33:38 +00:00
|
|
|
|
S.MENU.hSAVEBUF .EQ S.OBJ+2
|
2019-01-10 16:26:58 +00:00
|
|
|
|
*
|
2020-10-08 15:33:38 +00:00
|
|
|
|
S.MENU .EQ S.OBJ+4
|
|
|
|
|
*--------------------------------------
|
2020-10-09 06:02:45 +00:00
|
|
|
|
S.MITEM.NEXT .EQ 0
|
|
|
|
|
S.MITEM.F .EQ 1
|
2020-10-09 15:28:01 +00:00
|
|
|
|
S.MITEM.F.SEP .EQ 2
|
|
|
|
|
S.MITEM.F.ITEM .EQ 4
|
|
|
|
|
S.MITEM.F.SUBMENU .EQ 6
|
2020-10-09 06:02:45 +00:00
|
|
|
|
S.MITEM.S .EQ 2
|
2019-01-10 16:26:58 +00:00
|
|
|
|
S.MITEM.S.CHECKED .EQ %01000000
|
|
|
|
|
S.MITEM.S.DISABLED .EQ %10000000
|
2020-10-12 06:04:19 +00:00
|
|
|
|
S.MITEM.ID .EQ 3
|
|
|
|
|
S.MITEM.pICON .EQ 4
|
|
|
|
|
S.MITEM.pMENU .EQ 6
|
|
|
|
|
S.MITEM.KEYMOD .EQ 6
|
2020-10-09 15:28:01 +00:00
|
|
|
|
S.MITEM.KEYMOD.CA .EQ 2
|
|
|
|
|
S.MITEM.KEYMOD.OA .EQ 4
|
|
|
|
|
S.MITEM.KEYMOD.CTRL .EQ 8
|
2020-10-12 06:04:19 +00:00
|
|
|
|
S.MITEM.KEY .EQ 7
|
2020-10-13 15:54:55 +00:00
|
|
|
|
S.MITEM.KEYSTR .EQ 8
|
|
|
|
|
S.MITEM.TEXT .EQ 9 CSTR
|
2019-01-10 16:26:58 +00:00
|
|
|
|
* ...
|
|
|
|
|
*--------------------------------------
|
2020-10-12 06:04:19 +00:00
|
|
|
|
BM.ID.APPLE .EQ 2
|
|
|
|
|
*--------------------------------------
|
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
|