Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
event_manager.h File Reference

Events for calling refresh on widgets. More...

#include "common/utils/backtrace.h"
#include "common/utils/mpmc_queue.h"
#include "common/utils/object_pool.h"
#include "gui/backend/backend/event.h"
Include dependency graph for event_manager.h:

Go to the source code of this file.

Data Structures

class  EventManager
 Event manager for the UI. More...
 

Macros

#define EVENT_MANAGER   (gZrythm->event_manager_)
 
#define EVENT_QUEUE   (EVENT_MANAGER->mqueue_)
 The event queue.
 
#define EVENTS_PUSH(et, _arg)
 
#define EVENTS_PUSH_NOW(et, _arg)
 

Variables

constexpr int EVENT_MANAGER_MAX_EVENTS = 4000
 

Detailed Description

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.

Definition in file event_manager.h.