Struct panel_state_t
Native panel state.
public struct panel_state_t
- Inherited Members
- Extension Methods
Fields
cursor_pre_x
Previous cursor X position.
public int cursor_pre_x
Field Value
cursor_pre_y
Previous cursor Y position.
public int cursor_pre_y
Field Value
cursor_x
Current cursor X position.
public int cursor_x
Field Value
cursor_y
Current cursor Y position.
public int cursor_y
Field Value
is_visible
Is panel visible.
public int is_visible
Field Value
panel_h
Panel height.
public int panel_h
Field Value
panel_w
Panel width.
public int panel_w
Field Value
panel_x
X position of the panel from the system desktop.
public int panel_x
Field Value
panel_y
Y position of the panel from the system desktop.
public int panel_y
Field Value
Methods
IsKeyPressed(string)
Checks if a keyboard key is currently pressed.
public bool IsKeyPressed(string key)
Parameters
keystringKey string (W3C KeyboardEvent.key value, e.g. “Alt”, “ArrowLeft”).
Returns
IsMouseButtonPressed(long)
Checks if a mouse button is currently pressed.
public bool IsMouseButtonPressed(long mouse_button)
Parameters
mouse_buttonlongMouse button code.