Zelda64Recomp/include/recomp_ui.h

33 lines
520 B
C
Raw Normal View History

#ifndef __RECOMP_UI__
#define __RECOMP_UI__
#include <memory>
#include "SDL.h"
namespace Rml {
class ElementDocument;
class EventListenerInstancer;
class Context;
}
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();
void make_ui_bindings(Rml::Context* context);
enum class Menu {
Launcher,
Config,
None
};
void set_current_menu(Menu menu);
void destroy_ui();
}
#endif