2015-03-23 07:28:03 +00:00
|
|
|
|
NEW
|
2018-01-10 16:34:57 +00:00
|
|
|
|
PREFIX /A2OSX.BUILD
|
|
|
|
|
AUTO 4,1
|
2016-06-15 06:21:42 +00:00
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
2017-11-30 16:33:33 +00:00
|
|
|
|
LIBGUI.InitGUI .EQ 4
|
2017-11-28 16:32:38 +00:00
|
|
|
|
LIBGUI.CloseGUI .EQ 6
|
|
|
|
|
LIBGUI.Draw .EQ 8
|
|
|
|
|
LIBGUI.SetCursor.A .EQ 10
|
|
|
|
|
LIBGUI.SetCursorPos .EQ 12
|
|
|
|
|
LIBGUI.HideCursor .EQ 14
|
|
|
|
|
LIBGUI.ShowCursor .EQ 16
|
2017-12-04 07:18:24 +00:00
|
|
|
|
LIBGUI.UpdateCursor .EQ 18
|
|
|
|
|
LIBGUI.ReadMouse .EQ 20
|
2017-12-05 16:33:06 +00:00
|
|
|
|
LIBGUI.GetScreenGC .EQ 22
|
2017-11-28 16:32:38 +00:00
|
|
|
|
*--------------------------------------
|
2017-12-01 15:53:29 +00:00
|
|
|
|
S.GC.hDev .EQ 0
|
|
|
|
|
S.GC.hMem .EQ 1
|
|
|
|
|
S.GC.Parent .EQ 2
|
|
|
|
|
*
|
|
|
|
|
S.GC.X1 .EQ 4
|
|
|
|
|
S.GC.Y1 .EQ 6
|
|
|
|
|
S.GC.X2 .EQ 8
|
|
|
|
|
S.GC.Y2 .EQ 10
|
|
|
|
|
*
|
2017-12-06 16:26:36 +00:00
|
|
|
|
S.GC .EQ 12
|
2017-12-01 15:53:29 +00:00
|
|
|
|
*--------------------------------------
|
2017-11-15 16:29:23 +00:00
|
|
|
|
CUR.T.ARROW .EQ 0
|
2017-11-30 16:33:33 +00:00
|
|
|
|
CUR.T.RESIZEX .EQ 2
|
|
|
|
|
CUR.T.RESIZEY .EQ 4
|
2017-12-05 07:09:16 +00:00
|
|
|
|
CUR.T.RESIZEXY1 .EQ 6
|
|
|
|
|
CUR.T.RESIZEXY2 .EQ 8
|
|
|
|
|
CUR.T.CROSS .EQ 10
|
|
|
|
|
CUT.T.TEXT .EQ 12
|
|
|
|
|
CUR.T.WAIT .EQ 14
|
2016-06-15 06:21:42 +00:00
|
|
|
|
*--------------------------------------
|
2017-11-30 16:33:33 +00:00
|
|
|
|
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
|
2017-11-28 16:32:38 +00:00
|
|
|
|
S.MOUSE.S.UP .EQ %00000001
|
|
|
|
|
S.MOUSE.S.DOWN .EQ %00000010
|
|
|
|
|
S.MOUSE.S.MOVE .EQ %00000100
|
|
|
|
|
S.MOUSE.S.DRAG .EQ %00001000
|
|
|
|
|
S.MOUSE.S.CLK .EQ %00010000
|
|
|
|
|
S.MOUSE.S.DCLK .EQ %00100000
|
2017-12-01 15:53:29 +00:00
|
|
|
|
*
|
2017-11-28 16:32:38 +00:00
|
|
|
|
S.MOUSE .EQ 9
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
2017-12-01 15:53:29 +00:00
|
|
|
|
S.POINT.X .EQ 0
|
|
|
|
|
S.POINT.Y .EQ 2
|
|
|
|
|
*
|
|
|
|
|
S.POINT .EQ 4
|
|
|
|
|
*--------------------------------------
|
2017-11-30 16:33:33 +00:00
|
|
|
|
S.RECT.X1 .EQ 0
|
|
|
|
|
S.RECT.Y1 .EQ 2
|
|
|
|
|
S.RECT.X2 .EQ 4
|
|
|
|
|
S.RECT.Y2 .EQ 6
|
2017-12-01 15:53:29 +00:00
|
|
|
|
*
|
2017-11-30 16:33:33 +00:00
|
|
|
|
S.RECT .EQ 8
|
|
|
|
|
*--------------------------------------
|
2018-01-10 16:34:57 +00:00
|
|
|
|
S.WND.F .EQ 0
|
|
|
|
|
S.WND.F.RESIZE .EQ %00000001
|
|
|
|
|
S.WND.F.MOVE .EQ %00000010
|
|
|
|
|
S.WND.F.CLOSE .EQ %00000100
|
|
|
|
|
S.WND.F.MAX .EQ %00001000
|
|
|
|
|
S.WND.F.MIN .EQ %00010000
|
|
|
|
|
S.WND.F.SPARE .EQ %00100000
|
|
|
|
|
S.WND.F.MODAL .EQ %01000000
|
|
|
|
|
S.WND.F.SYSMODAL .EQ %10000000
|
|
|
|
|
S.WND.S .EQ 1
|
|
|
|
|
S.WND.hOWNER .EQ 2
|
|
|
|
|
S.WND.hPARENT .EQ 3
|
|
|
|
|
S.WND.hTITLE .EQ 4
|
|
|
|
|
S.WND.hMENU .EQ 5
|
|
|
|
|
S.WND.hBKCOLOR .EQ 6
|
|
|
|
|
S.WND.hBKBM .EQ 7
|
|
|
|
|
S.WND.hSTATUS .EQ 8
|
|
|
|
|
S.WND.hCUR .EQ 9
|
|
|
|
|
S.WND.hICON .EQ 10
|
|
|
|
|
S.WND.X .EQ 12
|
|
|
|
|
S.WND.Y .EQ 14
|
|
|
|
|
S.WND.W .EQ 16
|
|
|
|
|
S.WND.H .EQ 18
|
|
|
|
|
*
|
|
|
|
|
S.WND .EQ 32
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.GUI.C.BK
|
|
|
|
|
*--------------------------------------
|
2015-03-23 07:28:03 +00:00
|
|
|
|
MAN
|
2017-11-14 16:57:34 +00:00
|
|
|
|
SAVE /A2OSX.BUILD/INC/LIBGUI.I
|
2017-11-27 16:39:09 +00:00
|
|
|
|
LOAD /A2OSX.SRC/LIB/LIBGUI.S
|
|
|
|
|
ASM
|