OpenEnroth 73e68f7
|
#include "ImGuiBindings.h"
#include <imgui/imgui.h>
#include <string>
#include <vector>
#include <tuple>
#include <sol/sol.hpp>
Classes | |
struct | ImGuiInputTextUserData |
Functions | |
bool | imGuiBegin (const std::string &name) |
std::tuple< bool, bool > | imGuiBeginEx (const std::string &name, bool isOpened, ImGuiWindowFlags_ flags) |
void | imGuiEnd () |
bool | imGuiBeginChild (const std::string &name, float sizeX, float sizeY, bool border) |
void | imGuiEndChild () |
bool | imGuiIsWindowHovered (ImGuiHoveredFlags_ flags) |
std::tuple< float, float > | imGuiGetWindowSize () |
void | imGuiSetNextWindowPos (float posX, float posY) |
void | imGuiSetNextWindowPosEx (float posX, float posY, ImGuiCond_ cond) |
void | imGuiSetNextWindowSize (float sizeX, float sizeY) |
void | imGuiSetNextWindowSizeEx (float sizeX, float sizeY, ImGuiCond_ cond) |
void | imGuiSetNextWindowSizeConstraints (float minX, float minY, float maxX, float maxY) |
void | imGuiSetScrollHereY (float y) |
void | imGuiPushStyleColor (ImGuiCol_ colorType, float r, float g, float b, float a) |
void | imGuiPopStyleColor () |
void | imGuiTextUnformatted (const std::string &text) |
void | imGuiText (const std::string &text) |
void | imGuiTextWrapped (const std::string text) |
bool | imGuiButton (const std::string &label) |
bool | imGuiButtonEx (const std::string &label, float sizeX, float sizeY) |
std::tuple< bool, bool > | imGuiCheckbox (const std::string &label, bool value) |
void | imGuiBeginTable (std::string name, int columns) |
void | imGuiEndTable () |
void | imGuiTableNextRow () |
void | imGuiTableSetColumnIndex (int index) |
int | imGuiTableGetColumnCount () |
bool | imGuiIsItemFocused () |
bool | imGuiIsMouseHoveringRect (float minX, float minY, float maxX, float maxY) |
void | imGuiSameLine () |
float | imGuiGetFrameHeightWithSpacing () |
void | imGuiSetKeyboardFocusHere (int offset) |
int | inputTextCallback (ImGuiInputTextCallbackData *data) |
std::tuple< std::string, bool > | imGuiInputTextWithHint (const std::string &label, const std::string &hint, std::string text, ImGuiInputTextFlags flags, sol::function callback) |
void | InitEnums (sol::table &table) |
bool imGuiBegin | ( | const std::string & | name | ) |
bool imGuiBeginChild | ( | const std::string & | name, |
float | sizeX, | ||
float | sizeY, | ||
bool | border | ||
) |
std::tuple< bool, bool > imGuiBeginEx | ( | const std::string & | name, |
bool | isOpened, | ||
ImGuiWindowFlags_ | flags | ||
) |
void imGuiBeginTable | ( | std::string | name, |
int | columns | ||
) |
bool imGuiButton | ( | const std::string & | label | ) |
bool imGuiButtonEx | ( | const std::string & | label, |
float | sizeX, | ||
float | sizeY | ||
) |
std::tuple< bool, bool > imGuiCheckbox | ( | const std::string & | label, |
bool | value | ||
) |
void imGuiEnd | ( | ) |
void imGuiEndChild | ( | ) |
void imGuiEndTable | ( | ) |
float imGuiGetFrameHeightWithSpacing | ( | ) |
std::tuple< float, float > imGuiGetWindowSize | ( | ) |
std::tuple< std::string, bool > imGuiInputTextWithHint | ( | const std::string & | label, |
const std::string & | hint, | ||
std::string | text, | ||
ImGuiInputTextFlags | flags, | ||
sol::function | callback | ||
) |
bool imGuiIsItemFocused | ( | ) |
bool imGuiIsMouseHoveringRect | ( | float | minX, |
float | minY, | ||
float | maxX, | ||
float | maxY | ||
) |
bool imGuiIsWindowHovered | ( | ImGuiHoveredFlags_ | flags | ) |
void imGuiPopStyleColor | ( | ) |
void imGuiPushStyleColor | ( | ImGuiCol_ | colorType, |
float | r, | ||
float | g, | ||
float | b, | ||
float | a | ||
) |
void imGuiSameLine | ( | ) |
void imGuiSetKeyboardFocusHere | ( | int | offset | ) |
void imGuiSetNextWindowPos | ( | float | posX, |
float | posY | ||
) |
void imGuiSetNextWindowPosEx | ( | float | posX, |
float | posY, | ||
ImGuiCond_ | cond | ||
) |
void imGuiSetNextWindowSize | ( | float | sizeX, |
float | sizeY | ||
) |
void imGuiSetNextWindowSizeConstraints | ( | float | minX, |
float | minY, | ||
float | maxX, | ||
float | maxY | ||
) |
void imGuiSetNextWindowSizeEx | ( | float | sizeX, |
float | sizeY, | ||
ImGuiCond_ | cond | ||
) |
void imGuiSetScrollHereY | ( | float | y | ) |
int imGuiTableGetColumnCount | ( | ) |
void imGuiTableNextRow | ( | ) |
void imGuiTableSetColumnIndex | ( | int | index | ) |
void imGuiText | ( | const std::string & | text | ) |
void imGuiTextUnformatted | ( | const std::string & | text | ) |
void imGuiTextWrapped | ( | const std::string | text | ) |
void InitEnums | ( | sol::table & | table | ) |
int inputTextCallback | ( | ImGuiInputTextCallbackData * | data | ) |