mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2024-12-29 09:23:53 +00:00
30 lines
447 B
C++
30 lines
447 B
C++
#ifndef __RECOMP_UI__
|
|
#define __RECOMP_UI__
|
|
|
|
#include <memory>
|
|
|
|
#include "SDL.h"
|
|
|
|
namespace Rml {
|
|
class ElementDocument;
|
|
class EventListenerInstancer;
|
|
}
|
|
|
|
namespace recomp {
|
|
|
|
void queue_event(const SDL_Event& event);
|
|
bool try_deque_event(SDL_Event& out);
|
|
|
|
std::unique_ptr<Rml::EventListenerInstancer> make_event_listener_instancer();
|
|
|
|
enum class Menu {
|
|
Launcher,
|
|
None
|
|
};
|
|
|
|
void set_current_menu(Menu menu);
|
|
void destroy_ui();
|
|
}
|
|
|
|
#endif
|