Class Pickable
Picking event handler for rendering. Note that it has to be disposed manually or the object occurs memory leak.
public class Pickable : IPickableGetter, IDisposable
- Inheritance
-
Pickable
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
Pickable()
Ctor.
public Pickable()
Fields
mark
Internal only.
protected picking_mark_t* mark
Field Value
Properties
Pickables
public static ConcurrentDictionary<Pickable, Pickable> Pickables { get; set; }
Property Value
Remarks
Design Concern: Substitude of ConcurrentSet.
PickingID
ID of picking event.
public int PickingID { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
~Pickable()
protected ~Pickable()
GetPickable()
Get Pickable
public Pickable GetPickable()
Returns
- Pickable
pickable
OnKeyDown(key_event_t, panel_state_t)
Behavior on key down.
public virtual void OnKeyDown(key_event_t e, panel_state_t state)
Parameters
e
key_event_tevent
state
panel_state_tpanel state
OnKeyUp(key_event_t, panel_state_t)
Behavior on key up
public virtual void OnKeyUp(key_event_t e, panel_state_t state)
Parameters
e
key_event_tevent
state
panel_state_tpanel state
OnMouseDown(mouse_button_event_t, panel_state_t)
Behavior on mouse down
public virtual void OnMouseDown(mouse_button_event_t e, panel_state_t state)
Parameters
e
mouse_button_event_tevent
state
panel_state_tpanel state
OnMouseEnter(ui_event_type, panel_state_t)
Behavior on mouse enter
public virtual void OnMouseEnter(ui_event_type e, panel_state_t state)
Parameters
e
ui_event_typeevent type
state
panel_state_tpanel state
OnMouseLeave(ui_event_type, panel_state_t)
Behavior on mouse leave
public virtual void OnMouseLeave(ui_event_type e, panel_state_t state)
Parameters
e
ui_event_typeevent type
state
panel_state_tpanel state
OnMouseMove(mouse_move_event_t, panel_state_t)
Behavior on mouse move
public virtual void OnMouseMove(mouse_move_event_t e, panel_state_t state)
Parameters
e
mouse_move_event_tevent
state
panel_state_tpanel state
OnMouseUp(mouse_button_event_t, panel_state_t)
Behavior on mouse up
public virtual void OnMouseUp(mouse_button_event_t e, panel_state_t state)
Parameters
e
mouse_button_event_tevent
state
panel_state_tpanel state
OnMouseWheel(mouse_wheel_event_t, panel_state_t)
Behavior on mouse wheel
public virtual void OnMouseWheel(mouse_wheel_event_t e, panel_state_t state)
Parameters
e
mouse_wheel_event_tevent
state
panel_state_tpanel state