snes9x/external/imgui/snes9x_imgui.h

27 lines
468 B
C
Raw Normal View History

2023-04-14 20:37:38 +00:00
#pragma once
2023-04-24 22:53:48 +00:00
#include <cstdint>
2023-04-14 20:37:38 +00:00
namespace ImGui {
enum DrawTextAlignment
{
BEGIN,
END,
CENTER
};
} // namespace ImGui
2023-04-24 22:53:48 +00:00
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);
2023-04-14 20:37:38 +00:00
bool S9xImGuiDraw(int width, int height);
bool S9xImGuiRunning();
void S9xImGuiDeinit();