Easy_Mesag R Entry[,R Buffer$]
Easy_Mesag R Entry,R Buffer$,R Mx,R My
[,R Mb[,R Modifier[,R Clicks]]]
Easy_Mesag R Entry,R Buffer$,R Ev_Msk,
R Mx,R My,R Mb,R Modifier,R Clicks,R Kbrd |
Entry |
Selected menu entry. |
Buffer$ |
This string contains the information about the event. |
Ev_Msk |
The event mask defines which type of events should be observed and on return contains the information
about the events which really happened. |
Mx |
X-position of the mouse on the real screen. |
My |
Y-position of the mouse on the real screen. |
Mb |
Status of the mouse button. |
Modifier |
Status of the modifier keys. |
Clicks |
Number of mouse clicks. |
Kbrd |
Status of the keyboard. |
With this procedure events which are reported to your program by the operation system can be received
(mouse movings, key strokes etc.). |
Elastic_Circle Win,X,Y,R Ra,R Mb[,Action] |
Win |
Window identification number. |
X |
X-coordinate of the center of the circle. |
Y |
Y-coordinate of the center of the circle. |
Ra |
Radius of the circle. |
Mb |
Status of the mouse at return time. |
Action |
Address of a function called with each mouse movement. |
Pull up a rubber band circle. |
Elastic_Ellipse Win,X,Y,R Rx,R Ry,R Mb[,Action] |
Win |
Window identification number. |
X |
X-coordinate of the center of the ellipse. |
Y |
Y-coordinate of the center of the ellipse. |
Rx |
X-half-axis of the ellipse. |
Ry |
Y-half-axis of the ellipse. |
Mb |
Status of the mouse at return time. |
Action |
Address of a function called with each mouse movement. |
Pull up a rubber band ellipse. |
Elastic_Line Win,X1,Y1,R X2,R Y2,R Mb[,Action] |
Win |
Window identification number. |
X1 |
X-coordinate of the start point of the line. |
Y1 |
Y-coordinate of the start point of the line. |
X2 |
X-coordinate of the end point of the line. |
Y2 |
Y-coordinate of the end point of the line. |
Mb |
Status of the mouse at return time. |
Action |
Address of a function called with each mouse movement. |
Pull up a rubber band line. |
Elastic_Rect Win,X,Y,R W,R H,R Mb[,Action] |
Win |
Window identification number. |
X |
X-coordinate of the start point of the rectangle. |
Y |
Y-coordinate of the start point of the rectangle. |
W |
Width of the rectangle. |
H |
Height of the rectangle. |
Mb |
Status of the mouse at return time. |
Action |
Address of a function called with each mouse movement. |
Pull up a rubber band rectangle. |
Elastic_Roundrect Win,X,Y,R W,R H,R Mb[,Action] |
Win |
Window identification number. |
X |
X-coordinate of the start point of the rounded rectangle. |
Y |
Y-coordinate of the start point of the rounded rectangle. |
W |
Width of the rounded rectangle. |
H |
Height of the rounded rectangle. |
Mb |
Status of the mouse at return time. |
Action |
Address of a function called with each mouse movement. |
Pull up a rubber band rounded rectangle. |
Gwin_Getblock Win,X,Y
Gwin_Getblock Win,0,W,H
Gwin_Getblock Win,X,Y,W,H |
Win |
Window identification number. |
X |
X-coordinate of block start. |
Y |
Y-coordinate of block start. |
W |
Width of the block. |
H |
Height of the block. |
Query beginning and/or size of block. |
Gwin_Load R Win,Win_X,Win_Y,Win_W,Win_H
[,Virt_W,Virt_H],Name$,File$
Gwin_Load R Win,Win_X,Win_Y,Win_W,Win_H,Virt_W,
Virt_H,Name$,Info$[,Kind],File$ |
Win |
Window identification number. |
Win_X |
X-position of the window on the real screen. |
Win_Y |
Y-position of the window on the real screen. |
Win_W |
Width of the window. |
Win_H |
Height of the window. |
Virt_W |
Width of the virtual screen. |
Virt_H |
Height of the virtual screen. |
Name$ |
The name of the window which is displayed in the title bar. |
Info$ |
The content of the info line below the title bar. |
Kind |
Window flags (explanation see Gwin_Open). |
File$ |
FileSpecificationRecord of the desired file. |
Load "PICT" file. |
Gwin_Open R Win,Win_X,Win_Y,Win_W,Win_H
[,Virt_W,Virt_H],Name$
Gwin_Open R Win,Win_X,Win_Y,Win_W,Win_H,
Virt_W,Virt_H,Name$,Info$[,Kind] |
Win |
Window identification number. |
Win_X |
X-position of the window on the real screen. |
Win_Y |
Y-position of the window on the real screen. |
Win_W |
Width of the window. |
Win_H |
Height of the window. |
Virt_W |
Width of the virtual screen. |
Virt_H |
Height of the virtual screen. |
Name$ |
The name of the window which is displayed in the title bar. |
Info$ |
The content of the info line below the title bar. |
Gwin_Paste Win[[,X,Y[,W,H]][,File$]]
Gwin_Paste Win,X,Y,W,H,File$,Action |
Win |
Window identification number. |
X |
X-coordinate of the upper left corner of the area into which the picture should be pasted. |
Y |
X-coordinate of the upper left corner of the area into which the picture should be pasted. |
W |
Width of the area into which the picture should be pasted. |
H |
Height of the area into which the picture should be pasted. |
File$ |
FileSpecificationRecord of the file from which the data should be read. |
Action |
Address of an action function to be called permanently by EasyGem at pasting time. |
Paste picture. |
Gwin_Save Win[,X,Y,W,H],File$ |
Win |
Window identification number. |
X |
X-coordinate of the upper left corner of the to be saved area. |
Y |
Y-coordinate of the upper left corner of the to be saved area. |
W |
Width of the to be saved area. |
H |
Height of the to be saved area. |
File$ |
FileSpecificationRecord of the file which should be saved. |
Save window as a "PICT" file. |
Gwin_Setblock Win,X,Y
Gwin_Setblock Win,0,W,H
Gwin_Setblock Win,X,Y,W,H |
Win |
Window identification number. |
X |
X-coordinate of the block start. |
Y |
Y-coordinate of the block start. |
W |
Width of the block. |
H |
Height of the block. |
Modify beginning and/or size of block. |
Twin_Copy Win[,X1,Y1,X2,Y2],Format |
Win |
Window identification number. |
X1 |
X-coordinate of the text start. |
Y1 |
Y-coordinate of the text start. |
X2 |
X-coordinate of the text end. |
Y2 |
Y-coordinate of the text end. |
Format |
Mac-format or DOS-format. |
Copy text onto the clipboard. |
Twin_Cut Win[,X1,Y1,X2,Y2],Format |
Win |
Window identification number. |
X1 |
X-coordinate of the text start. |
Y1 |
Y-coordinate of the text start. |
X2 |
X-coordinate of the text end. |
Y2 |
Y-coordinate of the text end. |
Format |
Mac-format or DOS-format. |
Cut text and copy it onto the clipboard. |
Twin_Getblock Win,X1,Y1
Twin_Getblock Win,0,X2,Y2
Twin_Getblock Win,X1,Y1,X2,Y2 |
Win |
Window identification number. |
X1 |
X-coordinate of the block start. |
Y1 |
Y-coordinate of the block start. |
X2 |
X-coordinate of the block end. |
Y2 |
Y-coordinate of the block end. |
Query block position and/or block size. |
Twin_Input Win[,Def$[,Usng$[,Length[,F_Char[,Posn]]]]
Twin_Input Win,Y,X,Def$,Usng$,Length,F_Char,Posn |
Win |
Window identification number. |
Y |
Y-position of the input line. |
X |
X-position of the input line. |
Def$ |
Default string in the input line. |
Usng$ |
USING string. |
Length |
Length of the input line. |
F_Char |
ASCII code of the fill character in the input line. |
Posn |
Position of the cursor inside the input line. |
Input of one line. |
Twin_Load R Win,Win_X,Win_Y,Win_W,Win_H
[,Virt_W,Virt_H],Name$,File$
Twin_Load R Win,Win_X,Win_Y,Win_W,Win_H,Virt_W,
Virt_H,Name$, Info$[,Kind],File$ |
Win |
Window identification number. |
Win_X |
X-position of the window on the real screen. |
Win_Y |
Y-position of the window on the real screen. |
Win_W |
Width of the window. |
Win_H |
Height of the window. |
Virt_W |
Width of the virtual screen. |
Virt_H |
Height of the virtual screen. |
Name$ |
The name of the window which is displayed in the title bar. |
Info$ |
The content of the info line below the title bar. |
Kind |
Window flags (explanation see Gwin_Open). |
File$ |
FileSpecificationRecord of the desired file. |
Load text file. |
Twin_Open R Win,Win_X,Win_Y,Win_W,Win_H
[,Virt_W,Virt_H],Name$
Twin_Open R Win,Win_X,Win_Y,Win_W,Win_H,
Virt_W,Virt_H,Name$, Info$[,Kind] |
Win |
Window identification number. |
Win_X |
X-position of the window on the real screen. |
Win_Y |
Y-position of the window on the real screen. |
Win_W |
Width of the window. |
Win_H |
Height of the window. |
Virt_W |
Breite des virtuellen Bildschirms. |
Virt_H |
Höhe des virtuellen Bildschirms. |
Name$ |
The name of the window which is displayed in the title bar. |
Info$ |
The content of the info line below the title bar. |
Kind |
Window flags (explanation see Gwin_Open). |
Open text window. |
Twin_Save Win[,X1,Y1,X2,Y2],Format,File$ |
Win |
Window identification number. |
X1 |
X-coordinate of the text start. |
Y1 |
Y-coordinate of the text start. |
X2 |
X-coordinate of the text end. |
Y2 |
Y-coordinate of the text end. |
Format |
Mac-format oder DOS-format |
File$ |
FileSpecificationRecord of the to be saved file. |
Save text. |
Twin_Select Win,X1,Y1,R X2,R Y2[,Action] |
Win |
Window identification number. |
X1 |
X-coordinate of the block start. |
Y1 |
Y-coordinate of the block start. |
X2 |
X-coordinate of the block end. |
Y2 |
Y-coordinate of the block end. |
Action |
Address of an action function to be called by EasyGem with each mouse movement. |
Select text block. |
Twin_Setblock Win,X1,Y1
Twin_Setblock Win,0,X2,Y2
Twin_Setblock Win,X1,Y1,X2,Y2 |
Win |
Window identification number. |
X1 |
X-coordinate of the block start. |
Y1 |
Y-coordinate of the block start. |
X2 |
X-coordinate of the block end. |
Y2 |
Y-coordinate of the block end. |
Set block position and/or block size. |
Uwin_Getblock Win,X,Y
Uwin_Getblock Win,0,W,H
Uwin_Getblock Win,X,Y,W,H |
Win |
Window identification number. |
X |
X-coordinate of the block start. |
Y |
Y-coordinate of the block start. |
W |
Width of the block. |
H |
Height of the block. |
Query block position and/or block size. |
Uwin_Open R Win,Win_X,Win_Y,Win_W,Win_H
[,Virt_W,Virt_H],Name$,Redraw
Uwin_Open R Win,Win_X,Win_Y,Win_W,Win_H,Virt_W,
Virt_H,Name$, Info$[,Kind],Redraw |
Win |
Window identification number. |
Win_X |
X-position of the window on the real screen. |
Win_Y |
Y-position of the window on the real screen. |
Win_W |
Width of the window. |
Win_H |
Height of the window. |
Virt_W |
Width of the virtual screen. |
Virt_H |
Height of the virtual screen. |
Name$ |
The name of the window which is displayed in the title bar. |
Info$ |
The content of the info line below the title bar. |
Kind |
Window flags (explanation see Gwin_Open). |
Redraw |
Address of an redraw function. |
Open user window. |
Uwin_Save Win[,X,Y,W,H],File$ |
Win |
Window identification number. |
X |
X-coordinate of the upper left corner of the to be saved area. |
Y |
Y-coordinate of the upper left corner of the to be saved area. |
W |
Width of the to be saved area. |
H |
Height of the to be saved area. |
File$ |
FileSpecificationRecord of the file into which the data should be stored. |
Save window into a "PICT" file. |
Uwin_Setblock Win,X,Y
Uwin_Setblock Win,0,W,H
Uwin_Setblock Win,X,Y,W,H |
Win |
Window identification number. |
X |
X-coordinate of the block start. |
Y |
Y-coordinate of the block start. |
W |
Width of the block. |
H |
Height of the block. |
Set block position and/or block size. |
Win_Getborder Win,R Border_X,R Border_Y,R Border_W,R Border_H |
Win |
Window identification number. |
Border_X |
X-position of the upper left corner. |
Border_Y |
Y-position of the upper left corner. |
Border_W |
Total width of the window including all marginal elements. |
Border_H |
Total height of the window including all marginal elements. |
Query position and size of the whole window including all marginal elements. |
Win_Getview Win,R View_X,R View_Y,R View_W,R View_H |
Win |
Window identification number. |
View_X |
X-coordinate of the visible area on the virtual screen. |
View_Y |
Y-coordinate of the visible area on the virtual screen. |
View_W |
Width of the visible area. |
View_H |
Height of the visible area. |
Query position and size of the visible area. |
Win_Getvirt Win,R Virt_X,R Virt_Y,R Virt_W,R Virt_H |
Win |
Window identification number. |
Virt_X |
X-position of the virtual screen (usually 0). |
Virt_Y |
Y-Position des virtuellen Fensters (usually 0). |
Virt_W |
Width of the virtual screen. |
Virt_H |
Height of the virtual screen. |
Query the size of the virtual screen. |
Win_Getwork Win,R Work_X,R Work_Y,R Work_W,R Work_H |
Win |
Window identification number. |
Work_X |
X-position of the upper left corner of the inner area. |
Work_Y |
Y-position of the upper left corner of the inner area. |
Work_W |
Width of the inner area without the marginal elements. |
Work_H |
Height of the inner area without the marginal elements. |
Query position and size of the work area. |
Win_Mousepos R Win,Xin,Yin,R Xout,R Yout |
Win |
The number of the window in front of which the mouse is actually positioned. A zero indicates that
it is not an EasyGem window. |
Xin,Yin |
In this parameters you usually pass Mx,My.
It is self-evident that each arbitrary position on the real screen may be passed as well. |
Xout,Yout |
Position of e.g. the mouse on the virtual screen. If Win is the ID of a text window, the result ist not returned in pixel but in characters. |
Determine the mouse position on the virtual screen. |
Win_Setborder Win,Border_X,Border_Y,Border_W,Border_H |
Win |
Window identification number. |
Border_X |
X-position of the upper left corner. |
Border_Y |
Y-position of the upper left corner. |
Border_W |
Total width of the window including all marginal elements. |
Border_H |
Total height of the window including all marginal elements. |
Set position and size of the whole window including all marginal elements. |
Win_Setview Win,View_X,View_Y,View_W,View_H |
Win |
Window identification number. |
View_X |
X-coordinate of the visible area on the virtual screen. |
View_Y |
Y-coordinate of the visible area on the virtual screen. |
View_W |
Width of the visible area. |
View_H |
Height of the visible area. |
Set position and size of the visible area. |
Win_Setvirt Win,Virt_X,Virt_Y,Virt_W,Virt_H |
Win |
Window identification number. |
Virt_X |
X-position of the virtual screen (usually 0). |
Virt_Y |
Y-Position des virtuellen Fensters (usually 0). |
Virt_W |
Width of the virtual screen. |
Virt_H |
Height of the virtual screen. |
Set the size of the virtual screen. |
Win_Setwork Win,Work_X,Work_Y,Work_W,Work_H |
Win |
Window identification number. |
Work_X |
X-position of the upper left corner of the inner area. |
Work_Y |
Y-position of the upper left corner of the inner area. |
Work_W |
Width of the inner area without the marginal elements. |
Work_H |
Height of the inner area without the marginal elements. |
Set position and size of the work area. |