65 static unsigned int GetWindowNum() {
return registered_windows.size();}
93 static std::map<unsigned int, std::shared_ptr<Window>> registered_windows;
94 static void ProcessEvent(
const SDL_Event&);
95 static int last_draw_time;
101 static std::atomic_flag ev_flag_notify_osc_already_pushed;
102 static std::atomic_flag ev_flag_notify_subprocess_already_pushed;
107 #endif // SDLMAIN_HPP
Definition: SDLMain.hpp:88
CustomEventCodes
Definition: SDLMain.hpp:87
static void UnregisterAll()
static std::atomic< int > notify_event_id
Definition: SDLMain.hpp:81
static std::atomic_bool running
Definition: SDLMain.hpp:85
static void RegisterWindow(std::shared_ptr< Window >)
static unsigned int GetWindowNum()
Definition: SDLMain.hpp:65
Definition: SDLMain.hpp:89
static void UnregisterWindow(std::shared_ptr< Window >)
static Signal< float > on_before_frame
Definition: SDLMain.hpp:73
Definition: SDLMain.hpp:90
static void PushNotifyOSCEvent()
Definition: SDLMain.hpp:34
Definition: Alertable.hpp:26
static void PushNotifySubprocessEvent()
static void SetTextInput(bool)