mirror of https://github.com/snes9xgit/snes9x.git
27 lines
468 B
C++
27 lines
468 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace ImGui {
|
|
enum DrawTextAlignment
|
|
{
|
|
BEGIN,
|
|
END,
|
|
CENTER
|
|
};
|
|
} // namespace ImGui
|
|
|
|
struct S9xImGuiInitInfo
|
|
{
|
|
int font_size;
|
|
int spacing;
|
|
uint32_t box_color;
|
|
uint32_t text_color;
|
|
uint32_t inactive_text_color;
|
|
};
|
|
|
|
S9xImGuiInitInfo S9xImGuiGetDefaults();
|
|
void S9xImGuiInit(S9xImGuiInitInfo *init_info = nullptr);
|
|
bool S9xImGuiDraw(int width, int height);
|
|
bool S9xImGuiRunning();
|
|
void S9xImGuiDeinit(); |