Lomse library. API documentation
0.30.0
|
#include <lomse_events.h>
Abstract class holding information about an event. All events derive from it.
Public Member Functions | |
virtual | ~EventInfo () |
virtual Observable * | get_source () |
EEventType | get_event_type () |
Helpers for checking event type | |
bool | is_doc_modified_event () |
bool | is_update_window_event () |
bool | is_mouse_in_event () |
bool | is_mouse_out_event () |
bool | is_on_click_event () |
bool | is_link_clicked_event () |
bool | is_show_contextual_menu_event () |
bool | is_control_point_moved_event () |
bool | is_selection_set_change () |
bool | is_pointed_object_change () |
bool | is_do_play_score_event () |
bool | is_pause_score_event () |
bool | is_stop_playback_event () |
bool | is_tracking_event () |
bool | is_update_viewport_event () |
bool | is_end_of_playback_event () |
Friends | |
class | Interactor |
|
inlinevirtual |
Destructor.
|
inline |
Returns the event type. It is a value from enmun EEventType.
|
inlinevirtual |
Returns a pointer to the Observable object (an ImoContentObj) related to the event. It is either the mouse pointed object or the first ancestor of type ImoContentObj in the internal model hierarchy. If the event is not related to an Observable object it returns nullptr.
Reimplemented in EventMouse.