Module interface:win - Windowing system interface
Windowing system interface. This interface provides control over graphics windows.
Index
-
Channel type
CT.WINPROTO- Window channel-type-
Variable
in?- Requests to window -
Variable
out!- Responses and events from window
-
Variable
-
Group
GFXAUD.SAMPLE- Named sound samples for the windowing system -
Constant
GFXAUD.SAMPLECOUNT- Total number of samples -
Protocol
P.WINPROTO.IN- Window input protocol-
Tag
play.sound- Ask the windowing system to play a sound, integer is a constant -
Tag
set.event.mask- Set event mask, responds with masked -
Tag
set.title- Set window title
-
Tag
-
Protocol
P.WINPROTO.OUT- Window output protocol-
Tag
button- Button click or unclick notification -
Tag
enter.leave- Pointer entering or leaving window event -
Tag
key- Key press or release notification -
Tag
masked- New event mask -
Tag
motion- Motion notification -
Tag
redraw- Request to redraw canvas
-
Tag
-
Constant
STD.COLOURSET- Defines a standard set of colours for the windowing system -
Group
WIN.BTN- Window button/modifier values/flags-
Constant
WIN.BTN.1- First button -
Constant
WIN.BTN.2- Second button -
Constant
WIN.BTN.3- Third button -
Constant
WIN.BTN.ALT- Any ALT key -
Constant
WIN.BTN.CTRL- Any control key -
Constant
WIN.BTN.LALT- Left ALT key -
Constant
WIN.BTN.LCTRL- Left control key -
Constant
WIN.BTN.LMETA- Left meta key -
Constant
WIN.BTN.LSHIFT- Left shift key -
Constant
WIN.BTN.LSUPER- Left "super" key -
Constant
WIN.BTN.META- Any meta key -
Constant
WIN.BTN.RALT- Right ALT key -
Constant
WIN.BTN.RCTRL- Right control key -
Constant
WIN.BTN.RMETA- Right meta key -
Constant
WIN.BTN.RSHIFT- Right shift key -
Constant
WIN.BTN.RSUPER- Right "super" key -
Constant
WIN.BTN.SHIFT- Any shift key -
Constant
WIN.BTN.SUPER- Any "super" modifier key
-
Constant
-
Group
WIN.EV- Window event masks-
Constant
WIN.EV.B1MOTION- Button 1 depressed motion -
Constant
WIN.EV.B2MOTION- Button 2 depressed motion -
Constant
WIN.EV.B3MOTION- Button 3 depressed motion -
Constant
WIN.EV.BUTTON1- Button 1 press/release -
Constant
WIN.EV.BUTTON2- Button 2 press/release -
Constant
WIN.EV.BUTTON3- Button 3 press/release -
Constant
WIN.EV.COOKED- Whether reported keys are 'cooked' (otherwise raw) -
Constant
WIN.EV.EL- Pointer entering/leaving window -
Constant
WIN.EV.KUD- Key up/down action -
Constant
WIN.EV.MOTION- Pointer motion in window -
Constant
WIN.EV.NONE- No events -
Constant
WIN.EV.REDRAW- Request to redraw window
-
Constant
Declarations
gfxws_consts.inc:26Constant STD.COLOURSET
VAL []GFX.ARGB STD.COLOURSET
Defines a standard set of colours for the windowing system.
gfxws_consts.inc:28Group GFXAUD.SAMPLE
Named sound samples for the windowing system.
gfxws_consts.inc:36Constant GFXAUD.SAMPLECOUNT
VAL INT GFXAUD.SAMPLECOUNT
Total number of samples.
winproto.inc:25Group WIN.EV
Window event masks.
winproto.inc:26Constant WIN.EV.NONE
VAL INT32 WIN.EV.NONE
No events.
winproto.inc:27Constant WIN.EV.EL
VAL INT32 WIN.EV.EL
Pointer entering/leaving window.
winproto.inc:28Constant WIN.EV.MOTION
VAL INT32 WIN.EV.MOTION
Pointer motion in window.
winproto.inc:29Constant WIN.EV.BUTTON1
VAL INT32 WIN.EV.BUTTON1
Button 1 press/release.
winproto.inc:30Constant WIN.EV.BUTTON2
VAL INT32 WIN.EV.BUTTON2
Button 2 press/release.
winproto.inc:31Constant WIN.EV.BUTTON3
VAL INT32 WIN.EV.BUTTON3
Button 3 press/release.
winproto.inc:33Constant WIN.EV.B1MOTION
VAL INT32 WIN.EV.B1MOTION
Button 1 depressed motion.
winproto.inc:34Constant WIN.EV.B2MOTION
VAL INT32 WIN.EV.B2MOTION
Button 2 depressed motion.
winproto.inc:35Constant WIN.EV.B3MOTION
VAL INT32 WIN.EV.B3MOTION
Button 3 depressed motion.
winproto.inc:37Constant WIN.EV.KUD
VAL INT32 WIN.EV.KUD
Key up/down action.
winproto.inc:38Constant WIN.EV.COOKED
VAL INT32 WIN.EV.COOKED
Whether reported keys are 'cooked' (otherwise raw).
winproto.inc:39Constant WIN.EV.REDRAW
VAL INT32 WIN.EV.REDRAW
Request to redraw window.
winproto.inc:41Group WIN.BTN
Window button/modifier values/flags.
winproto.inc:42Constant WIN.BTN.1
VAL INT32 WIN.BTN.1
First button.
winproto.inc:43Constant WIN.BTN.2
VAL INT32 WIN.BTN.2
Second button.
winproto.inc:44Constant WIN.BTN.3
VAL INT32 WIN.BTN.3
Third button.
winproto.inc:47Constant WIN.BTN.SHIFT
VAL INT32 WIN.BTN.SHIFT
Any shift key.
winproto.inc:48Constant WIN.BTN.LSHIFT
VAL INT32 WIN.BTN.LSHIFT
Left shift key.
winproto.inc:49Constant WIN.BTN.RSHIFT
VAL INT32 WIN.BTN.RSHIFT
Right shift key.
winproto.inc:51Constant WIN.BTN.CTRL
VAL INT32 WIN.BTN.CTRL
Any control key.
winproto.inc:52Constant WIN.BTN.LCTRL
VAL INT32 WIN.BTN.LCTRL
Left control key.
winproto.inc:53Constant WIN.BTN.RCTRL
VAL INT32 WIN.BTN.RCTRL
Right control key.
winproto.inc:55Constant WIN.BTN.META
VAL INT32 WIN.BTN.META
Any meta key.
winproto.inc:56Constant WIN.BTN.LMETA
VAL INT32 WIN.BTN.LMETA
Left meta key.
winproto.inc:57Constant WIN.BTN.RMETA
VAL INT32 WIN.BTN.RMETA
Right meta key.
winproto.inc:59Constant WIN.BTN.ALT
VAL INT32 WIN.BTN.ALT
Any ALT key.
winproto.inc:60Constant WIN.BTN.LALT
VAL INT32 WIN.BTN.LALT
Left ALT key.
winproto.inc:61Constant WIN.BTN.RALT
VAL INT32 WIN.BTN.RALT
Right ALT key.
winproto.inc:63Constant WIN.BTN.SUPER
VAL INT32 WIN.BTN.SUPER
Any "super" modifier key.
winproto.inc:64Constant WIN.BTN.LSUPER
VAL INT32 WIN.BTN.LSUPER
Left "super" key.
winproto.inc:65Constant WIN.BTN.RSUPER
VAL INT32 WIN.BTN.RSUPER
Right "super" key.
winproto.inc:69Protocol P.WINPROTO.IN
PROTOCOL P.WINPROTO.IN
Window input protocol.
winproto.inc:71Tag set.event.mask
set.event.mask; INT32
Set event mask, responds with masked.
winproto.inc:72Tag set.title
set.title; MOBILE []BYTE
Set window title.
winproto.inc:74Tag play.sound
play.sound; INT
Ask the windowing system to play a sound, integer is a GFXAUD.SAMPLE constant.
winproto.inc:78Protocol P.WINPROTO.OUT
PROTOCOL P.WINPROTO.OUT
Window output protocol.
winproto.inc:80Tag masked
masked; INT32
New event mask.
winproto.inc:87Tag enter.leave
enter.leave; BOOL; [2]INT
Pointer entering or leaving window event.
Parameters:
BOOL |
entering |
TRUE if pointer entering window, FALSE if leaving. |
[2]INT |
pos |
Position where entered or left. |
winproto.inc:91Tag motion
motion; [2]INT; INT32
Motion notification.
Parameters:
[2]INT |
pos |
Pointer position. |
INT32 |
bstate |
Button and modifier-key state. |
winproto.inc:102Tag key
key; BOOL; INT; INT32
Key press or release notification.
Parameters:
BOOL |
down |
TRUE if key press, FALSE if release. |
INT |
key |
Key code. |
INT32 |
bstate |
New button and modifier-key state. |
winproto.inc:105Tag redraw
redraw; [4]INT
Request to redraw canvas.
Parameters:
[4]INT |
pos |
Array specifing area to redraw as "x, y, width, height". |
winproto.inc:109Channel type CT.WINPROTO
CHAN TYPE CT.WINPROTO
Window channel-type.
winproto.inc:111Variable in?
CHAN P.WINPROTO.IN
Requests to window.
winproto.inc:112Variable out!
CHAN P.WINPROTO.OUT
Responses and events from window.