gui/backend/events.h file

Contents

Events for calling refresh on widgets.

Note: This is only for refreshing widgets. No logic should be performed here. Any logic must be done before pushing an event.

Classes

struct ZEvent
A Zrythm event.

Enums

enum EventType { ET_ARRANGER_OBJECT_CREATED, ET_ARRANGER_OBJECT_REMOVED, ET_ARRANGER_OBJECT_CHANGED, ET_ARRANGER_SELECTIONS_CREATED, ET_ARRANGER_SELECTIONS_CHANGED, ET_ARRANGER_SELECTIONS_REMOVED, ET_ARRANGER_SELECTIONS_MOVED, ET_ARRANGER_SELECTIONS_ACTION_FINISHED, ET_TRACK_STATE_CHANGED, ET_RULER_STATE_CHANGED, ET_AUTOMATION_TRACK_ADDED, ET_AUTOMATION_TRACK_REMOVED, ET_TIME_SIGNATURE_CHANGED, ET_TRACK_ADDED, ET_TRACK_CHANGED, ET_TRACK_COLOR_CHANGED, ET_TRACK_NAME_CHANGED, ET_LAST_TIMELINE_OBJECT_CHANGED, ET_TRACK_AUTOMATION_VISIBILITY_CHANGED, ET_AUTOMATION_TRACK_CHANGED, ET_CLIP_EDITOR_REGION_CHANGED, ET_CLIP_MARKER_POS_CHANGED, ET_UNDO_REDO_ACTION_DONE, ET_RANGE_SELECTION_CHANGED, ET_TIMELINE_LOOP_MARKER_POS_CHANGED, ET_TIMELINE_SONG_MARKER_POS_CHANGED, ET_RULER_SIZE_CHANGED, ET_LOOP_TOGGLED, ET_TOOL_CHANGED, ET_TIMELINE_VIEWPORT_CHANGED, ET_PLUGIN_ADDED, ET_PLUGINS_ADDED, ET_PLUGINS_REMOVED, ET_PLUGIN_DELETED, ET_PLAYHEAD_POS_CHANGED, ET_PLAYHEAD_POS_CHANGED_MANUALLY, ET_AUTOMATION_VALUE_CHANGED, ET_TRACKLIST_SELECTIONS_CHANGED, ET_PLUGIN_VISIBILITY_CHANGED, ET_PLUGIN_WINDOW_VISIBILITY_CHANGED, ET_PLUGIN_STATE_CHANGED, ET_TRACKS_ADDED, ET_TRACKS_REMOVED, ET_TRACKS_MOVED, ET_CHANNEL_REMOVED, ET_REFRESH_ARRANGER, ET_MIXER_SELECTIONS_CHANGED, ET_CHANNEL_OUTPUT_CHANGED, ET_CHANNEL_SLOTS_CHANGED, ET_DRUM_MODE_CHANGED, ET_MODULATOR_ADDED, ET_RT_SELECTIONS_CHANGED, ET_PINNED_TRACKLIST_SIZE_CHANGED, ET_TRACK_LANES_VISIBILITY_CHANGED, ET_TRACK_LANE_ADDED, ET_TRACK_LANE_REMOVED, ET_PIANO_ROLL_HIGHLIGHTING_CHANGED, ET_PIANO_ROLL_MIDI_MODIFIER_CHANGED, ET_AUTOMATION_TRACKLIST_AT_REMOVED, ET_ARRANGER_SELECTIONS_IN_TRANSIT, ET_CHORD_KEY_CHANGED, ET_JACK_TRANSPORT_TYPE_CHANGED, ET_TRACK_VISIBILITY_CHANGED, ET_SELECTING_IN_ARRANGER, ET_TRACKS_RESIZED, ET_CLIP_EDITOR_FIRST_TIME_REGION_SELECTED, ET_BPM_CHANGED, ET_CHANNEL_FADER_VAL_CHANGED, ET_PIANO_ROLL_KEY_HEIGHT_CHANGED, ET_TRIAL_LIMIT_REACHED, ET_MAIN_WINDOW_LOADED }

Typedefs

using ZEvent = struct ZEvent
A Zrythm event.

Functions

void events_init(Zrythm* zrythm)
Creates the event queue and starts the event loop.

Defines

#define EVENTS_PUSH(et, _arg)
Push events.
#define EVENTS
The event queue.