2023-11-05 20:34:20 +01:00
|
|
|
#ifndef __RECOMP_UI__
|
|
|
|
#define __RECOMP_UI__
|
|
|
|
|
2023-11-11 23:42:07 +01:00
|
|
|
#include <memory>
|
|
|
|
|
2023-11-05 20:34:20 +01:00
|
|
|
#include "SDL.h"
|
|
|
|
|
|
|
|
void queue_event(const SDL_Event& event);
|
|
|
|
bool try_deque_event(SDL_Event& out);
|
|
|
|
|
2023-11-11 23:42:07 +01:00
|
|
|
namespace Rml {
|
|
|
|
class ElementDocument;
|
|
|
|
class EventListenerInstancer;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::unique_ptr<Rml::EventListenerInstancer> make_event_listener_instancer();
|
|
|
|
|
|
|
|
enum class Menu {
|
|
|
|
Launcher,
|
|
|
|
None
|
|
|
|
};
|
|
|
|
|
|
|
|
void set_current_menu(Menu menu);
|
2023-11-12 20:47:38 +01:00
|
|
|
void destroy_ui();
|
2023-11-11 23:42:07 +01:00
|
|
|
|
2023-11-05 20:34:20 +01:00
|
|
|
#endif
|