Property | Type | Description | |
---|---|---|---|
HoveredControl | |||
KeyboardFocus | |||
MouseFocus | |||
MousePosition | Vector2i |
Method | Description | |
---|---|---|
DoSpecialKeys ( |
Handles copy, paste etc.
|
|
HandleAccelerator ( |
Handles accelerator input.
|
|
IsKeyDown ( Keys key ) : bool |
Checks if the given key is pressed.
|
|
OnCanvasThink ( |
Handles focus updating and key autorepeats.
|
|
OnKeyEvent ( |
Key handler.
|
|
OnMouseClicked ( |
Mouse click handler.
|
|
OnMouseMoved ( |
Mouse moved handler.
|
Method | Description | |
---|---|---|
FindKeyboardFocus ( |
||
UpdateHoveredControl ( |
public static DoSpecialKeys ( |
||
canvas | Canvas. | |
chr | char | Input character. |
return | bool |
public static HandleAccelerator ( |
||
canvas | Canvas. | |
chr | char | Input character. |
return | bool |
public static IsKeyDown ( Keys key ) : bool | ||
key | Keys | Key to check. |
return | bool |
public static OnCanvasThink ( |
||
control | Unused. | |
return | void |
public static OnKeyEvent ( |
||
canvas | Canvas. | |
key | Keys | Key. |
down | bool | True if the key is down. |
return | bool |
public static OnMouseClicked ( |
||
canvas | Canvas. | |
mouseButton | int | Mouse button number. |
down | bool | Specifies if the button is down. |
return | bool |
public static OnMouseMoved ( |
||
canvas | Canvas. | |
x | int | |
y | int | |
dx | int | |
dy | int | |
return | void |
public static Control,Flood.GUI.Controls HoveredControl | ||
return |
public static Control,Flood.GUI.Controls KeyboardFocus | ||
return |
public static Control,Flood.GUI.Controls MouseFocus | ||
return |