Table of Contents

Struct panel_state_t

Namespace
Hi.Native
Assembly
HiDisp.dll

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

int

cursor_pre_y

Previous cursor Y position.

public int cursor_pre_y

Field Value

int

cursor_x

Current cursor X position.

public int cursor_x

Field Value

int

cursor_y

Current cursor Y position.

public int cursor_y

Field Value

int

is_visible

Is panel visible.

public int is_visible

Field Value

int

panel_h

Panel height.

public int panel_h

Field Value

int

panel_w

Panel width.

public int panel_w

Field Value

int

panel_x

X position of the panel from the system desktop.

public int panel_x

Field Value

int

panel_y

Y position of the panel from the system desktop.

public int panel_y

Field Value

int

Methods

IsKeyPressed(string)

Checks if a keyboard key is currently pressed.

public bool IsKeyPressed(string key)

Parameters

key string

Key string (W3C KeyboardEvent.key value, e.g. “Alt”, “ArrowLeft”).

Returns

bool

IsMouseButtonPressed(long)

Checks if a mouse button is currently pressed.

public bool IsMouseButtonPressed(long mouse_button)

Parameters

mouse_button long

Mouse button code.

Returns

bool