Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI
// buiimgui_gen.inc: Dear ImGui 1.93.1 WIP for Python (included by buiimgui_module.cpp).
// Generated by bindings/imgui/gen/gen.py from imgui.h: do not edit (py -3 -I bindings/imgui/gen/gen.py).
// SPDX-License-Identifier: GPL-2.0-or-later
static PyObject* biv_ImGui_CreateContextEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "shared_font_atlas", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImFontAtlas* a_shared_font_atlas = NULL;
BI_GETP(0, a_shared_font_atlas);
auto r = ImGui::CreateContext(a_shared_font_atlas);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_create_context(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_CreateContextEx, self, args, kw);
}
static PyObject* biv_ImGui_DestroyContextEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "ctx", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiContext* a_ctx = NULL;
BI_GETP(0, a_ctx);
ImGui::DestroyContext(a_ctx);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_destroy_context(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DestroyContextEx, self, args, kw);
}
static PyObject* biv_ImGui_GetCurrentContext(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetCurrentContext();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_current_context(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetCurrentContext, self, args, kw);
}
static PyObject* biv_ImGui_SetCurrentContext(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "ctx", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiContext* a_ctx = nullptr;
BI_GETP(0, a_ctx);
ImGui::SetCurrentContext(a_ctx);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_current_context(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetCurrentContext, self, args, kw);
}
static PyObject* biv_ImGui_GetIO(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto& r = ImGui::GetIO();
return bi_result({ bi_wrap(&r) });
}
static PyObject* bid_ImGui_get_io(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetIO, self, args, kw);
}
static PyObject* biv_ImGui_GetPlatformIO(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto& r = ImGui::GetPlatformIO();
return bi_result({ bi_wrap(&r) });
}
static PyObject* bid_ImGui_get_platform_io(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetPlatformIO, self, args, kw);
}
static PyObject* biv_ImGui_GetStyle(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto& r = ImGui::GetStyle();
return bi_result({ bi_wrap(&r) });
}
static PyObject* bid_ImGui_get_style(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetStyle, self, args, kw);
}
static PyObject* biv_ImGui_NewFrame(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::NewFrame();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_new_frame(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_NewFrame, self, args, kw);
}
static PyObject* biv_ImGui_EndFrame(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndFrame();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_frame(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndFrame, self, args, kw);
}
static PyObject* biv_ImGui_Render(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::Render();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_render(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_Render, self, args, kw);
}
static PyObject* biv_ImGui_GetDrawData(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetDrawData();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_draw_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetDrawData, self, args, kw);
}
static PyObject* biv_ImGui_ShowDemoWindowEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_open", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
bool a_p_open_v{}; bool* a_p_open = NULL;
if (o[0] && o[0] != Py_None) { if (!bi_from(o[0], a_p_open_v)) BI_FAIL; a_p_open = &a_p_open_v; }
ImGui::ShowDemoWindow(a_p_open);
return bi_result({ bi_opt(a_p_open) });
}
static PyObject* bid_ImGui_show_demo_window(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowDemoWindowEx, self, args, kw);
}
static PyObject* biv_ImGui_ShowMetricsWindowEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_open", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
bool a_p_open_v{}; bool* a_p_open = NULL;
if (o[0] && o[0] != Py_None) { if (!bi_from(o[0], a_p_open_v)) BI_FAIL; a_p_open = &a_p_open_v; }
ImGui::ShowMetricsWindow(a_p_open);
return bi_result({ bi_opt(a_p_open) });
}
static PyObject* bid_ImGui_show_metrics_window(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowMetricsWindowEx, self, args, kw);
}
static PyObject* biv_ImGui_ShowDebugLogWindowEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_open", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
bool a_p_open_v{}; bool* a_p_open = NULL;
if (o[0] && o[0] != Py_None) { if (!bi_from(o[0], a_p_open_v)) BI_FAIL; a_p_open = &a_p_open_v; }
ImGui::ShowDebugLogWindow(a_p_open);
return bi_result({ bi_opt(a_p_open) });
}
static PyObject* bid_ImGui_show_debug_log_window(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowDebugLogWindowEx, self, args, kw);
}
static PyObject* biv_ImGui_ShowIDStackToolWindowEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_open", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
bool a_p_open_v{}; bool* a_p_open = NULL;
if (o[0] && o[0] != Py_None) { if (!bi_from(o[0], a_p_open_v)) BI_FAIL; a_p_open = &a_p_open_v; }
ImGui::ShowIDStackToolWindow(a_p_open);
return bi_result({ bi_opt(a_p_open) });
}
static PyObject* bid_ImGui_show_id_stack_tool_window(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowIDStackToolWindowEx, self, args, kw);
}
static PyObject* biv_ImGui_ShowAboutWindowEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_open", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
bool a_p_open_v{}; bool* a_p_open = NULL;
if (o[0] && o[0] != Py_None) { if (!bi_from(o[0], a_p_open_v)) BI_FAIL; a_p_open = &a_p_open_v; }
ImGui::ShowAboutWindow(a_p_open);
return bi_result({ bi_opt(a_p_open) });
}
static PyObject* bid_ImGui_show_about_window(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowAboutWindowEx, self, args, kw);
}
static PyObject* biv_ImGui_ShowStyleEditorEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "ref", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiStyle* a_ref = NULL;
BI_GETP(0, a_ref);
ImGui::ShowStyleEditor(a_ref);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_show_style_editor(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowStyleEditorEx, self, args, kw);
}
static PyObject* biv_ImGui_ShowStyleSelector(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
auto r = ImGui::ShowStyleSelector(a_label);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_show_style_selector(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowStyleSelector, self, args, kw);
}
static PyObject* biv_ImGui_ShowFontSelector(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImGui::ShowFontSelector(a_label);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_show_font_selector(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowFontSelector, self, args, kw);
}
static PyObject* biv_ImGui_ShowUserGuide(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::ShowUserGuide();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_show_user_guide(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShowUserGuide, self, args, kw);
}
static PyObject* biv_ImGui_GetVersion(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetVersion();
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImGui_get_version(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetVersion, self, args, kw);
}
static PyObject* biv_ImGui_StyleColorsDarkEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "dst", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiStyle* a_dst = NULL;
BI_GETP(0, a_dst);
ImGui::StyleColorsDark(a_dst);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_style_colors_dark(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_StyleColorsDarkEx, self, args, kw);
}
static PyObject* biv_ImGui_StyleColorsLightEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "dst", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiStyle* a_dst = NULL;
BI_GETP(0, a_dst);
ImGui::StyleColorsLight(a_dst);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_style_colors_light(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_StyleColorsLightEx, self, args, kw);
}
static PyObject* biv_ImGui_StyleColorsClassicEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "dst", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiStyle* a_dst = NULL;
BI_GETP(0, a_dst);
ImGui::StyleColorsClassic(a_dst);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_style_colors_classic(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_StyleColorsClassicEx, self, args, kw);
}
static PyObject* biv_ImGui_BeginEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "name", "p_open", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
const char* a_name{};
BI_GET(0, a_name);
bool a_p_open_v{}; bool* a_p_open = NULL;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_p_open_v)) BI_FAIL; a_p_open = &a_p_open_v; }
ImGuiWindowFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::Begin(a_name, a_p_open, a_flags);
return bi_result({ bi_to(r), bi_opt(a_p_open) });
}
static PyObject* bid_ImGui_begin(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginEx, self, args, kw);
}
static PyObject* biv_ImGui_End(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::End();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_End, self, args, kw);
}
static PyObject* biv_ImGui_BeginChildEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "size", "child_flags", "window_flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 1, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImVec2 a_size = ImVec2(0, 0);
BI_GET(1, a_size);
ImGuiChildFlags a_child_flags = 0;
BI_GET(2, a_child_flags);
ImGuiWindowFlags a_window_flags = 0;
BI_GET(3, a_window_flags);
auto r = ImGui::BeginChild(a_str_id, a_size, a_child_flags, a_window_flags);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_BeginChildIDEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "id", "size", "child_flags", "window_flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 1, o, argfail)) return nullptr;
ImGuiID a_id{};
BI_GET(0, a_id);
ImVec2 a_size = ImVec2(0, 0);
BI_GET(1, a_size);
ImGuiChildFlags a_child_flags = 0;
BI_GET(2, a_child_flags);
ImGuiWindowFlags a_window_flags = 0;
BI_GET(3, a_window_flags);
auto r = ImGui::BeginChild(a_id, a_size, a_child_flags, a_window_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_child(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_BeginChildEx, biv_ImGui_BeginChildIDEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_BeginChildIDEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_BeginChildIDEx, self, args, kw); }
static PyObject* biv_ImGui_EndChild(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndChild();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_child(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndChild, self, args, kw);
}
static PyObject* biv_ImGui_IsWindowAppearing(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsWindowAppearing();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_window_appearing(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsWindowAppearing, self, args, kw);
}
static PyObject* biv_ImGui_IsWindowCollapsed(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsWindowCollapsed();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_window_collapsed(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsWindowCollapsed, self, args, kw);
}
static PyObject* biv_ImGui_IsWindowFocusedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "flags", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiFocusedFlags a_flags = 0;
BI_GET(0, a_flags);
auto r = ImGui::IsWindowFocused(a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_window_focused(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsWindowFocusedEx, self, args, kw);
}
static PyObject* biv_ImGui_IsWindowHoveredEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "flags", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiHoveredFlags a_flags = 0;
BI_GET(0, a_flags);
auto r = ImGui::IsWindowHovered(a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_window_hovered(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsWindowHoveredEx, self, args, kw);
}
static PyObject* biv_ImGui_GetWindowDrawList(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetWindowDrawList();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_window_draw_list(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetWindowDrawList, self, args, kw);
}
static PyObject* biv_ImGui_GetWindowPos(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetWindowPos();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_window_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetWindowPos, self, args, kw);
}
static PyObject* biv_ImGui_GetWindowSize(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetWindowSize();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_window_size(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetWindowSize, self, args, kw);
}
static PyObject* biv_ImGui_GetWindowWidth(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetWindowWidth();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_window_width(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetWindowWidth, self, args, kw);
}
static PyObject* biv_ImGui_GetWindowHeight(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetWindowHeight();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_window_height(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetWindowHeight, self, args, kw);
}
static PyObject* biv_ImGui_SetNextWindowPosEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", "cond", "pivot", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
ImVec2 a_pos{};
BI_GET(0, a_pos);
ImGuiCond a_cond = 0;
BI_GET(1, a_cond);
ImVec2 a_pivot = ImVec2(0, 0);
BI_GET(2, a_pivot);
ImGui::SetNextWindowPos(a_pos, a_cond, a_pivot);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_window_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextWindowPosEx, self, args, kw);
}
static PyObject* biv_ImGui_SetNextWindowSizeEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", "cond", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImVec2 a_size{};
BI_GET(0, a_size);
ImGuiCond a_cond = 0;
BI_GET(1, a_cond);
ImGui::SetNextWindowSize(a_size, a_cond);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_window_size(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextWindowSizeEx, self, args, kw);
}
static PyObject* biv_ImGui_SetNextWindowSizeConstraintsEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size_min", "size_max", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImVec2 a_size_min{};
BI_GET(0, a_size_min);
ImVec2 a_size_max{};
BI_GET(1, a_size_max);
ImGuiSizeCallback a_custom_callback = NULL;
void* a_custom_callback_data = NULL;
ImGui::SetNextWindowSizeConstraints(a_size_min, a_size_max, a_custom_callback, a_custom_callback_data);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_window_size_constraints(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextWindowSizeConstraintsEx, self, args, kw);
}
static PyObject* biv_ImGui_SetNextWindowContentSize(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec2 a_size{};
BI_GET(0, a_size);
ImGui::SetNextWindowContentSize(a_size);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_window_content_size(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextWindowContentSize, self, args, kw);
}
static PyObject* biv_ImGui_SetNextWindowCollapsedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "collapsed", "cond", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
bool a_collapsed{};
BI_GET(0, a_collapsed);
ImGuiCond a_cond = 0;
BI_GET(1, a_cond);
ImGui::SetNextWindowCollapsed(a_collapsed, a_cond);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_window_collapsed(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextWindowCollapsedEx, self, args, kw);
}
static PyObject* biv_ImGui_SetNextWindowFocus(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::SetNextWindowFocus();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_window_focus(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextWindowFocus, self, args, kw);
}
static PyObject* biv_ImGui_SetNextWindowScroll(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "scroll", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec2 a_scroll{};
BI_GET(0, a_scroll);
ImGui::SetNextWindowScroll(a_scroll);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_window_scroll(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextWindowScroll, self, args, kw);
}
static PyObject* biv_ImGui_SetNextWindowBgAlpha(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "alpha", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
float a_alpha{};
BI_GET(0, a_alpha);
ImGui::SetNextWindowBgAlpha(a_alpha);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_window_bg_alpha(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextWindowBgAlpha, self, args, kw);
}
static PyObject* biv_ImGui_SetWindowPosEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", "cond", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImVec2 a_pos{};
BI_GET(0, a_pos);
ImGuiCond a_cond = 0;
BI_GET(1, a_cond);
ImGui::SetWindowPos(a_pos, a_cond);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_SetWindowPosStrEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "name", "pos", "cond", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_name{};
BI_GET(0, a_name);
ImVec2 a_pos{};
BI_GET(1, a_pos);
ImGuiCond a_cond = 0;
BI_GET(2, a_cond);
ImGui::SetWindowPos(a_name, a_pos, a_cond);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_window_pos(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_SetWindowPosEx, biv_ImGui_SetWindowPosStrEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_SetWindowPosStrEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_SetWindowPosStrEx, self, args, kw); }
static PyObject* biv_ImGui_SetWindowSizeEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", "cond", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImVec2 a_size{};
BI_GET(0, a_size);
ImGuiCond a_cond = 0;
BI_GET(1, a_cond);
ImGui::SetWindowSize(a_size, a_cond);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_SetWindowSizeStrEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "name", "size", "cond", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_name{};
BI_GET(0, a_name);
ImVec2 a_size{};
BI_GET(1, a_size);
ImGuiCond a_cond = 0;
BI_GET(2, a_cond);
ImGui::SetWindowSize(a_name, a_size, a_cond);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_window_size(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_SetWindowSizeEx, biv_ImGui_SetWindowSizeStrEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_SetWindowSizeStrEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_SetWindowSizeStrEx, self, args, kw); }
static PyObject* biv_ImGui_SetWindowCollapsedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "collapsed", "cond", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
bool a_collapsed{};
BI_GET(0, a_collapsed);
ImGuiCond a_cond = 0;
BI_GET(1, a_cond);
ImGui::SetWindowCollapsed(a_collapsed, a_cond);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_SetWindowCollapsedStrEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "name", "collapsed", "cond", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_name{};
BI_GET(0, a_name);
bool a_collapsed{};
BI_GET(1, a_collapsed);
ImGuiCond a_cond = 0;
BI_GET(2, a_cond);
ImGui::SetWindowCollapsed(a_name, a_collapsed, a_cond);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_window_collapsed(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_SetWindowCollapsedEx, biv_ImGui_SetWindowCollapsedStrEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_SetWindowCollapsedStrEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_SetWindowCollapsedStrEx, self, args, kw); }
static PyObject* biv_ImGui_SetWindowFocus(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::SetWindowFocus();
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_SetWindowFocusStr(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "name", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_name{};
BI_GET(0, a_name);
ImGui::SetWindowFocus(a_name);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_window_focus(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_SetWindowFocus, biv_ImGui_SetWindowFocusStr };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_SetWindowFocusStr(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_SetWindowFocusStr, self, args, kw); }
static PyObject* biv_ImGui_GetScrollX(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetScrollX();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_scroll_x(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetScrollX, self, args, kw);
}
static PyObject* biv_ImGui_GetScrollY(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetScrollY();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_scroll_y(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetScrollY, self, args, kw);
}
static PyObject* biv_ImGui_SetScrollX(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "scroll_x", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
float a_scroll_x{};
BI_GET(0, a_scroll_x);
ImGui::SetScrollX(a_scroll_x);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_scroll_x(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetScrollX, self, args, kw);
}
static PyObject* biv_ImGui_SetScrollY(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "scroll_y", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
float a_scroll_y{};
BI_GET(0, a_scroll_y);
ImGui::SetScrollY(a_scroll_y);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_scroll_y(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetScrollY, self, args, kw);
}
static PyObject* biv_ImGui_GetScrollMaxX(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetScrollMaxX();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_scroll_max_x(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetScrollMaxX, self, args, kw);
}
static PyObject* biv_ImGui_GetScrollMaxY(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetScrollMaxY();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_scroll_max_y(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetScrollMaxY, self, args, kw);
}
static PyObject* biv_ImGui_SetScrollHereXEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center_x_ratio", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
float a_center_x_ratio = 0.5f;
BI_GET(0, a_center_x_ratio);
ImGui::SetScrollHereX(a_center_x_ratio);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_scroll_here_x(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetScrollHereXEx, self, args, kw);
}
static PyObject* biv_ImGui_SetScrollHereYEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center_y_ratio", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
float a_center_y_ratio = 0.5f;
BI_GET(0, a_center_y_ratio);
ImGui::SetScrollHereY(a_center_y_ratio);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_scroll_here_y(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetScrollHereYEx, self, args, kw);
}
static PyObject* biv_ImGui_SetScrollFromPosXEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "local_x", "center_x_ratio", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
float a_local_x{};
BI_GET(0, a_local_x);
float a_center_x_ratio = 0.5f;
BI_GET(1, a_center_x_ratio);
ImGui::SetScrollFromPosX(a_local_x, a_center_x_ratio);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_scroll_from_pos_x(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetScrollFromPosXEx, self, args, kw);
}
static PyObject* biv_ImGui_SetScrollFromPosYEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "local_y", "center_y_ratio", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
float a_local_y{};
BI_GET(0, a_local_y);
float a_center_y_ratio = 0.5f;
BI_GET(1, a_center_y_ratio);
ImGui::SetScrollFromPosY(a_local_y, a_center_y_ratio);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_scroll_from_pos_y(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetScrollFromPosYEx, self, args, kw);
}
static PyObject* biv_ImGui_PushFont(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font", "font_size_base_unscaled", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImFont* a_font = nullptr;
BI_GETP(0, a_font);
float a_font_size_base_unscaled{};
BI_GET(1, a_font_size_base_unscaled);
ImGui::PushFont(a_font, a_font_size_base_unscaled);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_font(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PushFont, self, args, kw);
}
static PyObject* biv_ImGui_PopFont(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::PopFont();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_pop_font(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PopFont, self, args, kw);
}
static PyObject* biv_ImGui_GetFont(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetFont();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_font(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetFont, self, args, kw);
}
static PyObject* biv_ImGui_GetFontSize(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetFontSize();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_font_size(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetFontSize, self, args, kw);
}
static PyObject* biv_ImGui_GetFontBaked(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetFontBaked();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_font_baked(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetFontBaked, self, args, kw);
}
static PyObject* biv_ImGui_PushStyleColor(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", "col", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiCol a_idx{};
BI_GET(0, a_idx);
ImU32 a_col{};
BI_GET(1, a_col);
ImGui::PushStyleColor(a_idx, a_col);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_PushStyleColorVec4(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", "col", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiCol a_idx{};
BI_GET(0, a_idx);
ImVec4 a_col{};
BI_GET(1, a_col);
ImGui::PushStyleColor(a_idx, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_style_color(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_PushStyleColor, biv_ImGui_PushStyleColorVec4 };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_PushStyleColorVec4(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_PushStyleColorVec4, self, args, kw); }
static PyObject* biv_ImGui_PopStyleColorEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "count", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_count = 1;
BI_GET(0, a_count);
ImGui::PopStyleColor(a_count);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_pop_style_color(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PopStyleColorEx, self, args, kw);
}
static PyObject* biv_ImGui_PushStyleVar(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", "val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiStyleVar a_idx{};
BI_GET(0, a_idx);
float a_val{};
BI_GET(1, a_val);
ImGui::PushStyleVar(a_idx, a_val);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_PushStyleVarVec2(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", "val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiStyleVar a_idx{};
BI_GET(0, a_idx);
ImVec2 a_val{};
BI_GET(1, a_val);
ImGui::PushStyleVar(a_idx, a_val);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_style_var(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_PushStyleVar, biv_ImGui_PushStyleVarVec2 };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_PushStyleVarVec2(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_PushStyleVarVec2, self, args, kw); }
static PyObject* biv_ImGui_PushStyleVarX(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", "val_x", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiStyleVar a_idx{};
BI_GET(0, a_idx);
float a_val_x{};
BI_GET(1, a_val_x);
ImGui::PushStyleVarX(a_idx, a_val_x);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_style_var_x(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PushStyleVarX, self, args, kw);
}
static PyObject* biv_ImGui_PushStyleVarY(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", "val_y", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiStyleVar a_idx{};
BI_GET(0, a_idx);
float a_val_y{};
BI_GET(1, a_val_y);
ImGui::PushStyleVarY(a_idx, a_val_y);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_style_var_y(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PushStyleVarY, self, args, kw);
}
static PyObject* biv_ImGui_PopStyleVarEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "count", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_count = 1;
BI_GET(0, a_count);
ImGui::PopStyleVar(a_count);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_pop_style_var(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PopStyleVarEx, self, args, kw);
}
static PyObject* biv_ImGui_PushItemFlag(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "option", "enabled", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiItemFlags a_option{};
BI_GET(0, a_option);
bool a_enabled{};
BI_GET(1, a_enabled);
ImGui::PushItemFlag(a_option, a_enabled);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_item_flag(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PushItemFlag, self, args, kw);
}
static PyObject* biv_ImGui_PopItemFlag(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::PopItemFlag();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_pop_item_flag(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PopItemFlag, self, args, kw);
}
static PyObject* biv_ImGui_PushItemWidth(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "item_width", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
float a_item_width{};
BI_GET(0, a_item_width);
ImGui::PushItemWidth(a_item_width);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_item_width(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PushItemWidth, self, args, kw);
}
static PyObject* biv_ImGui_PopItemWidth(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::PopItemWidth();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_pop_item_width(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PopItemWidth, self, args, kw);
}
static PyObject* biv_ImGui_SetNextItemWidth(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "item_width", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
float a_item_width{};
BI_GET(0, a_item_width);
ImGui::SetNextItemWidth(a_item_width);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_item_width(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextItemWidth, self, args, kw);
}
static PyObject* biv_ImGui_CalcItemWidth(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::CalcItemWidth();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_calc_item_width(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_CalcItemWidth, self, args, kw);
}
static PyObject* biv_ImGui_PushTextWrapPosEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "wrap_local_pos_x", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
float a_wrap_local_pos_x = 0.0f;
BI_GET(0, a_wrap_local_pos_x);
ImGui::PushTextWrapPos(a_wrap_local_pos_x);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_text_wrap_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PushTextWrapPosEx, self, args, kw);
}
static PyObject* biv_ImGui_PopTextWrapPos(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::PopTextWrapPos();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_pop_text_wrap_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PopTextWrapPos, self, args, kw);
}
static PyObject* biv_ImGui_GetFontTexUvWhitePixel(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetFontTexUvWhitePixel();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_font_tex_uv_white_pixel(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetFontTexUvWhitePixel, self, args, kw);
}
static PyObject* biv_ImGui_GetColorU32Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", "alpha_mul", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiCol a_idx{};
BI_GET(0, a_idx);
float a_alpha_mul = 1.0f;
BI_GET(1, a_alpha_mul);
auto r = ImGui::GetColorU32(a_idx, a_alpha_mul);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_GetColorU32Vec4(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "col", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec4 a_col{};
BI_GET(0, a_col);
auto r = ImGui::GetColorU32(a_col);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_GetColorU32U32Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "col", "alpha_mul", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImU32 a_col{};
BI_GET(0, a_col);
float a_alpha_mul = 1.0f;
BI_GET(1, a_alpha_mul);
auto r = ImGui::GetColorU32(a_col, a_alpha_mul);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_color_u32(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_GetColorU32Ex, biv_ImGui_GetColorU32Vec4, biv_ImGui_GetColorU32U32Ex };
return bi_dispatch(self, args, kw, v, 3);
}
static PyObject* bid1_ImGui_GetColorU32Vec4(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_GetColorU32Vec4, self, args, kw); }
static PyObject* bid1_ImGui_GetColorU32U32Ex(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_GetColorU32U32Ex, self, args, kw); }
static PyObject* biv_ImGui_GetStyleColorVec4(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiCol a_idx{};
BI_GET(0, a_idx);
auto& r = ImGui::GetStyleColorVec4(a_idx);
return bi_result({ bi_wrap(&r) });
}
static PyObject* bid_ImGui_get_style_color_vec4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetStyleColorVec4, self, args, kw);
}
static PyObject* biv_ImGui_GetCursorScreenPos(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetCursorScreenPos();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_cursor_screen_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetCursorScreenPos, self, args, kw);
}
static PyObject* biv_ImGui_SetCursorScreenPos(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec2 a_pos{};
BI_GET(0, a_pos);
ImGui::SetCursorScreenPos(a_pos);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_cursor_screen_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetCursorScreenPos, self, args, kw);
}
static PyObject* biv_ImGui_GetContentRegionAvail(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetContentRegionAvail();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_content_region_avail(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetContentRegionAvail, self, args, kw);
}
static PyObject* biv_ImGui_GetCursorPos(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetCursorPos();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_cursor_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetCursorPos, self, args, kw);
}
static PyObject* biv_ImGui_GetCursorPosX(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetCursorPosX();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_cursor_pos_x(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetCursorPosX, self, args, kw);
}
static PyObject* biv_ImGui_GetCursorPosY(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetCursorPosY();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_cursor_pos_y(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetCursorPosY, self, args, kw);
}
static PyObject* biv_ImGui_SetCursorPos(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "local_pos", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec2 a_local_pos{};
BI_GET(0, a_local_pos);
ImGui::SetCursorPos(a_local_pos);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_cursor_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetCursorPos, self, args, kw);
}
static PyObject* biv_ImGui_SetCursorPosX(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "local_x", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
float a_local_x{};
BI_GET(0, a_local_x);
ImGui::SetCursorPosX(a_local_x);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_cursor_pos_x(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetCursorPosX, self, args, kw);
}
static PyObject* biv_ImGui_SetCursorPosY(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "local_y", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
float a_local_y{};
BI_GET(0, a_local_y);
ImGui::SetCursorPosY(a_local_y);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_cursor_pos_y(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetCursorPosY, self, args, kw);
}
static PyObject* biv_ImGui_GetCursorStartPos(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetCursorStartPos();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_cursor_start_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetCursorStartPos, self, args, kw);
}
static PyObject* biv_ImGui_Separator(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::Separator();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_separator(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_Separator, self, args, kw);
}
static PyObject* biv_ImGui_SameLineEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "offset_from_start_x", "spacing", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
float a_offset_from_start_x = 0.0f;
BI_GET(0, a_offset_from_start_x);
float a_spacing = - 1.0f;
BI_GET(1, a_spacing);
ImGui::SameLine(a_offset_from_start_x, a_spacing);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_same_line(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SameLineEx, self, args, kw);
}
static PyObject* biv_ImGui_NewLine(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::NewLine();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_new_line(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_NewLine, self, args, kw);
}
static PyObject* biv_ImGui_Spacing(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::Spacing();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_spacing(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_Spacing, self, args, kw);
}
static PyObject* biv_ImGui_Dummy(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec2 a_size{};
BI_GET(0, a_size);
ImGui::Dummy(a_size);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_dummy(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_Dummy, self, args, kw);
}
static PyObject* biv_ImGui_IndentEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "indent_w", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
float a_indent_w = 0.0f;
BI_GET(0, a_indent_w);
ImGui::Indent(a_indent_w);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_indent(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IndentEx, self, args, kw);
}
static PyObject* biv_ImGui_UnindentEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "indent_w", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
float a_indent_w = 0.0f;
BI_GET(0, a_indent_w);
ImGui::Unindent(a_indent_w);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_unindent(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_UnindentEx, self, args, kw);
}
static PyObject* biv_ImGui_BeginGroup(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::BeginGroup();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_begin_group(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginGroup, self, args, kw);
}
static PyObject* biv_ImGui_EndGroup(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndGroup();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_group(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndGroup, self, args, kw);
}
static PyObject* biv_ImGui_AlignTextToFramePadding(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::AlignTextToFramePadding();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_align_text_to_frame_padding(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_AlignTextToFramePadding, self, args, kw);
}
static PyObject* biv_ImGui_GetTextLineHeight(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetTextLineHeight();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_text_line_height(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetTextLineHeight, self, args, kw);
}
static PyObject* biv_ImGui_GetTextLineHeightWithSpacing(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetTextLineHeightWithSpacing();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_text_line_height_with_spacing(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetTextLineHeightWithSpacing, self, args, kw);
}
static PyObject* biv_ImGui_GetFrameHeight(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetFrameHeight();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_frame_height(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetFrameHeight, self, args, kw);
}
static PyObject* biv_ImGui_GetFrameHeightWithSpacing(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetFrameHeightWithSpacing();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_frame_height_with_spacing(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetFrameHeightWithSpacing, self, args, kw);
}
static PyObject* biv_ImGui_PushID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImGui::PushID(a_str_id);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_PushIDStr(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id_begin", "str_id_end", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_str_id_begin{};
BI_GET(0, a_str_id_begin);
const char* a_str_id_end{};
BI_GET(1, a_str_id_end);
ImGui::PushID(a_str_id_begin, a_str_id_end);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_PushIDInt(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "int_id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
int a_int_id{};
BI_GET(0, a_int_id);
ImGui::PushID(a_int_id);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_id(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_PushID, biv_ImGui_PushIDStr, biv_ImGui_PushIDInt };
return bi_dispatch(self, args, kw, v, 3);
}
static PyObject* bid1_ImGui_PushIDStr(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_PushIDStr, self, args, kw); }
static PyObject* bid1_ImGui_PushIDInt(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_PushIDInt, self, args, kw); }
static PyObject* biv_ImGui_PopID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::PopID();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_pop_id(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PopID, self, args, kw);
}
static PyObject* biv_ImGui_GetID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
auto r = ImGui::GetID(a_str_id);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_GetIDStr(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id_begin", "str_id_end", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_str_id_begin{};
BI_GET(0, a_str_id_begin);
const char* a_str_id_end{};
BI_GET(1, a_str_id_end);
auto r = ImGui::GetID(a_str_id_begin, a_str_id_end);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_GetIDInt(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "int_id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
int a_int_id{};
BI_GET(0, a_int_id);
auto r = ImGui::GetID(a_int_id);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_id(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_GetID, biv_ImGui_GetIDStr, biv_ImGui_GetIDInt };
return bi_dispatch(self, args, kw, v, 3);
}
static PyObject* bid1_ImGui_GetIDStr(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_GetIDStr, self, args, kw); }
static PyObject* bid1_ImGui_GetIDInt(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_GetIDInt, self, args, kw); }
static PyObject* biv_ImGui_TextUnformattedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", "text_end", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_text{};
BI_GET(0, a_text);
const char* a_text_end = NULL;
BI_GET(1, a_text_end);
ImGui::TextUnformatted(a_text, a_text_end);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_text_unformatted(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TextUnformattedEx, self, args, kw);
}
static PyObject* biv_ImGui_Text(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_fmt{};
BI_GET(0, a_fmt);
ImGui::Text("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_Text, self, args, kw);
}
static PyObject* biv_ImGui_TextColored(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "col", "text", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImVec4 a_col{};
BI_GET(0, a_col);
const char* a_fmt{};
BI_GET(1, a_fmt);
ImGui::TextColored(a_col, "%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_text_colored(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TextColored, self, args, kw);
}
static PyObject* biv_ImGui_TextDisabled(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_fmt{};
BI_GET(0, a_fmt);
ImGui::TextDisabled("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_text_disabled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TextDisabled, self, args, kw);
}
static PyObject* biv_ImGui_TextWrapped(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_fmt{};
BI_GET(0, a_fmt);
ImGui::TextWrapped("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_text_wrapped(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TextWrapped, self, args, kw);
}
static PyObject* biv_ImGui_LabelText(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "text", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
const char* a_fmt{};
BI_GET(1, a_fmt);
ImGui::LabelText(a_label, "%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_label_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LabelText, self, args, kw);
}
static PyObject* biv_ImGui_BulletText(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_fmt{};
BI_GET(0, a_fmt);
ImGui::BulletText("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_bullet_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BulletText, self, args, kw);
}
static PyObject* biv_ImGui_SeparatorText(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImGui::SeparatorText(a_label);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_separator_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SeparatorText, self, args, kw);
}
static PyObject* biv_ImGui_ButtonEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "size", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImVec2 a_size = ImVec2(0, 0);
BI_GET(1, a_size);
auto r = ImGui::Button(a_label, a_size);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_button(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ButtonEx, self, args, kw);
}
static PyObject* biv_ImGui_SmallButton(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
auto r = ImGui::SmallButton(a_label);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_small_button(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SmallButton, self, args, kw);
}
static PyObject* biv_ImGui_InvisibleButtonEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "size", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImVec2 a_size{};
BI_GET(1, a_size);
ImGuiButtonFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::InvisibleButton(a_str_id, a_size, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_invisible_button(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InvisibleButtonEx, self, args, kw);
}
static PyObject* biv_ImGui_ArrowButton(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "dir", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImGuiDir a_dir{};
BI_GET(1, a_dir);
auto r = ImGui::ArrowButton(a_str_id, a_dir);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_arrow_button(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ArrowButton, self, args, kw);
}
static PyObject* biv_ImGui_Checkbox(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
bool a_v_v{}; bool* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
auto r = ImGui::Checkbox(a_label, a_v);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_checkbox(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_Checkbox, self, args, kw);
}
static PyObject* biv_ImGui_CheckboxFlags(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "flags", "flags_value", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_flags_v{}; int* a_flags = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_flags_v)) BI_FAIL; a_flags = &a_flags_v; }
int a_flags_value{};
BI_GET(2, a_flags_value);
auto r = ImGui::CheckboxFlags(a_label, a_flags, a_flags_value);
return bi_result({ bi_to(r), bi_opt(a_flags) });
}
static PyObject* biv_ImGui_CheckboxFlagsUIntPtr(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "flags", "flags_value", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
unsigned int a_flags_v{}; unsigned int* a_flags = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_flags_v)) BI_FAIL; a_flags = &a_flags_v; }
unsigned int a_flags_value{};
BI_GET(2, a_flags_value);
auto r = ImGui::CheckboxFlags(a_label, a_flags, a_flags_value);
return bi_result({ bi_to(r), bi_opt(a_flags) });
}
static PyObject* bid_ImGui_checkbox_flags(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_CheckboxFlags, biv_ImGui_CheckboxFlagsUIntPtr };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_CheckboxFlagsUIntPtr(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_CheckboxFlagsUIntPtr, self, args, kw); }
static PyObject* biv_ImGui_RadioButton(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "active", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
bool a_active{};
BI_GET(1, a_active);
auto r = ImGui::RadioButton(a_label, a_active);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_RadioButtonIntPtr(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_button", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v_v{}; int* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
int a_v_button{};
BI_GET(2, a_v_button);
auto r = ImGui::RadioButton(a_label, a_v, a_v_button);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_radio_button(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_RadioButton, biv_ImGui_RadioButtonIntPtr };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_RadioButtonIntPtr(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_RadioButtonIntPtr, self, args, kw); }
static PyObject* biv_ImGui_ProgressBarEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "fraction", "size_arg", "overlay", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
float a_fraction{};
BI_GET(0, a_fraction);
ImVec2 a_size_arg = ImVec2(- FLT_MIN, 0);
BI_GET(1, a_size_arg);
const char* a_overlay = NULL;
BI_GET(2, a_overlay);
ImGui::ProgressBar(a_fraction, a_size_arg, a_overlay);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_progress_bar(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ProgressBarEx, self, args, kw);
}
static PyObject* biv_ImGui_Bullet(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::Bullet();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_bullet(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_Bullet, self, args, kw);
}
static PyObject* biv_ImGui_TextLink(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
auto r = ImGui::TextLink(a_label);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_text_link(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TextLink, self, args, kw);
}
static PyObject* biv_ImGui_TextLinkOpenURLEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "url", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
const char* a_url = NULL;
BI_GET(1, a_url);
auto r = ImGui::TextLinkOpenURL(a_label, a_url);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_text_link_open_url(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TextLinkOpenURLEx, self, args, kw);
}
static PyObject* biv_ImGui_ImageEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_ref", "image_size", "uv0", "uv1", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 2, o, argfail)) return nullptr;
ImTextureRef a_tex_ref{};
BI_GET(0, a_tex_ref);
ImVec2 a_image_size{};
BI_GET(1, a_image_size);
ImVec2 a_uv0 = ImVec2(0, 0);
BI_GET(2, a_uv0);
ImVec2 a_uv1 = ImVec2(1, 1);
BI_GET(3, a_uv1);
ImGui::Image(a_tex_ref, a_image_size, a_uv0, a_uv1);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_image(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ImageEx, self, args, kw);
}
static PyObject* biv_ImGui_ImageWithBgEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_ref", "image_size", "uv0", "uv1", "bg_col", "tint_col", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 2, o, argfail)) return nullptr;
ImTextureRef a_tex_ref{};
BI_GET(0, a_tex_ref);
ImVec2 a_image_size{};
BI_GET(1, a_image_size);
ImVec2 a_uv0 = ImVec2(0, 0);
BI_GET(2, a_uv0);
ImVec2 a_uv1 = ImVec2(1, 1);
BI_GET(3, a_uv1);
ImVec4 a_bg_col = ImVec4(0, 0, 0, 0);
BI_GET(4, a_bg_col);
ImVec4 a_tint_col = ImVec4(1, 1, 1, 1);
BI_GET(5, a_tint_col);
ImGui::ImageWithBg(a_tex_ref, a_image_size, a_uv0, a_uv1, a_bg_col, a_tint_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_image_with_bg(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ImageWithBgEx, self, args, kw);
}
static PyObject* biv_ImGui_ImageButtonEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "tex_ref", "image_size", "uv0", "uv1", "bg_col", "tint_col", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 3, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImTextureRef a_tex_ref{};
BI_GET(1, a_tex_ref);
ImVec2 a_image_size{};
BI_GET(2, a_image_size);
ImVec2 a_uv0 = ImVec2(0, 0);
BI_GET(3, a_uv0);
ImVec2 a_uv1 = ImVec2(1, 1);
BI_GET(4, a_uv1);
ImVec4 a_bg_col = ImVec4(0, 0, 0, 0);
BI_GET(5, a_bg_col);
ImVec4 a_tint_col = ImVec4(1, 1, 1, 1);
BI_GET(6, a_tint_col);
auto r = ImGui::ImageButton(a_str_id, a_tex_ref, a_image_size, a_uv0, a_uv1, a_bg_col, a_tint_col);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_image_button(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ImageButtonEx, self, args, kw);
}
static PyObject* biv_ImGui_BeginComboEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "preview_value", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
const char* a_preview_value{};
BI_GET(1, a_preview_value);
ImGuiComboFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::BeginCombo(a_label, a_preview_value, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_combo(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginComboEx, self, args, kw);
}
static PyObject* biv_ImGui_EndCombo(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndCombo();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_combo(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndCombo, self, args, kw);
}
static PyObject* biv_ImGui_ComboEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "current_item", "items", "popup_max_height_in_items", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_current_item_v{}; int* a_current_item = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_current_item_v)) BI_FAIL; a_current_item = &a_current_item_v; }
BiSeq<const char*> a_items;
BI_GET(2, a_items);
int a_popup_max_height_in_items = - 1;
BI_GET(3, a_popup_max_height_in_items);
auto r = ImGui::Combo(a_label, a_current_item, a_items.data(), (int)a_items.size(), a_popup_max_height_in_items);
return bi_result({ bi_to(r), bi_opt(a_current_item) });
}
static PyObject* biv_ImGui_ComboStrEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "current_item", "items_separated_by_zeros", "popup_max_height_in_items", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_current_item_v{}; int* a_current_item = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_current_item_v)) BI_FAIL; a_current_item = &a_current_item_v; }
const char* a_items_separated_by_zeros{};
BI_GET(2, a_items_separated_by_zeros);
int a_popup_max_height_in_items = - 1;
BI_GET(3, a_popup_max_height_in_items);
auto r = ImGui::Combo(a_label, a_current_item, a_items_separated_by_zeros, a_popup_max_height_in_items);
return bi_result({ bi_to(r), bi_opt(a_current_item) });
}
static PyObject* bid_ImGui_combo(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_ComboEx, biv_ImGui_ComboStrEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_ComboStrEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_ComboStrEx, self, args, kw); }
static PyObject* biv_ImGui_DragFloatEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_speed", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v_v{}; float* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
float a_v_speed = 1.0f;
BI_GET(2, a_v_speed);
float a_v_min = 0.0f;
BI_GET(3, a_v_min);
float a_v_max = 0.0f;
BI_GET(4, a_v_max);
const char* a_format = "%.3f";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::DragFloat(a_label, a_v, a_v_speed, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_drag_float(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragFloatEx, self, args, kw);
}
static PyObject* biv_ImGui_DragFloat2Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_speed", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[2] = {};
BI_GET(1, a_v);
float a_v_speed = 1.0f;
BI_GET(2, a_v_speed);
float a_v_min = 0.0f;
BI_GET(3, a_v_min);
float a_v_max = 0.0f;
BI_GET(4, a_v_max);
const char* a_format = "%.3f";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::DragFloat2(a_label, a_v, a_v_speed, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_drag_float2(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragFloat2Ex, self, args, kw);
}
static PyObject* biv_ImGui_DragFloat3Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_speed", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[3] = {};
BI_GET(1, a_v);
float a_v_speed = 1.0f;
BI_GET(2, a_v_speed);
float a_v_min = 0.0f;
BI_GET(3, a_v_min);
float a_v_max = 0.0f;
BI_GET(4, a_v_max);
const char* a_format = "%.3f";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::DragFloat3(a_label, a_v, a_v_speed, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_drag_float3(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragFloat3Ex, self, args, kw);
}
static PyObject* biv_ImGui_DragFloat4Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_speed", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[4] = {};
BI_GET(1, a_v);
float a_v_speed = 1.0f;
BI_GET(2, a_v_speed);
float a_v_min = 0.0f;
BI_GET(3, a_v_min);
float a_v_max = 0.0f;
BI_GET(4, a_v_max);
const char* a_format = "%.3f";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::DragFloat4(a_label, a_v, a_v_speed, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_drag_float4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragFloat4Ex, self, args, kw);
}
static PyObject* biv_ImGui_DragFloatRange2Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v_current_min", "v_current_max", "v_speed", "v_min", "v_max", "format", "format_max", "flags", nullptr };
PyObject* o[9] = {};
if (!bi_parse(args, kw, kwl, 9, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v_current_min_v{}; float* a_v_current_min = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_current_min_v)) BI_FAIL; a_v_current_min = &a_v_current_min_v; }
float a_v_current_max_v{}; float* a_v_current_max = nullptr;
if (o[2] && o[2] != Py_None) { if (!bi_from(o[2], a_v_current_max_v)) BI_FAIL; a_v_current_max = &a_v_current_max_v; }
float a_v_speed = 1.0f;
BI_GET(3, a_v_speed);
float a_v_min = 0.0f;
BI_GET(4, a_v_min);
float a_v_max = 0.0f;
BI_GET(5, a_v_max);
const char* a_format = "%.3f";
BI_GET(6, a_format);
const char* a_format_max = NULL;
BI_GET(7, a_format_max);
ImGuiSliderFlags a_flags = 0;
BI_GET(8, a_flags);
auto r = ImGui::DragFloatRange2(a_label, a_v_current_min, a_v_current_max, a_v_speed, a_v_min, a_v_max, a_format, a_format_max, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v_current_min), bi_opt(a_v_current_max) });
}
static PyObject* bid_ImGui_drag_float_range2(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragFloatRange2Ex, self, args, kw);
}
static PyObject* biv_ImGui_DragIntEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_speed", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v_v{}; int* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
float a_v_speed = 1.0f;
BI_GET(2, a_v_speed);
int a_v_min = 0;
BI_GET(3, a_v_min);
int a_v_max = 0;
BI_GET(4, a_v_max);
const char* a_format = "%d";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::DragInt(a_label, a_v, a_v_speed, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_drag_int(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragIntEx, self, args, kw);
}
static PyObject* biv_ImGui_DragInt2Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_speed", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[2] = {};
BI_GET(1, a_v);
float a_v_speed = 1.0f;
BI_GET(2, a_v_speed);
int a_v_min = 0;
BI_GET(3, a_v_min);
int a_v_max = 0;
BI_GET(4, a_v_max);
const char* a_format = "%d";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::DragInt2(a_label, a_v, a_v_speed, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_drag_int2(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragInt2Ex, self, args, kw);
}
static PyObject* biv_ImGui_DragInt3Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_speed", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[3] = {};
BI_GET(1, a_v);
float a_v_speed = 1.0f;
BI_GET(2, a_v_speed);
int a_v_min = 0;
BI_GET(3, a_v_min);
int a_v_max = 0;
BI_GET(4, a_v_max);
const char* a_format = "%d";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::DragInt3(a_label, a_v, a_v_speed, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_drag_int3(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragInt3Ex, self, args, kw);
}
static PyObject* biv_ImGui_DragInt4Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_speed", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[4] = {};
BI_GET(1, a_v);
float a_v_speed = 1.0f;
BI_GET(2, a_v_speed);
int a_v_min = 0;
BI_GET(3, a_v_min);
int a_v_max = 0;
BI_GET(4, a_v_max);
const char* a_format = "%d";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::DragInt4(a_label, a_v, a_v_speed, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_drag_int4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragInt4Ex, self, args, kw);
}
static PyObject* biv_ImGui_DragIntRange2Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v_current_min", "v_current_max", "v_speed", "v_min", "v_max", "format", "format_max", "flags", nullptr };
PyObject* o[9] = {};
if (!bi_parse(args, kw, kwl, 9, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v_current_min_v{}; int* a_v_current_min = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_current_min_v)) BI_FAIL; a_v_current_min = &a_v_current_min_v; }
int a_v_current_max_v{}; int* a_v_current_max = nullptr;
if (o[2] && o[2] != Py_None) { if (!bi_from(o[2], a_v_current_max_v)) BI_FAIL; a_v_current_max = &a_v_current_max_v; }
float a_v_speed = 1.0f;
BI_GET(3, a_v_speed);
int a_v_min = 0;
BI_GET(4, a_v_min);
int a_v_max = 0;
BI_GET(5, a_v_max);
const char* a_format = "%d";
BI_GET(6, a_format);
const char* a_format_max = NULL;
BI_GET(7, a_format_max);
ImGuiSliderFlags a_flags = 0;
BI_GET(8, a_flags);
auto r = ImGui::DragIntRange2(a_label, a_v_current_min, a_v_current_max, a_v_speed, a_v_min, a_v_max, a_format, a_format_max, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v_current_min), bi_opt(a_v_current_max) });
}
static PyObject* bid_ImGui_drag_int_range2(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DragIntRange2Ex, self, args, kw);
}
static PyObject* biv_ImGui_SliderFloatEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v_v{}; float* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
float a_v_min{};
BI_GET(2, a_v_min);
float a_v_max{};
BI_GET(3, a_v_max);
const char* a_format = "%.3f";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderFloat(a_label, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_slider_float(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderFloatEx, self, args, kw);
}
static PyObject* biv_ImGui_SliderFloat2Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[2] = {};
BI_GET(1, a_v);
float a_v_min{};
BI_GET(2, a_v_min);
float a_v_max{};
BI_GET(3, a_v_max);
const char* a_format = "%.3f";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderFloat2(a_label, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_slider_float2(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderFloat2Ex, self, args, kw);
}
static PyObject* biv_ImGui_SliderFloat3Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[3] = {};
BI_GET(1, a_v);
float a_v_min{};
BI_GET(2, a_v_min);
float a_v_max{};
BI_GET(3, a_v_max);
const char* a_format = "%.3f";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderFloat3(a_label, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_slider_float3(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderFloat3Ex, self, args, kw);
}
static PyObject* biv_ImGui_SliderFloat4Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[4] = {};
BI_GET(1, a_v);
float a_v_min{};
BI_GET(2, a_v_min);
float a_v_max{};
BI_GET(3, a_v_max);
const char* a_format = "%.3f";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderFloat4(a_label, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_slider_float4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderFloat4Ex, self, args, kw);
}
static PyObject* biv_ImGui_SliderAngleEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v_rad", "v_degrees_min", "v_degrees_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v_rad_v{}; float* a_v_rad = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_rad_v)) BI_FAIL; a_v_rad = &a_v_rad_v; }
float a_v_degrees_min = - 360.0f;
BI_GET(2, a_v_degrees_min);
float a_v_degrees_max = + 360.0f;
BI_GET(3, a_v_degrees_max);
const char* a_format = "%.0f deg";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderAngle(a_label, a_v_rad, a_v_degrees_min, a_v_degrees_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v_rad) });
}
static PyObject* bid_ImGui_slider_angle(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderAngleEx, self, args, kw);
}
static PyObject* biv_ImGui_SliderIntEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v_v{}; int* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
int a_v_min{};
BI_GET(2, a_v_min);
int a_v_max{};
BI_GET(3, a_v_max);
const char* a_format = "%d";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderInt(a_label, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_slider_int(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderIntEx, self, args, kw);
}
static PyObject* biv_ImGui_SliderInt2Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[2] = {};
BI_GET(1, a_v);
int a_v_min{};
BI_GET(2, a_v_min);
int a_v_max{};
BI_GET(3, a_v_max);
const char* a_format = "%d";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderInt2(a_label, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_slider_int2(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderInt2Ex, self, args, kw);
}
static PyObject* biv_ImGui_SliderInt3Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[3] = {};
BI_GET(1, a_v);
int a_v_min{};
BI_GET(2, a_v_min);
int a_v_max{};
BI_GET(3, a_v_max);
const char* a_format = "%d";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderInt3(a_label, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_slider_int3(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderInt3Ex, self, args, kw);
}
static PyObject* biv_ImGui_SliderInt4Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[4] = {};
BI_GET(1, a_v);
int a_v_min{};
BI_GET(2, a_v_min);
int a_v_max{};
BI_GET(3, a_v_max);
const char* a_format = "%d";
BI_GET(4, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::SliderInt4(a_label, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_slider_int4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SliderInt4Ex, self, args, kw);
}
static PyObject* biv_ImGui_VSliderFloatEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "size", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 5, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImVec2 a_size{};
BI_GET(1, a_size);
float a_v_v{}; float* a_v = nullptr;
if (o[2] && o[2] != Py_None) { if (!bi_from(o[2], a_v_v)) BI_FAIL; a_v = &a_v_v; }
float a_v_min{};
BI_GET(3, a_v_min);
float a_v_max{};
BI_GET(4, a_v_max);
const char* a_format = "%.3f";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::VSliderFloat(a_label, a_size, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_v_slider_float(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_VSliderFloatEx, self, args, kw);
}
static PyObject* biv_ImGui_VSliderIntEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "size", "v", "v_min", "v_max", "format", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 5, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImVec2 a_size{};
BI_GET(1, a_size);
int a_v_v{}; int* a_v = nullptr;
if (o[2] && o[2] != Py_None) { if (!bi_from(o[2], a_v_v)) BI_FAIL; a_v = &a_v_v; }
int a_v_min{};
BI_GET(3, a_v_min);
int a_v_max{};
BI_GET(4, a_v_max);
const char* a_format = "%d";
BI_GET(5, a_format);
ImGuiSliderFlags a_flags = 0;
BI_GET(6, a_flags);
auto r = ImGui::VSliderInt(a_label, a_size, a_v, a_v_min, a_v_max, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_v_slider_int(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_VSliderIntEx, self, args, kw);
}
static PyObject* biv_ImGui_InputTextEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "buf", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
BiStrBuf a_buf;
BI_GET(1, a_buf);
ImGuiInputTextFlags a_flags = 0;
BI_GET(2, a_flags);
ImGuiInputTextCallback a_callback = NULL;
void* a_user_data = NULL;
auto r = ImGui::InputText(a_label, a_buf.data(), a_buf.capacity(), (a_flags | ImGuiInputTextFlags_CallbackResize), bi_inputtext_resize, &a_buf);
return bi_result({ bi_to(r), bi_to(a_buf) });
}
static PyObject* bid_ImGui_input_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputTextEx, self, args, kw);
}
static PyObject* biv_ImGui_InputTextMultilineEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "buf", "size", "flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
BiStrBuf a_buf;
BI_GET(1, a_buf);
ImVec2 a_size = ImVec2(0, 0);
BI_GET(2, a_size);
ImGuiInputTextFlags a_flags = 0;
BI_GET(3, a_flags);
ImGuiInputTextCallback a_callback = NULL;
void* a_user_data = NULL;
auto r = ImGui::InputTextMultiline(a_label, a_buf.data(), a_buf.capacity(), a_size, (a_flags | ImGuiInputTextFlags_CallbackResize), bi_inputtext_resize, &a_buf);
return bi_result({ bi_to(r), bi_to(a_buf) });
}
static PyObject* bid_ImGui_input_text_multiline(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputTextMultilineEx, self, args, kw);
}
static PyObject* biv_ImGui_InputTextWithHintEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "hint", "buf", "flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
const char* a_hint{};
BI_GET(1, a_hint);
BiStrBuf a_buf;
BI_GET(2, a_buf);
ImGuiInputTextFlags a_flags = 0;
BI_GET(3, a_flags);
ImGuiInputTextCallback a_callback = NULL;
void* a_user_data = NULL;
auto r = ImGui::InputTextWithHint(a_label, a_hint, a_buf.data(), a_buf.capacity(), (a_flags | ImGuiInputTextFlags_CallbackResize), bi_inputtext_resize, &a_buf);
return bi_result({ bi_to(r), bi_to(a_buf) });
}
static PyObject* bid_ImGui_input_text_with_hint(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputTextWithHintEx, self, args, kw);
}
static PyObject* biv_ImGui_InputFloatEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "step", "step_fast", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v_v{}; float* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
float a_step = 0.0f;
BI_GET(2, a_step);
float a_step_fast = 0.0f;
BI_GET(3, a_step_fast);
const char* a_format = "%.3f";
BI_GET(4, a_format);
ImGuiInputTextFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::InputFloat(a_label, a_v, a_step, a_step_fast, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_input_float(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputFloatEx, self, args, kw);
}
static PyObject* biv_ImGui_InputFloat2Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "format", "flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[2] = {};
BI_GET(1, a_v);
const char* a_format = "%.3f";
BI_GET(2, a_format);
ImGuiInputTextFlags a_flags = 0;
BI_GET(3, a_flags);
auto r = ImGui::InputFloat2(a_label, a_v, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_input_float2(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputFloat2Ex, self, args, kw);
}
static PyObject* biv_ImGui_InputFloat3Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "format", "flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[3] = {};
BI_GET(1, a_v);
const char* a_format = "%.3f";
BI_GET(2, a_format);
ImGuiInputTextFlags a_flags = 0;
BI_GET(3, a_flags);
auto r = ImGui::InputFloat3(a_label, a_v, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_input_float3(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputFloat3Ex, self, args, kw);
}
static PyObject* biv_ImGui_InputFloat4Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "format", "flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_v[4] = {};
BI_GET(1, a_v);
const char* a_format = "%.3f";
BI_GET(2, a_format);
ImGuiInputTextFlags a_flags = 0;
BI_GET(3, a_flags);
auto r = ImGui::InputFloat4(a_label, a_v, a_format, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_input_float4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputFloat4Ex, self, args, kw);
}
static PyObject* biv_ImGui_InputIntEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "step", "step_fast", "flags", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v_v{}; int* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
int a_step = 1;
BI_GET(2, a_step);
int a_step_fast = 100;
BI_GET(3, a_step_fast);
ImGuiInputTextFlags a_flags = 0;
BI_GET(4, a_flags);
auto r = ImGui::InputInt(a_label, a_v, a_step, a_step_fast, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_input_int(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputIntEx, self, args, kw);
}
static PyObject* biv_ImGui_InputInt2Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[2] = {};
BI_GET(1, a_v);
ImGuiInputTextFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::InputInt2(a_label, a_v, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_input_int2(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputInt2Ex, self, args, kw);
}
static PyObject* biv_ImGui_InputInt3Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[3] = {};
BI_GET(1, a_v);
ImGuiInputTextFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::InputInt3(a_label, a_v, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_input_int3(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputInt3Ex, self, args, kw);
}
static PyObject* biv_ImGui_InputInt4Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_v[4] = {};
BI_GET(1, a_v);
ImGuiInputTextFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::InputInt4(a_label, a_v, a_flags);
return bi_result({ bi_to(r), bi_to(a_v) });
}
static PyObject* bid_ImGui_input_int4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputInt4Ex, self, args, kw);
}
static PyObject* biv_ImGui_InputDoubleEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "v", "step", "step_fast", "format", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
double a_v_v{}; double* a_v = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_v_v)) BI_FAIL; a_v = &a_v_v; }
double a_step = 0.0;
BI_GET(2, a_step);
double a_step_fast = 0.0;
BI_GET(3, a_step_fast);
const char* a_format = "%.6f";
BI_GET(4, a_format);
ImGuiInputTextFlags a_flags = 0;
BI_GET(5, a_flags);
auto r = ImGui::InputDouble(a_label, a_v, a_step, a_step_fast, a_format, a_flags);
return bi_result({ bi_to(r), bi_opt(a_v) });
}
static PyObject* bid_ImGui_input_double(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_InputDoubleEx, self, args, kw);
}
static PyObject* biv_ImGui_ColorEdit3Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "col", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_col[3] = {};
BI_GET(1, a_col);
ImGuiColorEditFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::ColorEdit3(a_label, a_col, a_flags);
return bi_result({ bi_to(r), bi_to(a_col) });
}
static PyObject* bid_ImGui_color_edit3(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorEdit3Ex, self, args, kw);
}
static PyObject* biv_ImGui_ColorEdit4Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "col", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_col[4] = {};
BI_GET(1, a_col);
ImGuiColorEditFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::ColorEdit4(a_label, a_col, a_flags);
return bi_result({ bi_to(r), bi_to(a_col) });
}
static PyObject* bid_ImGui_color_edit4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorEdit4Ex, self, args, kw);
}
static PyObject* biv_ImGui_ColorPicker3Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "col", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_col[3] = {};
BI_GET(1, a_col);
ImGuiColorEditFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::ColorPicker3(a_label, a_col, a_flags);
return bi_result({ bi_to(r), bi_to(a_col) });
}
static PyObject* bid_ImGui_color_picker3(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorPicker3Ex, self, args, kw);
}
static PyObject* biv_ImGui_ColorPicker4Ex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "col", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
float a_col[4] = {};
BI_GET(1, a_col);
ImGuiColorEditFlags a_flags = 0;
BI_GET(2, a_flags);
const float* a_ref_col = NULL;
auto r = ImGui::ColorPicker4(a_label, a_col, a_flags, a_ref_col);
return bi_result({ bi_to(r), bi_to(a_col) });
}
static PyObject* bid_ImGui_color_picker4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorPicker4Ex, self, args, kw);
}
static PyObject* biv_ImGui_ColorButtonEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "desc_id", "col", "flags", "size", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 2, o, argfail)) return nullptr;
const char* a_desc_id{};
BI_GET(0, a_desc_id);
ImVec4 a_col{};
BI_GET(1, a_col);
ImGuiColorEditFlags a_flags = 0;
BI_GET(2, a_flags);
ImVec2 a_size = ImVec2(0, 0);
BI_GET(3, a_size);
auto r = ImGui::ColorButton(a_desc_id, a_col, a_flags, a_size);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_color_button(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorButtonEx, self, args, kw);
}
static PyObject* biv_ImGui_TreeNode(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
auto r = ImGui::TreeNode(a_label);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_TreeNodeStr(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "text", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
const char* a_fmt{};
BI_GET(1, a_fmt);
auto r = ImGui::TreeNode(a_str_id, "%s", a_fmt);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_tree_node(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_TreeNode, biv_ImGui_TreeNodeStr };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_TreeNodeStr(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_TreeNodeStr, self, args, kw); }
static PyObject* biv_ImGui_TreeNodeExEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImGuiTreeNodeFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::TreeNodeEx(a_label, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_TreeNodeExStr(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "flags", "text", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImGuiTreeNodeFlags a_flags{};
BI_GET(1, a_flags);
const char* a_fmt{};
BI_GET(2, a_fmt);
auto r = ImGui::TreeNodeEx(a_str_id, a_flags, "%s", a_fmt);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_tree_node_ex(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_TreeNodeExEx, biv_ImGui_TreeNodeExStr };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_TreeNodeExStr(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_TreeNodeExStr, self, args, kw); }
static PyObject* biv_ImGui_TreePush(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImGui::TreePush(a_str_id);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_tree_push(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TreePush, self, args, kw);
}
static PyObject* biv_ImGui_TreePop(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::TreePop();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_tree_pop(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TreePop, self, args, kw);
}
static PyObject* biv_ImGui_GetTreeNodeToLabelSpacing(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetTreeNodeToLabelSpacing();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_tree_node_to_label_spacing(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetTreeNodeToLabelSpacing, self, args, kw);
}
static PyObject* biv_ImGui_CollapsingHeaderEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImGuiTreeNodeFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::CollapsingHeader(a_label, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_CollapsingHeaderBoolPtrEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "p_visible", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
bool a_p_visible_v{}; bool* a_p_visible = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_p_visible_v)) BI_FAIL; a_p_visible = &a_p_visible_v; }
ImGuiTreeNodeFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::CollapsingHeader(a_label, a_p_visible, a_flags);
return bi_result({ bi_to(r), bi_opt(a_p_visible) });
}
static PyObject* bid_ImGui_collapsing_header(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_CollapsingHeaderEx, biv_ImGui_CollapsingHeaderBoolPtrEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_CollapsingHeaderBoolPtrEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_CollapsingHeaderBoolPtrEx, self, args, kw); }
static PyObject* biv_ImGui_SetNextItemOpenEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "is_open", "cond", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
bool a_is_open{};
BI_GET(0, a_is_open);
ImGuiCond a_cond = 0;
BI_GET(1, a_cond);
ImGui::SetNextItemOpen(a_is_open, a_cond);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_item_open(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextItemOpenEx, self, args, kw);
}
static PyObject* biv_ImGui_SetNextItemStorageID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "storage_id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiID a_storage_id{};
BI_GET(0, a_storage_id);
ImGui::SetNextItemStorageID(a_storage_id);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_item_storage_id(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextItemStorageID, self, args, kw);
}
static PyObject* biv_ImGui_TreeNodeGetOpenEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "storage_id", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiID a_storage_id{};
BI_GET(0, a_storage_id);
ImGuiTreeNodeFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::TreeNodeGetOpen(a_storage_id, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_tree_node_get_open(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TreeNodeGetOpenEx, self, args, kw);
}
static PyObject* biv_ImGui_SelectableEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "selected", "flags", "size", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
bool a_selected = false;
BI_GET(1, a_selected);
ImGuiSelectableFlags a_flags = 0;
BI_GET(2, a_flags);
ImVec2 a_size = ImVec2(0, 0);
BI_GET(3, a_size);
auto r = ImGui::Selectable(a_label, a_selected, a_flags, a_size);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_SelectableBoolPtrEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "p_selected", "flags", "size", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
bool a_p_selected_v{}; bool* a_p_selected = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_p_selected_v)) BI_FAIL; a_p_selected = &a_p_selected_v; }
ImGuiSelectableFlags a_flags = 0;
BI_GET(2, a_flags);
ImVec2 a_size = ImVec2(0, 0);
BI_GET(3, a_size);
auto r = ImGui::Selectable(a_label, a_p_selected, a_flags, a_size);
return bi_result({ bi_to(r), bi_opt(a_p_selected) });
}
static PyObject* bid_ImGui_selectable(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_SelectableEx, biv_ImGui_SelectableBoolPtrEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_SelectableBoolPtrEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_SelectableBoolPtrEx, self, args, kw); }
static PyObject* biv_ImGui_BeginMultiSelectEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "flags", "selection_size", "items_count", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
ImGuiMultiSelectFlags a_flags{};
BI_GET(0, a_flags);
int a_selection_size = - 1;
BI_GET(1, a_selection_size);
int a_items_count = - 1;
BI_GET(2, a_items_count);
auto r = ImGui::BeginMultiSelect(a_flags, a_selection_size, a_items_count);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_begin_multi_select(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginMultiSelectEx, self, args, kw);
}
static PyObject* biv_ImGui_EndMultiSelect(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::EndMultiSelect();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_end_multi_select(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndMultiSelect, self, args, kw);
}
static PyObject* biv_ImGui_SetNextItemSelectionUserData(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "selection_user_data", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiSelectionUserData a_selection_user_data{};
BI_GET(0, a_selection_user_data);
ImGui::SetNextItemSelectionUserData(a_selection_user_data);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_item_selection_user_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextItemSelectionUserData, self, args, kw);
}
static PyObject* biv_ImGui_IsItemToggledSelection(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemToggledSelection();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_toggled_selection(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemToggledSelection, self, args, kw);
}
static PyObject* biv_ImGui_BeginListBoxEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "size", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImVec2 a_size = ImVec2(0, 0);
BI_GET(1, a_size);
auto r = ImGui::BeginListBox(a_label, a_size);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_list_box(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginListBoxEx, self, args, kw);
}
static PyObject* biv_ImGui_EndListBox(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndListBox();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_list_box(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndListBox, self, args, kw);
}
static PyObject* biv_ImGui_ListBoxEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "current_item", "items", "height_in_items", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
int a_current_item_v{}; int* a_current_item = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_current_item_v)) BI_FAIL; a_current_item = &a_current_item_v; }
BiSeq<const char*> a_items;
BI_GET(2, a_items);
int a_height_in_items = - 1;
BI_GET(3, a_height_in_items);
auto r = ImGui::ListBox(a_label, a_current_item, a_items.data(), (int)a_items.size(), a_height_in_items);
return bi_result({ bi_to(r), bi_opt(a_current_item) });
}
static PyObject* bid_ImGui_list_box(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ListBoxEx, self, args, kw);
}
static PyObject* biv_ImGui_PlotLinesEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "values", "values_offset", "overlay_text", "scale_min", "scale_max", "graph_size", "stride", nullptr };
PyObject* o[8] = {};
if (!bi_parse(args, kw, kwl, 8, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
BiSeq<float> a_values;
BI_GET(1, a_values);
int a_values_offset = 0;
BI_GET(2, a_values_offset);
const char* a_overlay_text = NULL;
BI_GET(3, a_overlay_text);
float a_scale_min = FLT_MAX;
BI_GET(4, a_scale_min);
float a_scale_max = FLT_MAX;
BI_GET(5, a_scale_max);
ImVec2 a_graph_size = ImVec2(0, 0);
BI_GET(6, a_graph_size);
int a_stride = sizeof(float);
BI_GET(7, a_stride);
ImGui::PlotLines(a_label, a_values.data(), (int)a_values.size(), a_values_offset, a_overlay_text, a_scale_min, a_scale_max, a_graph_size, a_stride);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_plot_lines(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PlotLinesEx, self, args, kw);
}
static PyObject* biv_ImGui_PlotHistogramEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "values", "values_offset", "overlay_text", "scale_min", "scale_max", "graph_size", "stride", nullptr };
PyObject* o[8] = {};
if (!bi_parse(args, kw, kwl, 8, 2, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
BiSeq<float> a_values;
BI_GET(1, a_values);
int a_values_offset = 0;
BI_GET(2, a_values_offset);
const char* a_overlay_text = NULL;
BI_GET(3, a_overlay_text);
float a_scale_min = FLT_MAX;
BI_GET(4, a_scale_min);
float a_scale_max = FLT_MAX;
BI_GET(5, a_scale_max);
ImVec2 a_graph_size = ImVec2(0, 0);
BI_GET(6, a_graph_size);
int a_stride = sizeof(float);
BI_GET(7, a_stride);
ImGui::PlotHistogram(a_label, a_values.data(), (int)a_values.size(), a_values_offset, a_overlay_text, a_scale_min, a_scale_max, a_graph_size, a_stride);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_plot_histogram(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PlotHistogramEx, self, args, kw);
}
static PyObject* biv_ImGui_Value(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "prefix", "b", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_prefix{};
BI_GET(0, a_prefix);
bool a_b{};
BI_GET(1, a_b);
ImGui::Value(a_prefix, a_b);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_ValueInt(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "prefix", "v", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_prefix{};
BI_GET(0, a_prefix);
int a_v{};
BI_GET(1, a_v);
ImGui::Value(a_prefix, a_v);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_ValueUInt(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "prefix", "v", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const char* a_prefix{};
BI_GET(0, a_prefix);
unsigned int a_v{};
BI_GET(1, a_v);
ImGui::Value(a_prefix, a_v);
Py_RETURN_NONE;
}
static PyObject* biv_ImGui_ValueFloatEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "prefix", "v", "float_format", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_prefix{};
BI_GET(0, a_prefix);
float a_v{};
BI_GET(1, a_v);
const char* a_float_format = NULL;
BI_GET(2, a_float_format);
ImGui::Value(a_prefix, a_v, a_float_format);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_value(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_Value, biv_ImGui_ValueInt, biv_ImGui_ValueUInt, biv_ImGui_ValueFloatEx };
return bi_dispatch(self, args, kw, v, 4);
}
static PyObject* bid1_ImGui_ValueInt(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_ValueInt, self, args, kw); }
static PyObject* bid1_ImGui_ValueUInt(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_ValueUInt, self, args, kw); }
static PyObject* bid1_ImGui_ValueFloatEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_ValueFloatEx, self, args, kw); }
static PyObject* biv_ImGui_BeginMenuBar(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::BeginMenuBar();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_menu_bar(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginMenuBar, self, args, kw);
}
static PyObject* biv_ImGui_EndMenuBar(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndMenuBar();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_menu_bar(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndMenuBar, self, args, kw);
}
static PyObject* biv_ImGui_BeginMainMenuBar(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::BeginMainMenuBar();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_main_menu_bar(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginMainMenuBar, self, args, kw);
}
static PyObject* biv_ImGui_EndMainMenuBar(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndMainMenuBar();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_main_menu_bar(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndMainMenuBar, self, args, kw);
}
static PyObject* biv_ImGui_BeginMenuEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "enabled", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
bool a_enabled = true;
BI_GET(1, a_enabled);
auto r = ImGui::BeginMenu(a_label, a_enabled);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_menu(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginMenuEx, self, args, kw);
}
static PyObject* biv_ImGui_EndMenu(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndMenu();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_menu(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndMenu, self, args, kw);
}
static PyObject* biv_ImGui_MenuItemEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "shortcut", "selected", "enabled", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
const char* a_shortcut = NULL;
BI_GET(1, a_shortcut);
bool a_selected = false;
BI_GET(2, a_selected);
bool a_enabled = true;
BI_GET(3, a_enabled);
auto r = ImGui::MenuItem(a_label, a_shortcut, a_selected, a_enabled);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_MenuItemBoolPtrEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "shortcut", "p_selected", "enabled", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
const char* a_shortcut{};
BI_GET(1, a_shortcut);
bool a_p_selected_v{}; bool* a_p_selected = nullptr;
if (o[2] && o[2] != Py_None) { if (!bi_from(o[2], a_p_selected_v)) BI_FAIL; a_p_selected = &a_p_selected_v; }
bool a_enabled = true;
BI_GET(3, a_enabled);
auto r = ImGui::MenuItem(a_label, a_shortcut, a_p_selected, a_enabled);
return bi_result({ bi_to(r), bi_opt(a_p_selected) });
}
static PyObject* bid_ImGui_menu_item(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_MenuItemEx, biv_ImGui_MenuItemBoolPtrEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_MenuItemBoolPtrEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_MenuItemBoolPtrEx, self, args, kw); }
static PyObject* biv_ImGui_BeginTooltip(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::BeginTooltip();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_tooltip(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginTooltip, self, args, kw);
}
static PyObject* biv_ImGui_EndTooltip(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndTooltip();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_tooltip(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndTooltip, self, args, kw);
}
static PyObject* biv_ImGui_SetTooltip(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_fmt{};
BI_GET(0, a_fmt);
ImGui::SetTooltip("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_tooltip(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetTooltip, self, args, kw);
}
static PyObject* biv_ImGui_BeginItemTooltip(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::BeginItemTooltip();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_item_tooltip(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginItemTooltip, self, args, kw);
}
static PyObject* biv_ImGui_SetItemTooltip(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_fmt{};
BI_GET(0, a_fmt);
ImGui::SetItemTooltip("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_item_tooltip(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetItemTooltip, self, args, kw);
}
static PyObject* biv_ImGui_BeginPopupEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImGuiWindowFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::BeginPopup(a_str_id, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_popup(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginPopupEx, self, args, kw);
}
static PyObject* biv_ImGui_BeginPopupModalEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "name", "p_open", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
const char* a_name{};
BI_GET(0, a_name);
bool a_p_open_v{}; bool* a_p_open = NULL;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_p_open_v)) BI_FAIL; a_p_open = &a_p_open_v; }
ImGuiWindowFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::BeginPopupModal(a_name, a_p_open, a_flags);
return bi_result({ bi_to(r), bi_opt(a_p_open) });
}
static PyObject* bid_ImGui_begin_popup_modal(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginPopupModalEx, self, args, kw);
}
static PyObject* biv_ImGui_EndPopup(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndPopup();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_popup(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndPopup, self, args, kw);
}
static PyObject* biv_ImGui_OpenPopupEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "popup_flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImGuiPopupFlags a_popup_flags = 0;
BI_GET(1, a_popup_flags);
auto r = ImGui::OpenPopup(a_str_id, a_popup_flags);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_OpenPopupIDEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "id", "popup_flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiID a_id{};
BI_GET(0, a_id);
ImGuiPopupFlags a_popup_flags = 0;
BI_GET(1, a_popup_flags);
auto r = ImGui::OpenPopup(a_id, a_popup_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_open_popup(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_OpenPopupEx, biv_ImGui_OpenPopupIDEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_OpenPopupIDEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_OpenPopupIDEx, self, args, kw); }
static PyObject* biv_ImGui_OpenPopupOnItemClickEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "popup_flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
const char* a_str_id = NULL;
BI_GET(0, a_str_id);
ImGuiPopupFlags a_popup_flags = 0;
BI_GET(1, a_popup_flags);
auto r = ImGui::OpenPopupOnItemClick(a_str_id, a_popup_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_open_popup_on_item_click(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_OpenPopupOnItemClickEx, self, args, kw);
}
static PyObject* biv_ImGui_CloseCurrentPopup(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::CloseCurrentPopup();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_close_current_popup(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_CloseCurrentPopup, self, args, kw);
}
static PyObject* biv_ImGui_BeginPopupContextItemEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "popup_flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
const char* a_str_id = NULL;
BI_GET(0, a_str_id);
ImGuiPopupFlags a_popup_flags = 0;
BI_GET(1, a_popup_flags);
auto r = ImGui::BeginPopupContextItem(a_str_id, a_popup_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_popup_context_item(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginPopupContextItemEx, self, args, kw);
}
static PyObject* biv_ImGui_BeginPopupContextWindowEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "popup_flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
const char* a_str_id = NULL;
BI_GET(0, a_str_id);
ImGuiPopupFlags a_popup_flags = 0;
BI_GET(1, a_popup_flags);
auto r = ImGui::BeginPopupContextWindow(a_str_id, a_popup_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_popup_context_window(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginPopupContextWindowEx, self, args, kw);
}
static PyObject* biv_ImGui_BeginPopupContextVoidEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "popup_flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
const char* a_str_id = NULL;
BI_GET(0, a_str_id);
ImGuiPopupFlags a_popup_flags = 0;
BI_GET(1, a_popup_flags);
auto r = ImGui::BeginPopupContextVoid(a_str_id, a_popup_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_popup_context_void(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginPopupContextVoidEx, self, args, kw);
}
static PyObject* biv_ImGui_IsPopupOpenEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImGuiPopupFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::IsPopupOpen(a_str_id, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_popup_open(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsPopupOpenEx, self, args, kw);
}
static PyObject* biv_ImGui_BeginTableEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "columns", "flags", "outer_size", "inner_width", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 2, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
int a_columns{};
BI_GET(1, a_columns);
ImGuiTableFlags a_flags = 0;
BI_GET(2, a_flags);
ImVec2 a_outer_size = ImVec2(0.0f, 0.0f);
BI_GET(3, a_outer_size);
float a_inner_width = 0.0f;
BI_GET(4, a_inner_width);
auto r = ImGui::BeginTable(a_str_id, a_columns, a_flags, a_outer_size, a_inner_width);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_table(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginTableEx, self, args, kw);
}
static PyObject* biv_ImGui_EndTable(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndTable();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_table(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndTable, self, args, kw);
}
static PyObject* biv_ImGui_TableNextRowEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "row_flags", "min_row_height", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
ImGuiTableRowFlags a_row_flags = 0;
BI_GET(0, a_row_flags);
float a_min_row_height = 0.0f;
BI_GET(1, a_min_row_height);
ImGui::TableNextRow(a_row_flags, a_min_row_height);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_table_next_row(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableNextRowEx, self, args, kw);
}
static PyObject* biv_ImGui_TableNextColumn(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::TableNextColumn();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_table_next_column(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableNextColumn, self, args, kw);
}
static PyObject* biv_ImGui_TableSetColumnIndex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "column_n", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
int a_column_n{};
BI_GET(0, a_column_n);
auto r = ImGui::TableSetColumnIndex(a_column_n);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_table_set_column_index(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableSetColumnIndex, self, args, kw);
}
static PyObject* biv_ImGui_TableSetupColumnEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "flags", "init_width_or_weight", "user_data", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImGuiTableColumnFlags a_flags = 0;
BI_GET(1, a_flags);
float a_init_width_or_weight = 0.0f;
BI_GET(2, a_init_width_or_weight);
ImGuiID a_user_data = 0;
BI_GET(3, a_user_data);
ImGui::TableSetupColumn(a_label, a_flags, a_init_width_or_weight, a_user_data);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_table_setup_column(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableSetupColumnEx, self, args, kw);
}
static PyObject* biv_ImGui_TableSetupScrollFreeze(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "cols", "rows", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
int a_cols{};
BI_GET(0, a_cols);
int a_rows{};
BI_GET(1, a_rows);
ImGui::TableSetupScrollFreeze(a_cols, a_rows);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_table_setup_scroll_freeze(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableSetupScrollFreeze, self, args, kw);
}
static PyObject* biv_ImGui_TableHeader(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImGui::TableHeader(a_label);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_table_header(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableHeader, self, args, kw);
}
static PyObject* biv_ImGui_TableHeadersRow(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::TableHeadersRow();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_table_headers_row(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableHeadersRow, self, args, kw);
}
static PyObject* biv_ImGui_TableAngledHeadersRow(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::TableAngledHeadersRow();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_table_angled_headers_row(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableAngledHeadersRow, self, args, kw);
}
static PyObject* biv_ImGui_TableGetSortSpecs(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::TableGetSortSpecs();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_table_get_sort_specs(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableGetSortSpecs, self, args, kw);
}
static PyObject* biv_ImGui_TableGetColumnCount(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::TableGetColumnCount();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_table_get_column_count(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableGetColumnCount, self, args, kw);
}
static PyObject* biv_ImGui_TableGetColumnIndex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::TableGetColumnIndex();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_table_get_column_index(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableGetColumnIndex, self, args, kw);
}
static PyObject* biv_ImGui_TableGetRowIndex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::TableGetRowIndex();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_table_get_row_index(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableGetRowIndex, self, args, kw);
}
static PyObject* biv_ImGui_TableGetColumnNameEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "column_n", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_column_n = - 1;
BI_GET(0, a_column_n);
auto r = ImGui::TableGetColumnName(a_column_n);
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImGui_table_get_column_name(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableGetColumnNameEx, self, args, kw);
}
static PyObject* biv_ImGui_TableGetColumnFlagsEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "column_n", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_column_n = - 1;
BI_GET(0, a_column_n);
auto r = ImGui::TableGetColumnFlags(a_column_n);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_table_get_column_flags(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableGetColumnFlagsEx, self, args, kw);
}
static PyObject* biv_ImGui_TableSetColumnEnabled(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "column_n", "v", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
int a_column_n{};
BI_GET(0, a_column_n);
bool a_v{};
BI_GET(1, a_v);
ImGui::TableSetColumnEnabled(a_column_n, a_v);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_table_set_column_enabled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableSetColumnEnabled, self, args, kw);
}
static PyObject* biv_ImGui_TableGetHoveredColumn(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::TableGetHoveredColumn();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_table_get_hovered_column(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableGetHoveredColumn, self, args, kw);
}
static PyObject* biv_ImGui_TableSetBgColorEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "target", "color", "column_n", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
ImGuiTableBgTarget a_target{};
BI_GET(0, a_target);
ImU32 a_color{};
BI_GET(1, a_color);
int a_column_n = - 1;
BI_GET(2, a_column_n);
ImGui::TableSetBgColor(a_target, a_color, a_column_n);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_table_set_bg_color(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TableSetBgColorEx, self, args, kw);
}
static PyObject* biv_ImGui_ColumnsEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "count", "id", "borders", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 0, o, argfail)) return nullptr;
int a_count = 1;
BI_GET(0, a_count);
const char* a_id = NULL;
BI_GET(1, a_id);
bool a_borders = true;
BI_GET(2, a_borders);
ImGui::Columns(a_count, a_id, a_borders);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_columns(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColumnsEx, self, args, kw);
}
static PyObject* biv_ImGui_NextColumn(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::NextColumn();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_next_column(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_NextColumn, self, args, kw);
}
static PyObject* biv_ImGui_GetColumnIndex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetColumnIndex();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_column_index(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetColumnIndex, self, args, kw);
}
static PyObject* biv_ImGui_GetColumnWidthEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "column_index", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_column_index = - 1;
BI_GET(0, a_column_index);
auto r = ImGui::GetColumnWidth(a_column_index);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_column_width(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetColumnWidthEx, self, args, kw);
}
static PyObject* biv_ImGui_SetColumnWidth(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "column_index", "width", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
int a_column_index{};
BI_GET(0, a_column_index);
float a_width{};
BI_GET(1, a_width);
ImGui::SetColumnWidth(a_column_index, a_width);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_column_width(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetColumnWidth, self, args, kw);
}
static PyObject* biv_ImGui_GetColumnOffsetEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "column_index", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_column_index = - 1;
BI_GET(0, a_column_index);
auto r = ImGui::GetColumnOffset(a_column_index);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_column_offset(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetColumnOffsetEx, self, args, kw);
}
static PyObject* biv_ImGui_SetColumnOffset(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "column_index", "offset_x", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
int a_column_index{};
BI_GET(0, a_column_index);
float a_offset_x{};
BI_GET(1, a_offset_x);
ImGui::SetColumnOffset(a_column_index, a_offset_x);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_column_offset(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetColumnOffset, self, args, kw);
}
static PyObject* biv_ImGui_GetColumnsCount(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetColumnsCount();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_columns_count(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetColumnsCount, self, args, kw);
}
static PyObject* biv_ImGui_BeginTabBarEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str_id", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_str_id{};
BI_GET(0, a_str_id);
ImGuiTabBarFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::BeginTabBar(a_str_id, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_tab_bar(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginTabBarEx, self, args, kw);
}
static PyObject* biv_ImGui_EndTabBar(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndTabBar();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_tab_bar(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndTabBar, self, args, kw);
}
static PyObject* biv_ImGui_BeginTabItemEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "p_open", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
bool a_p_open_v{}; bool* a_p_open = NULL;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_p_open_v)) BI_FAIL; a_p_open = &a_p_open_v; }
ImGuiTabItemFlags a_flags = 0;
BI_GET(2, a_flags);
auto r = ImGui::BeginTabItem(a_label, a_p_open, a_flags);
return bi_result({ bi_to(r), bi_opt(a_p_open) });
}
static PyObject* bid_ImGui_begin_tab_item(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginTabItemEx, self, args, kw);
}
static PyObject* biv_ImGui_EndTabItem(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndTabItem();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_tab_item(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndTabItem, self, args, kw);
}
static PyObject* biv_ImGui_TabItemButtonEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_label{};
BI_GET(0, a_label);
ImGuiTabItemFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::TabItemButton(a_label, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_tab_item_button(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_TabItemButtonEx, self, args, kw);
}
static PyObject* biv_ImGui_SetTabItemClosed(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tab_or_docked_window_label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_tab_or_docked_window_label{};
BI_GET(0, a_tab_or_docked_window_label);
ImGui::SetTabItemClosed(a_tab_or_docked_window_label);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_tab_item_closed(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetTabItemClosed, self, args, kw);
}
static PyObject* biv_ImGui_LogToTTYEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "auto_open_depth", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_auto_open_depth = - 1;
BI_GET(0, a_auto_open_depth);
ImGui::LogToTTY(a_auto_open_depth);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_log_to_tty(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LogToTTYEx, self, args, kw);
}
static PyObject* biv_ImGui_LogToFileEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "auto_open_depth", "filename", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
int a_auto_open_depth = - 1;
BI_GET(0, a_auto_open_depth);
const char* a_filename = NULL;
BI_GET(1, a_filename);
ImGui::LogToFile(a_auto_open_depth, a_filename);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_log_to_file(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LogToFileEx, self, args, kw);
}
static PyObject* biv_ImGui_LogToClipboardEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "auto_open_depth", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_auto_open_depth = - 1;
BI_GET(0, a_auto_open_depth);
ImGui::LogToClipboard(a_auto_open_depth);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_log_to_clipboard(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LogToClipboardEx, self, args, kw);
}
static PyObject* biv_ImGui_LogFinish(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::LogFinish();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_log_finish(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LogFinish, self, args, kw);
}
static PyObject* biv_ImGui_LogButtons(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::LogButtons();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_log_buttons(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LogButtons, self, args, kw);
}
static PyObject* biv_ImGui_LogText(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_fmt{};
BI_GET(0, a_fmt);
ImGui::LogText("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_log_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LogText, self, args, kw);
}
static PyObject* biv_ImGui_BeginDragDropSourceEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "flags", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiDragDropFlags a_flags = 0;
BI_GET(0, a_flags);
auto r = ImGui::BeginDragDropSource(a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_drag_drop_source(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginDragDropSourceEx, self, args, kw);
}
static PyObject* biv_ImGui_SetDragDropPayloadEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "type", "data", "cond", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
const char* a_type{};
BI_GET(0, a_type);
BiBytes a_data;
BI_GET(1, a_data);
ImGuiCond a_cond = 0;
BI_GET(2, a_cond);
auto r = ImGui::SetDragDropPayload(a_type, a_data.data(), a_data.size(), a_cond);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_set_drag_drop_payload(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetDragDropPayloadEx, self, args, kw);
}
static PyObject* biv_ImGui_EndDragDropSource(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndDragDropSource();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_drag_drop_source(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndDragDropSource, self, args, kw);
}
static PyObject* biv_ImGui_BeginDragDropTarget(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::BeginDragDropTarget();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_begin_drag_drop_target(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginDragDropTarget, self, args, kw);
}
static PyObject* biv_ImGui_AcceptDragDropPayloadEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "type", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_type{};
BI_GET(0, a_type);
ImGuiDragDropFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::AcceptDragDropPayload(a_type, a_flags);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_accept_drag_drop_payload(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_AcceptDragDropPayloadEx, self, args, kw);
}
static PyObject* biv_ImGui_EndDragDropTarget(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndDragDropTarget();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_drag_drop_target(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndDragDropTarget, self, args, kw);
}
static PyObject* biv_ImGui_GetDragDropPayload(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetDragDropPayload();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_drag_drop_payload(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetDragDropPayload, self, args, kw);
}
static PyObject* biv_ImGui_BeginDisabledEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "disabled", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
bool a_disabled = true;
BI_GET(0, a_disabled);
ImGui::BeginDisabled(a_disabled);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_begin_disabled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_BeginDisabledEx, self, args, kw);
}
static PyObject* biv_ImGui_EndDisabled(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::EndDisabled();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_end_disabled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_EndDisabled, self, args, kw);
}
static PyObject* biv_ImGui_PushClipRect(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "clip_rect_min", "clip_rect_max", "intersect_with_current_clip_rect", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
ImVec2 a_clip_rect_min{};
BI_GET(0, a_clip_rect_min);
ImVec2 a_clip_rect_max{};
BI_GET(1, a_clip_rect_max);
bool a_intersect_with_current_clip_rect{};
BI_GET(2, a_intersect_with_current_clip_rect);
ImGui::PushClipRect(a_clip_rect_min, a_clip_rect_max, a_intersect_with_current_clip_rect);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_push_clip_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PushClipRect, self, args, kw);
}
static PyObject* biv_ImGui_PopClipRect(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::PopClipRect();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_pop_clip_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_PopClipRect, self, args, kw);
}
static PyObject* biv_ImGui_SetItemDefaultFocus(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::SetItemDefaultFocus();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_item_default_focus(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetItemDefaultFocus, self, args, kw);
}
static PyObject* biv_ImGui_SetKeyboardFocusHereEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "offset", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
int a_offset = 0;
BI_GET(0, a_offset);
ImGui::SetKeyboardFocusHere(a_offset);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_keyboard_focus_here(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetKeyboardFocusHereEx, self, args, kw);
}
static PyObject* biv_ImGui_SetNavCursorVisible(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "visible", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
bool a_visible{};
BI_GET(0, a_visible);
ImGui::SetNavCursorVisible(a_visible);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_nav_cursor_visible(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNavCursorVisible, self, args, kw);
}
static PyObject* biv_ImGui_SetNextItemAllowOverlap(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::SetNextItemAllowOverlap();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_item_allow_overlap(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextItemAllowOverlap, self, args, kw);
}
static PyObject* biv_ImGui_IsItemHoveredEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "flags", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiHoveredFlags a_flags = 0;
BI_GET(0, a_flags);
auto r = ImGui::IsItemHovered(a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_hovered(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemHoveredEx, self, args, kw);
}
static PyObject* biv_ImGui_IsItemActive(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemActive();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_active(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemActive, self, args, kw);
}
static PyObject* biv_ImGui_IsItemFocused(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemFocused();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_focused(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemFocused, self, args, kw);
}
static PyObject* biv_ImGui_IsItemClickedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "mouse_button", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiMouseButton a_mouse_button = 0;
BI_GET(0, a_mouse_button);
auto r = ImGui::IsItemClicked(a_mouse_button);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_clicked(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemClickedEx, self, args, kw);
}
static PyObject* biv_ImGui_IsItemVisible(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemVisible();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_visible(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemVisible, self, args, kw);
}
static PyObject* biv_ImGui_IsItemEdited(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemEdited();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_edited(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemEdited, self, args, kw);
}
static PyObject* biv_ImGui_IsItemActivated(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemActivated();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_activated(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemActivated, self, args, kw);
}
static PyObject* biv_ImGui_IsItemDeactivated(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemDeactivated();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_deactivated(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemDeactivated, self, args, kw);
}
static PyObject* biv_ImGui_IsItemDeactivatedAfterEdit(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemDeactivatedAfterEdit();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_deactivated_after_edit(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemDeactivatedAfterEdit, self, args, kw);
}
static PyObject* biv_ImGui_IsItemToggledOpen(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsItemToggledOpen();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_item_toggled_open(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsItemToggledOpen, self, args, kw);
}
static PyObject* biv_ImGui_IsAnyItemHovered(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsAnyItemHovered();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_any_item_hovered(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsAnyItemHovered, self, args, kw);
}
static PyObject* biv_ImGui_IsAnyItemActive(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsAnyItemActive();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_any_item_active(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsAnyItemActive, self, args, kw);
}
static PyObject* biv_ImGui_IsAnyItemFocused(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsAnyItemFocused();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_any_item_focused(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsAnyItemFocused, self, args, kw);
}
static PyObject* biv_ImGui_GetItemID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetItemID();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_item_id(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetItemID, self, args, kw);
}
static PyObject* biv_ImGui_GetItemRectMin(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetItemRectMin();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_item_rect_min(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetItemRectMin, self, args, kw);
}
static PyObject* biv_ImGui_GetItemRectMax(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetItemRectMax();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_item_rect_max(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetItemRectMax, self, args, kw);
}
static PyObject* biv_ImGui_GetItemRectSize(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetItemRectSize();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_item_rect_size(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetItemRectSize, self, args, kw);
}
static PyObject* biv_ImGui_GetItemFlags(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetItemFlags();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_item_flags(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetItemFlags, self, args, kw);
}
static PyObject* biv_ImGui_GetItemClickedCountWithSingleClickDelayEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "mouse_button", "delay", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
ImGuiMouseButton a_mouse_button = 0;
BI_GET(0, a_mouse_button);
float a_delay = - 1.0f;
BI_GET(1, a_delay);
auto r = ImGui::GetItemClickedCountWithSingleClickDelay(a_mouse_button, a_delay);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_item_clicked_count_with_single_click_delay(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetItemClickedCountWithSingleClickDelayEx, self, args, kw);
}
static PyObject* biv_ImGui_GetMainViewport(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetMainViewport();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_main_viewport(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetMainViewport, self, args, kw);
}
static PyObject* biv_ImGui_GetBackgroundDrawList(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetBackgroundDrawList();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_background_draw_list(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetBackgroundDrawList, self, args, kw);
}
static PyObject* biv_ImGui_GetForegroundDrawList(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetForegroundDrawList();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_foreground_draw_list(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetForegroundDrawList, self, args, kw);
}
static PyObject* biv_ImGui_IsRectVisible(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec2 a_size{};
BI_GET(0, a_size);
auto r = ImGui::IsRectVisible(a_size);
return bi_result({ bi_to(r) });
}
static PyObject* biv_ImGui_IsRectVisibleVec2(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "rect_min", "rect_max", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImVec2 a_rect_min{};
BI_GET(0, a_rect_min);
ImVec2 a_rect_max{};
BI_GET(1, a_rect_max);
auto r = ImGui::IsRectVisible(a_rect_min, a_rect_max);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_rect_visible(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGui_IsRectVisible, biv_ImGui_IsRectVisibleVec2 };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImGui_IsRectVisibleVec2(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImGui_IsRectVisibleVec2, self, args, kw); }
static PyObject* biv_ImGui_GetTime(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetTime();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_time(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetTime, self, args, kw);
}
static PyObject* biv_ImGui_GetFrameCount(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetFrameCount();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_frame_count(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetFrameCount, self, args, kw);
}
static PyObject* biv_ImGui_GetDrawListSharedData(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetDrawListSharedData();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_draw_list_shared_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetDrawListSharedData, self, args, kw);
}
static PyObject* biv_ImGui_GetStyleColorName(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiCol a_idx{};
BI_GET(0, a_idx);
auto r = ImGui::GetStyleColorName(a_idx);
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImGui_get_style_color_name(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetStyleColorName, self, args, kw);
}
static PyObject* biv_ImGui_SetStateStorage(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "storage", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiStorage* a_storage = nullptr;
BI_GETP(0, a_storage);
ImGui::SetStateStorage(a_storage);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_state_storage(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetStateStorage, self, args, kw);
}
static PyObject* biv_ImGui_GetStateStorage(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetStateStorage();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGui_get_state_storage(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetStateStorage, self, args, kw);
}
static PyObject* biv_ImGui_CalcTextSizeEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", "text_end", "hide_text_after_double_hash", "wrap_width", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 1, o, argfail)) return nullptr;
const char* a_text{};
BI_GET(0, a_text);
const char* a_text_end = NULL;
BI_GET(1, a_text_end);
bool a_hide_text_after_double_hash = false;
BI_GET(2, a_hide_text_after_double_hash);
float a_wrap_width = - 1.0f;
BI_GET(3, a_wrap_width);
auto r = ImGui::CalcTextSize(a_text, a_text_end, a_hide_text_after_double_hash, a_wrap_width);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_calc_text_size(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_CalcTextSizeEx, self, args, kw);
}
static PyObject* biv_ImGui_ColorConvertU32ToFloat4(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "in_", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImU32 a_in{};
BI_GET(0, a_in);
auto r = ImGui::ColorConvertU32ToFloat4(a_in);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_color_convert_u32_to_float4(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorConvertU32ToFloat4, self, args, kw);
}
static PyObject* biv_ImGui_ColorConvertFloat4ToU32(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "in_", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec4 a_in{};
BI_GET(0, a_in);
auto r = ImGui::ColorConvertFloat4ToU32(a_in);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_color_convert_float4_to_u32(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorConvertFloat4ToU32, self, args, kw);
}
static PyObject* biv_ImGui_ColorConvertRGBtoHSV(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "r", "g", "b", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
float a_r{};
BI_GET(0, a_r);
float a_g{};
BI_GET(1, a_g);
float a_b{};
BI_GET(2, a_b);
float a_out_h{};
float a_out_s{};
float a_out_v{};
ImGui::ColorConvertRGBtoHSV(a_r, a_g, a_b, a_out_h, a_out_s, a_out_v);
return bi_result({ bi_to(a_out_h), bi_to(a_out_s), bi_to(a_out_v) });
}
static PyObject* bid_ImGui_color_convert_rgb_to_hsv(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorConvertRGBtoHSV, self, args, kw);
}
static PyObject* biv_ImGui_ColorConvertHSVtoRGB(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "h", "s", "v", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
float a_h{};
BI_GET(0, a_h);
float a_s{};
BI_GET(1, a_s);
float a_v{};
BI_GET(2, a_v);
float a_out_r{};
float a_out_g{};
float a_out_b{};
ImGui::ColorConvertHSVtoRGB(a_h, a_s, a_v, a_out_r, a_out_g, a_out_b);
return bi_result({ bi_to(a_out_r), bi_to(a_out_g), bi_to(a_out_b) });
}
static PyObject* bid_ImGui_color_convert_hsv_to_rgb(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ColorConvertHSVtoRGB, self, args, kw);
}
static PyObject* biv_ImGui_IsKeyDown(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiKey a_key{};
BI_GET(0, a_key);
auto r = ImGui::IsKeyDown(a_key);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_key_down(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsKeyDown, self, args, kw);
}
static PyObject* biv_ImGui_IsKeyPressedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "repeat", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiKey a_key{};
BI_GET(0, a_key);
bool a_repeat = true;
BI_GET(1, a_repeat);
auto r = ImGui::IsKeyPressed(a_key, a_repeat);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_key_pressed(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsKeyPressedEx, self, args, kw);
}
static PyObject* biv_ImGui_IsKeyReleased(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiKey a_key{};
BI_GET(0, a_key);
auto r = ImGui::IsKeyReleased(a_key);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_key_released(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsKeyReleased, self, args, kw);
}
static PyObject* biv_ImGui_IsKeyChordPressed(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key_chord", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiKeyChord a_key_chord{};
BI_GET(0, a_key_chord);
auto r = ImGui::IsKeyChordPressed(a_key_chord);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_key_chord_pressed(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsKeyChordPressed, self, args, kw);
}
static PyObject* biv_ImGui_GetKeyPressedAmount(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "repeat_delay", "rate", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
ImGuiKey a_key{};
BI_GET(0, a_key);
float a_repeat_delay{};
BI_GET(1, a_repeat_delay);
float a_rate{};
BI_GET(2, a_rate);
auto r = ImGui::GetKeyPressedAmount(a_key, a_repeat_delay, a_rate);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_key_pressed_amount(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetKeyPressedAmount, self, args, kw);
}
static PyObject* biv_ImGui_GetKeyName(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiKey a_key{};
BI_GET(0, a_key);
auto r = ImGui::GetKeyName(a_key);
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImGui_get_key_name(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetKeyName, self, args, kw);
}
static PyObject* biv_ImGui_SetNextFrameWantCaptureKeyboard(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "want_capture_keyboard", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
bool a_want_capture_keyboard{};
BI_GET(0, a_want_capture_keyboard);
ImGui::SetNextFrameWantCaptureKeyboard(a_want_capture_keyboard);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_frame_want_capture_keyboard(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextFrameWantCaptureKeyboard, self, args, kw);
}
static PyObject* biv_ImGui_ShortcutEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key_chord", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiKeyChord a_key_chord{};
BI_GET(0, a_key_chord);
ImGuiInputFlags a_flags = 0;
BI_GET(1, a_flags);
auto r = ImGui::Shortcut(a_key_chord, a_flags);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_shortcut(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ShortcutEx, self, args, kw);
}
static PyObject* biv_ImGui_SetNextItemShortcutEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key_chord", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiKeyChord a_key_chord{};
BI_GET(0, a_key_chord);
ImGuiInputFlags a_flags = 0;
BI_GET(1, a_flags);
ImGui::SetNextItemShortcut(a_key_chord, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_item_shortcut(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextItemShortcutEx, self, args, kw);
}
static PyObject* biv_ImGui_SetItemKeyOwner(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiKey a_key{};
BI_GET(0, a_key);
auto r = ImGui::SetItemKeyOwner(a_key);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_set_item_key_owner(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetItemKeyOwner, self, args, kw);
}
static PyObject* biv_ImGui_IsMouseDown(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiMouseButton a_button{};
BI_GET(0, a_button);
auto r = ImGui::IsMouseDown(a_button);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_mouse_down(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsMouseDown, self, args, kw);
}
static PyObject* biv_ImGui_IsMouseClickedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", "repeat", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiMouseButton a_button{};
BI_GET(0, a_button);
bool a_repeat = false;
BI_GET(1, a_repeat);
auto r = ImGui::IsMouseClicked(a_button, a_repeat);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_mouse_clicked(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsMouseClickedEx, self, args, kw);
}
static PyObject* biv_ImGui_IsMouseReleased(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiMouseButton a_button{};
BI_GET(0, a_button);
auto r = ImGui::IsMouseReleased(a_button);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_mouse_released(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsMouseReleased, self, args, kw);
}
static PyObject* biv_ImGui_IsMouseDoubleClicked(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiMouseButton a_button{};
BI_GET(0, a_button);
auto r = ImGui::IsMouseDoubleClicked(a_button);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_mouse_double_clicked(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsMouseDoubleClicked, self, args, kw);
}
static PyObject* biv_ImGui_IsMouseReleasedWithDelayEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", "delay", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiMouseButton a_button{};
BI_GET(0, a_button);
float a_delay = - 1.f;
BI_GET(1, a_delay);
auto r = ImGui::IsMouseReleasedWithDelay(a_button, a_delay);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_mouse_released_with_delay(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsMouseReleasedWithDelayEx, self, args, kw);
}
static PyObject* biv_ImGui_GetMouseClickedCount(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiMouseButton a_button{};
BI_GET(0, a_button);
auto r = ImGui::GetMouseClickedCount(a_button);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_mouse_clicked_count(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetMouseClickedCount, self, args, kw);
}
static PyObject* biv_ImGui_IsMouseHoveringRectEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "r_min", "r_max", "clip", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
ImVec2 a_r_min{};
BI_GET(0, a_r_min);
ImVec2 a_r_max{};
BI_GET(1, a_r_max);
bool a_clip = true;
BI_GET(2, a_clip);
auto r = ImGui::IsMouseHoveringRect(a_r_min, a_r_max, a_clip);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_mouse_hovering_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsMouseHoveringRectEx, self, args, kw);
}
static PyObject* biv_ImGui_IsMousePosValidEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImVec2* a_mouse_pos = NULL;
auto r = ImGui::IsMousePosValid(a_mouse_pos);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_mouse_pos_valid(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsMousePosValidEx, self, args, kw);
}
static PyObject* biv_ImGui_IsAnyMouseDown(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::IsAnyMouseDown();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_any_mouse_down(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsAnyMouseDown, self, args, kw);
}
static PyObject* biv_ImGui_GetMousePos(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetMousePos();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_mouse_pos(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetMousePos, self, args, kw);
}
static PyObject* biv_ImGui_GetMousePosOnOpeningCurrentPopup(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetMousePosOnOpeningCurrentPopup();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_mouse_pos_on_opening_current_popup(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetMousePosOnOpeningCurrentPopup, self, args, kw);
}
static PyObject* biv_ImGui_IsMouseDraggingEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", "lock_threshold", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiMouseButton a_button{};
BI_GET(0, a_button);
float a_lock_threshold = - 1.0f;
BI_GET(1, a_lock_threshold);
auto r = ImGui::IsMouseDragging(a_button, a_lock_threshold);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_is_mouse_dragging(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_IsMouseDraggingEx, self, args, kw);
}
static PyObject* biv_ImGui_GetMouseDragDeltaEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", "lock_threshold", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
ImGuiMouseButton a_button = 0;
BI_GET(0, a_button);
float a_lock_threshold = - 1.0f;
BI_GET(1, a_lock_threshold);
auto r = ImGui::GetMouseDragDelta(a_button, a_lock_threshold);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_mouse_drag_delta(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetMouseDragDeltaEx, self, args, kw);
}
static PyObject* biv_ImGui_ResetMouseDragDeltaEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiMouseButton a_button = 0;
BI_GET(0, a_button);
ImGui::ResetMouseDragDelta(a_button);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_reset_mouse_drag_delta(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_ResetMouseDragDeltaEx, self, args, kw);
}
static PyObject* biv_ImGui_GetMouseCursor(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetMouseCursor();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_get_mouse_cursor(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetMouseCursor, self, args, kw);
}
static PyObject* biv_ImGui_SetMouseCursor(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "cursor_type", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiMouseCursor a_cursor_type{};
BI_GET(0, a_cursor_type);
ImGui::SetMouseCursor(a_cursor_type);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_mouse_cursor(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetMouseCursor, self, args, kw);
}
static PyObject* biv_ImGui_SetNextFrameWantCaptureMouse(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "want_capture_mouse", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
bool a_want_capture_mouse{};
BI_GET(0, a_want_capture_mouse);
ImGui::SetNextFrameWantCaptureMouse(a_want_capture_mouse);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_next_frame_want_capture_mouse(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetNextFrameWantCaptureMouse, self, args, kw);
}
static PyObject* biv_ImGui_GetClipboardText(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
auto r = ImGui::GetClipboardText();
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImGui_get_clipboard_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_GetClipboardText, self, args, kw);
}
static PyObject* biv_ImGui_SetClipboardText(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_text{};
BI_GET(0, a_text);
ImGui::SetClipboardText(a_text);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_set_clipboard_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SetClipboardText, self, args, kw);
}
static PyObject* biv_ImGui_LoadIniSettingsFromDisk(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "ini_filename", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_ini_filename{};
BI_GET(0, a_ini_filename);
ImGui::LoadIniSettingsFromDisk(a_ini_filename);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_load_ini_settings_from_disk(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LoadIniSettingsFromDisk, self, args, kw);
}
static PyObject* biv_ImGui_LoadIniSettingsFromMemoryEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "ini_data", "ini_size", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const char* a_ini_data{};
BI_GET(0, a_ini_data);
size_t a_ini_size = 0;
BI_GET(1, a_ini_size);
ImGui::LoadIniSettingsFromMemory(a_ini_data, a_ini_size);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_load_ini_settings_from_memory(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_LoadIniSettingsFromMemoryEx, self, args, kw);
}
static PyObject* biv_ImGui_SaveIniSettingsToDisk(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "ini_filename", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_ini_filename{};
BI_GET(0, a_ini_filename);
ImGui::SaveIniSettingsToDisk(a_ini_filename);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_save_ini_settings_to_disk(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SaveIniSettingsToDisk, self, args, kw);
}
static PyObject* biv_ImGui_SaveIniSettingsToMemoryEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "out_ini_size", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
size_t a_out_ini_size_v{}; size_t* a_out_ini_size = NULL;
if (o[0] && o[0] != Py_None) { if (!bi_from(o[0], a_out_ini_size_v)) BI_FAIL; a_out_ini_size = &a_out_ini_size_v; }
auto r = ImGui::SaveIniSettingsToMemory(a_out_ini_size);
return bi_result({ bi_to((const char*)r), bi_opt(a_out_ini_size) });
}
static PyObject* bid_ImGui_save_ini_settings_to_memory(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_SaveIniSettingsToMemoryEx, self, args, kw);
}
static PyObject* biv_ImGui_DebugTextEncoding(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_text{};
BI_GET(0, a_text);
ImGui::DebugTextEncoding(a_text);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_debug_text_encoding(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DebugTextEncoding, self, args, kw);
}
static PyObject* biv_ImGui_DebugFlashStyleColor(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiCol a_idx{};
BI_GET(0, a_idx);
ImGui::DebugFlashStyleColor(a_idx);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_debug_flash_style_color(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DebugFlashStyleColor, self, args, kw);
}
static PyObject* biv_ImGui_DebugStartItemPicker(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGui::DebugStartItemPicker();
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_debug_start_item_picker(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DebugStartItemPicker, self, args, kw);
}
static PyObject* biv_ImGui_DebugCheckVersionAndDataLayout(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "version_str", "sz_io", "sz_style", "sz_vec2", "sz_vec4", "sz_drawvert", "sz_drawidx", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 7, o, argfail)) return nullptr;
const char* a_version_str{};
BI_GET(0, a_version_str);
size_t a_sz_io{};
BI_GET(1, a_sz_io);
size_t a_sz_style{};
BI_GET(2, a_sz_style);
size_t a_sz_vec2{};
BI_GET(3, a_sz_vec2);
size_t a_sz_vec4{};
BI_GET(4, a_sz_vec4);
size_t a_sz_drawvert{};
BI_GET(5, a_sz_drawvert);
size_t a_sz_drawidx{};
BI_GET(6, a_sz_drawidx);
auto r = ImGui::DebugCheckVersionAndDataLayout(a_version_str, a_sz_io, a_sz_style, a_sz_vec2, a_sz_vec4, a_sz_drawvert, a_sz_drawidx);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGui_debug_check_version_and_data_layout(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DebugCheckVersionAndDataLayout, self, args, kw);
}
static PyObject* biv_ImGui_DebugLog(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const char* a_fmt{};
BI_GET(0, a_fmt);
ImGui::DebugLog("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGui_debug_log(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_DebugLog, self, args, kw);
}
static PyObject* biv_ImGui_MemAlloc(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
size_t a_size{};
BI_GET(0, a_size);
auto r = ImGui::MemAlloc(a_size);
return bi_result({ bi_voidptr((const void*)r) });
}
static PyObject* bid_ImGui_mem_alloc(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGui_MemAlloc, self, args, kw);
}
static PyObject* biv_ImVec2_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImVec2)());
}
static PyObject* biv_ImVec2_NewFloat(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "x", "y", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
float a__x{};
BI_GET(0, a__x);
float a__y{};
BI_GET(1, a__y);
return bi_owned(IM_NEW(ImVec2)(a__x, a__y));
}
static PyObject* bid_ImVec2_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImVec2_New, biv_ImVec2_NewFloat };
return bi_dispatch(nullptr, args, kw, v, 2);
}
static PyObject* biv_ImVec4_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImVec4)());
}
static PyObject* biv_ImVec4_NewFloat(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "x", "y", "z", "w", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 4, o, argfail)) return nullptr;
float a__x{};
BI_GET(0, a__x);
float a__y{};
BI_GET(1, a__y);
float a__z{};
BI_GET(2, a__z);
float a__w{};
BI_GET(3, a__w);
return bi_owned(IM_NEW(ImVec4)(a__x, a__y, a__z, a__w));
}
static PyObject* bid_ImVec4_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImVec4_New, biv_ImVec4_NewFloat };
return bi_dispatch(nullptr, args, kw, v, 2);
}
static PyObject* biv_ImTextureRef_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImTextureRef)());
}
static PyObject* biv_ImTextureRef_NewTextureID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImTextureID a_tex_id{};
BI_GET(0, a_tex_id);
return bi_owned(IM_NEW(ImTextureRef)(a_tex_id));
}
static PyObject* bid_ImTextureRef_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImTextureRef_New, biv_ImTextureRef_NewTextureID };
return bi_dispatch(nullptr, args, kw, v, 2);
}
static PyObject* biv_ImTextureRef_GetTexID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImTextureRef* self_p = (const ImTextureRef*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetTexID();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImTextureRef_get_tex_id(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureRef_GetTexID, self, args, kw);
}
static PyObject* biv_ImGuiTableSortSpecs_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiTableSortSpecs)());
}
static PyObject* bid_ImGuiTableSortSpecs_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTableSortSpecs_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiTableColumnSortSpecs_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiTableColumnSortSpecs)());
}
static PyObject* bid_ImGuiTableColumnSortSpecs_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTableColumnSortSpecs_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiStyle_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiStyle)());
}
static PyObject* bid_ImGuiStyle_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStyle_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiStyle_ScaleAllSizes(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "scale_factor", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiStyle* self_p = (ImGuiStyle*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_scale_factor{};
BI_GET(0, a_scale_factor);
self_p->ScaleAllSizes(a_scale_factor);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiStyle_scale_all_sizes(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStyle_ScaleAllSizes, self, args, kw);
}
static PyObject* biv_ImGuiKeyData_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiKeyData)());
}
static PyObject* bid_ImGuiKeyData_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiKeyData_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiIO_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiIO)());
}
static PyObject* bid_ImGuiIO_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiIO_AddKeyEvent(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "down", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiKey a_key{};
BI_GET(0, a_key);
bool a_down{};
BI_GET(1, a_down);
self_p->AddKeyEvent(a_key, a_down);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_key_event(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddKeyEvent, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddKeyAnalogEvent(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "down", "v", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiKey a_key{};
BI_GET(0, a_key);
bool a_down{};
BI_GET(1, a_down);
float a_v{};
BI_GET(2, a_v);
self_p->AddKeyAnalogEvent(a_key, a_down, a_v);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_key_analog_event(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddKeyAnalogEvent, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddMousePosEvent(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "x", "y", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_x{};
BI_GET(0, a_x);
float a_y{};
BI_GET(1, a_y);
self_p->AddMousePosEvent(a_x, a_y);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_mouse_pos_event(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddMousePosEvent, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddMouseButtonEvent(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "button", "down", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_button{};
BI_GET(0, a_button);
bool a_down{};
BI_GET(1, a_down);
self_p->AddMouseButtonEvent(a_button, a_down);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_mouse_button_event(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddMouseButtonEvent, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddMouseWheelEvent(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "wheel_x", "wheel_y", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_wheel_x{};
BI_GET(0, a_wheel_x);
float a_wheel_y{};
BI_GET(1, a_wheel_y);
self_p->AddMouseWheelEvent(a_wheel_x, a_wheel_y);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_mouse_wheel_event(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddMouseWheelEvent, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddMouseSourceEvent(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "source", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiMouseSource a_source{};
BI_GET(0, a_source);
self_p->AddMouseSourceEvent(a_source);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_mouse_source_event(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddMouseSourceEvent, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddFocusEvent(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "focused", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
bool a_focused{};
BI_GET(0, a_focused);
self_p->AddFocusEvent(a_focused);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_focus_event(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddFocusEvent, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddInputCharacter(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
unsigned int a_c{};
BI_GET(0, a_c);
self_p->AddInputCharacter(a_c);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_input_character(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddInputCharacter, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddInputCharacterUTF16(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar16 a_c{};
BI_GET(0, a_c);
self_p->AddInputCharacterUTF16(a_c);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_input_character_utf16(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddInputCharacterUTF16, self, args, kw);
}
static PyObject* biv_ImGuiIO_AddInputCharactersUTF8(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_str{};
BI_GET(0, a_str);
self_p->AddInputCharactersUTF8(a_str);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_add_input_characters_utf8(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_AddInputCharactersUTF8, self, args, kw);
}
static PyObject* biv_ImGuiIO_SetKeyEventNativeDataEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "native_keycode", "native_scancode", "native_legacy_index", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiKey a_key{};
BI_GET(0, a_key);
int a_native_keycode{};
BI_GET(1, a_native_keycode);
int a_native_scancode{};
BI_GET(2, a_native_scancode);
int a_native_legacy_index = - 1;
BI_GET(3, a_native_legacy_index);
self_p->SetKeyEventNativeData(a_key, a_native_keycode, a_native_scancode, a_native_legacy_index);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_set_key_event_native_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_SetKeyEventNativeDataEx, self, args, kw);
}
static PyObject* biv_ImGuiIO_SetAppAcceptingEvents(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "accepting_events", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
bool a_accepting_events{};
BI_GET(0, a_accepting_events);
self_p->SetAppAcceptingEvents(a_accepting_events);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_set_app_accepting_events(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_SetAppAcceptingEvents, self, args, kw);
}
static PyObject* biv_ImGuiIO_ClearEventsQueue(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearEventsQueue();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_clear_events_queue(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_ClearEventsQueue, self, args, kw);
}
static PyObject* biv_ImGuiIO_ClearInputKeys(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearInputKeys();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_clear_input_keys(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_ClearInputKeys, self, args, kw);
}
static PyObject* biv_ImGuiIO_ClearInputMouse(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiIO* self_p = (ImGuiIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearInputMouse();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiIO_clear_input_mouse(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiIO_ClearInputMouse, self, args, kw);
}
static PyObject* biv_ImGuiInputTextCallbackData_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiInputTextCallbackData)());
}
static PyObject* bid_ImGuiInputTextCallbackData_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiInputTextCallbackData_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiInputTextCallbackData_DeleteChars(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", "bytes_count", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiInputTextCallbackData* self_p = (ImGuiInputTextCallbackData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_pos{};
BI_GET(0, a_pos);
int a_bytes_count{};
BI_GET(1, a_bytes_count);
self_p->DeleteChars(a_pos, a_bytes_count);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiInputTextCallbackData_delete_chars(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiInputTextCallbackData_DeleteChars, self, args, kw);
}
static PyObject* biv_ImGuiInputTextCallbackData_InsertCharsEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", "text", "text_end", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
ImGuiInputTextCallbackData* self_p = (ImGuiInputTextCallbackData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_pos{};
BI_GET(0, a_pos);
const char* a_text{};
BI_GET(1, a_text);
const char* a_text_end = NULL;
BI_GET(2, a_text_end);
self_p->InsertChars(a_pos, a_text, a_text_end);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiInputTextCallbackData_insert_chars(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiInputTextCallbackData_InsertCharsEx, self, args, kw);
}
static PyObject* biv_ImGuiInputTextCallbackData_SelectAll(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiInputTextCallbackData* self_p = (ImGuiInputTextCallbackData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->SelectAll();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiInputTextCallbackData_select_all(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiInputTextCallbackData_SelectAll, self, args, kw);
}
static PyObject* biv_ImGuiInputTextCallbackData_SetSelection(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "s", "e", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiInputTextCallbackData* self_p = (ImGuiInputTextCallbackData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_s{};
BI_GET(0, a_s);
int a_e{};
BI_GET(1, a_e);
self_p->SetSelection(a_s, a_e);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiInputTextCallbackData_set_selection(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiInputTextCallbackData_SetSelection, self, args, kw);
}
static PyObject* biv_ImGuiInputTextCallbackData_ClearSelection(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiInputTextCallbackData* self_p = (ImGuiInputTextCallbackData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearSelection();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiInputTextCallbackData_clear_selection(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiInputTextCallbackData_ClearSelection, self, args, kw);
}
static PyObject* biv_ImGuiInputTextCallbackData_HasSelection(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiInputTextCallbackData* self_p = (const ImGuiInputTextCallbackData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->HasSelection();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiInputTextCallbackData_has_selection(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiInputTextCallbackData_HasSelection, self, args, kw);
}
static PyObject* biv_ImGuiSizeCallbackData_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiSizeCallbackData)());
}
static PyObject* bid_ImGuiSizeCallbackData_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSizeCallbackData_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiPayload_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiPayload)());
}
static PyObject* bid_ImGuiPayload_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPayload_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiPayload_Clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiPayload* self_p = (ImGuiPayload*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiPayload_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPayload_Clear, self, args, kw);
}
static PyObject* biv_ImGuiPayload_IsDataType(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "type", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const ImGuiPayload* self_p = (const ImGuiPayload*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_type{};
BI_GET(0, a_type);
auto r = self_p->IsDataType(a_type);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiPayload_is_data_type(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPayload_IsDataType, self, args, kw);
}
static PyObject* biv_ImGuiPayload_IsPreview(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiPayload* self_p = (const ImGuiPayload*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->IsPreview();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiPayload_is_preview(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPayload_IsPreview, self, args, kw);
}
static PyObject* biv_ImGuiPayload_IsDelivery(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiPayload* self_p = (const ImGuiPayload*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->IsDelivery();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiPayload_is_delivery(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPayload_IsDelivery, self, args, kw);
}
static PyObject* biv_ImGuiOnceUponAFrame_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiOnceUponAFrame)());
}
static PyObject* bid_ImGuiOnceUponAFrame_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiOnceUponAFrame_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiTextFilter_NewEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "default_filter", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
const char* a_default_filter = "";
BI_GET(0, a_default_filter);
return bi_owned(IM_NEW(ImGuiTextFilter)(a_default_filter));
}
static PyObject* bid_ImGuiTextFilter_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextFilter_NewEx, nullptr, args, kw);
}
static PyObject* biv_ImGuiTextFilter_PassFilterEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", "text_end", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const ImGuiTextFilter* self_p = (const ImGuiTextFilter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_text{};
BI_GET(0, a_text);
const char* a_text_end = NULL;
BI_GET(1, a_text_end);
auto r = self_p->PassFilter(a_text, a_text_end);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiTextFilter_pass_filter(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextFilter_PassFilterEx, self, args, kw);
}
static PyObject* biv_ImGuiTextFilter_Build(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiTextFilter* self_p = (ImGuiTextFilter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Build();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiTextFilter_build(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextFilter_Build, self, args, kw);
}
static PyObject* biv_ImGuiTextFilter_Clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiTextFilter* self_p = (ImGuiTextFilter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiTextFilter_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextFilter_Clear, self, args, kw);
}
static PyObject* biv_ImGuiTextFilter_IsActive(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiTextFilter* self_p = (const ImGuiTextFilter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->IsActive();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiTextFilter_is_active(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextFilter_IsActive, self, args, kw);
}
static PyObject* biv_ImGuiTextFilter_DrawEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImGuiTextFilter* self_p = (ImGuiTextFilter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_label = "Filter";
BI_GET(0, a_label);
auto r = self_p->Draw(a_label);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiTextFilter_draw(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextFilter_DrawEx, self, args, kw);
}
static PyObject* biv_ImGuiTextFilter_DrawWithHintEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "label", "hint", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 0, o, argfail)) return nullptr;
ImGuiTextFilter* self_p = (ImGuiTextFilter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_label = "Filter";
BI_GET(0, a_label);
const char* a_hint = "incl -excl";
BI_GET(1, a_hint);
auto r = self_p->DrawWithHint(a_label, a_hint);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiTextFilter_draw_with_hint(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextFilter_DrawWithHintEx, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiTextBuffer)());
}
static PyObject* bid_ImGuiTextBuffer_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_begin(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiTextBuffer* self_p = (const ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->begin();
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImGuiTextBuffer_begin(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_begin, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_end(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiTextBuffer* self_p = (const ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->end();
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImGuiTextBuffer_end(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_end, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_size(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiTextBuffer* self_p = (const ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->size();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiTextBuffer_size(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_size, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_empty(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiTextBuffer* self_p = (const ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->empty();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiTextBuffer_empty(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_empty, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiTextBuffer* self_p = (ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiTextBuffer_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_clear, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_resize(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiTextBuffer* self_p = (ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_size{};
BI_GET(0, a_size);
self_p->resize(a_size);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiTextBuffer_resize(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_resize, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_reserve(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "capacity", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiTextBuffer* self_p = (ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_capacity{};
BI_GET(0, a_capacity);
self_p->reserve(a_capacity);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiTextBuffer_reserve(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_reserve, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_c_str(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiTextBuffer* self_p = (const ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->c_str();
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImGuiTextBuffer_c_str(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_c_str, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_appendEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "str", "str_end", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiTextBuffer* self_p = (ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_str{};
BI_GET(0, a_str);
const char* a_str_end = NULL;
BI_GET(1, a_str_end);
self_p->append(a_str, a_str_end);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiTextBuffer_append(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_appendEx, self, args, kw);
}
static PyObject* biv_ImGuiTextBuffer_appendf(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiTextBuffer* self_p = (ImGuiTextBuffer*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_fmt{};
BI_GET(0, a_fmt);
self_p->appendf("%s", a_fmt);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiTextBuffer_appendf(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiTextBuffer_appendf, self, args, kw);
}
static PyObject* biv_ImGuiStoragePair_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiID a__key{};
BI_GET(0, a__key);
int a__val{};
BI_GET(1, a__val);
return bi_owned(IM_NEW(ImGuiStoragePair)(a__key, a__val));
}
static PyObject* biv_ImGuiStoragePair_NewFloat(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiID a__key{};
BI_GET(0, a__key);
float a__val{};
BI_GET(1, a__val);
return bi_owned(IM_NEW(ImGuiStoragePair)(a__key, a__val));
}
static PyObject* bid_ImGuiStoragePair_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImGuiStoragePair_New, biv_ImGuiStoragePair_NewFloat };
return bi_dispatch(nullptr, args, kw, v, 2);
}
static PyObject* biv_ImGuiStorage_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiStorage)());
}
static PyObject* bid_ImGuiStorage_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiStorage_Clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiStorage_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_Clear, self, args, kw);
}
static PyObject* biv_ImGuiStorage_GetIntEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "default_val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const ImGuiStorage* self_p = (const ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
int a_default_val = 0;
BI_GET(1, a_default_val);
auto r = self_p->GetInt(a_key, a_default_val);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiStorage_get_int(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_GetIntEx, self, args, kw);
}
static PyObject* biv_ImGuiStorage_SetInt(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
int a_val{};
BI_GET(1, a_val);
self_p->SetInt(a_key, a_val);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiStorage_set_int(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_SetInt, self, args, kw);
}
static PyObject* biv_ImGuiStorage_GetBoolEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "default_val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const ImGuiStorage* self_p = (const ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
bool a_default_val = false;
BI_GET(1, a_default_val);
auto r = self_p->GetBool(a_key, a_default_val);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiStorage_get_bool(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_GetBoolEx, self, args, kw);
}
static PyObject* biv_ImGuiStorage_SetBool(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
bool a_val{};
BI_GET(1, a_val);
self_p->SetBool(a_key, a_val);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiStorage_set_bool(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_SetBool, self, args, kw);
}
static PyObject* biv_ImGuiStorage_GetFloatEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "default_val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
const ImGuiStorage* self_p = (const ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
float a_default_val = 0.0f;
BI_GET(1, a_default_val);
auto r = self_p->GetFloat(a_key, a_default_val);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiStorage_get_float(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_GetFloatEx, self, args, kw);
}
static PyObject* biv_ImGuiStorage_SetFloat(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
float a_val{};
BI_GET(1, a_val);
self_p->SetFloat(a_key, a_val);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiStorage_set_float(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_SetFloat, self, args, kw);
}
static PyObject* biv_ImGuiStorage_GetVoidPtr(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const ImGuiStorage* self_p = (const ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
auto r = self_p->GetVoidPtr(a_key);
return bi_result({ bi_voidptr((const void*)r) });
}
static PyObject* bid_ImGuiStorage_get_void_ptr(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_GetVoidPtr, self, args, kw);
}
static PyObject* biv_ImGuiStorage_GetIntRefEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "default_val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
int a_default_val = 0;
BI_GET(1, a_default_val);
auto r = self_p->GetIntRef(a_key, a_default_val);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGuiStorage_get_int_ref(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_GetIntRefEx, self, args, kw);
}
static PyObject* biv_ImGuiStorage_GetBoolRefEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "default_val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
bool a_default_val = false;
BI_GET(1, a_default_val);
auto r = self_p->GetBoolRef(a_key, a_default_val);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGuiStorage_get_bool_ref(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_GetBoolRefEx, self, args, kw);
}
static PyObject* biv_ImGuiStorage_GetFloatRefEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", "default_val", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
float a_default_val = 0.0f;
BI_GET(1, a_default_val);
auto r = self_p->GetFloatRef(a_key, a_default_val);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImGuiStorage_get_float_ref(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_GetFloatRefEx, self, args, kw);
}
static PyObject* biv_ImGuiStorage_GetVoidPtrRefEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "key", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_key{};
BI_GET(0, a_key);
void* a_default_val = NULL;
auto r = self_p->GetVoidPtrRef(a_key, a_default_val);
return bi_result({ bi_voidptr((const void*)r) });
}
static PyObject* bid_ImGuiStorage_get_void_ptr_ref(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_GetVoidPtrRefEx, self, args, kw);
}
static PyObject* biv_ImGuiStorage_BuildSortByKey(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->BuildSortByKey();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiStorage_build_sort_by_key(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_BuildSortByKey, self, args, kw);
}
static PyObject* biv_ImGuiStorage_SetAllInt(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "val", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiStorage* self_p = (ImGuiStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_val{};
BI_GET(0, a_val);
self_p->SetAllInt(a_val);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiStorage_set_all_int(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiStorage_SetAllInt, self, args, kw);
}
static PyObject* biv_ImGuiListClipper_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiListClipper)());
}
static PyObject* bid_ImGuiListClipper_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiListClipper_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiListClipper_BeginEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "items_count", "items_height", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImGuiListClipper* self_p = (ImGuiListClipper*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_items_count{};
BI_GET(0, a_items_count);
float a_items_height = - 1.0f;
BI_GET(1, a_items_height);
self_p->Begin(a_items_count, a_items_height);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiListClipper_begin(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiListClipper_BeginEx, self, args, kw);
}
static PyObject* biv_ImGuiListClipper_End(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiListClipper* self_p = (ImGuiListClipper*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->End();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiListClipper_end(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiListClipper_End, self, args, kw);
}
static PyObject* biv_ImGuiListClipper_Step(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiListClipper* self_p = (ImGuiListClipper*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->Step();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiListClipper_step(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiListClipper_Step, self, args, kw);
}
static PyObject* biv_ImGuiListClipper_IncludeItemByIndex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "item_index", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiListClipper* self_p = (ImGuiListClipper*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_item_index{};
BI_GET(0, a_item_index);
self_p->IncludeItemByIndex(a_item_index);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiListClipper_include_item_by_index(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiListClipper_IncludeItemByIndex, self, args, kw);
}
static PyObject* biv_ImGuiListClipper_IncludeItemsByIndex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "item_begin", "item_end", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiListClipper* self_p = (ImGuiListClipper*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_item_begin{};
BI_GET(0, a_item_begin);
int a_item_end{};
BI_GET(1, a_item_end);
self_p->IncludeItemsByIndex(a_item_begin, a_item_end);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiListClipper_include_items_by_index(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiListClipper_IncludeItemsByIndex, self, args, kw);
}
static PyObject* biv_ImGuiListClipper_SeekCursorForItem(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "item_index", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiListClipper* self_p = (ImGuiListClipper*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_item_index{};
BI_GET(0, a_item_index);
self_p->SeekCursorForItem(a_item_index);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiListClipper_seek_cursor_for_item(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiListClipper_SeekCursorForItem, self, args, kw);
}
static PyObject* biv_ImColor_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImColor)());
}
static PyObject* biv_ImColor_NewFloatEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "r", "g", "b", "a", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
float a_r{};
BI_GET(0, a_r);
float a_g{};
BI_GET(1, a_g);
float a_b{};
BI_GET(2, a_b);
float a_a = 1.0f;
BI_GET(3, a_a);
return bi_owned(IM_NEW(ImColor)(a_r, a_g, a_b, a_a));
}
static PyObject* biv_ImColor_NewVec4(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "col", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImVec4 a_col{};
BI_GET(0, a_col);
return bi_owned(IM_NEW(ImColor)(a_col));
}
static PyObject* biv_ImColor_NewIntEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "r", "g", "b", "a", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
int a_r{};
BI_GET(0, a_r);
int a_g{};
BI_GET(1, a_g);
int a_b{};
BI_GET(2, a_b);
int a_a = 255;
BI_GET(3, a_a);
return bi_owned(IM_NEW(ImColor)(a_r, a_g, a_b, a_a));
}
static PyObject* biv_ImColor_NewU32(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "rgba", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImU32 a_rgba{};
BI_GET(0, a_rgba);
return bi_owned(IM_NEW(ImColor)(a_rgba));
}
static PyObject* bid_ImColor_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImColor_New, biv_ImColor_NewFloatEx, biv_ImColor_NewVec4, biv_ImColor_NewIntEx, biv_ImColor_NewU32 };
return bi_dispatch(nullptr, args, kw, v, 5);
}
static PyObject* biv_ImColor_SetHSVEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "h", "s", "v", "a", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
ImColor* self_p = (ImColor*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_h{};
BI_GET(0, a_h);
float a_s{};
BI_GET(1, a_s);
float a_v{};
BI_GET(2, a_v);
float a_a = 1.0f;
BI_GET(3, a_a);
self_p->SetHSV(a_h, a_s, a_v, a_a);
Py_RETURN_NONE;
}
static PyObject* bid_ImColor_set_hsv(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImColor_SetHSVEx, self, args, kw);
}
static PyObject* biv_ImColor_HSVEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "h", "s", "v", "a", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
float a_h{};
BI_GET(0, a_h);
float a_s{};
BI_GET(1, a_s);
float a_v{};
BI_GET(2, a_v);
float a_a = 1.0f;
BI_GET(3, a_a);
auto r = ImColor::HSV(a_h, a_s, a_v, a_a);
return bi_result({ bi_copy(r) });
}
static PyObject* bid_ImColor_hsv(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImColor_HSVEx, self, args, kw);
}
static PyObject* biv_ImGuiMultiSelectIO_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiMultiSelectIO)());
}
static PyObject* bid_ImGuiMultiSelectIO_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiMultiSelectIO_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiSelectionRequest_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiSelectionRequest)());
}
static PyObject* bid_ImGuiSelectionRequest_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionRequest_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiSelectionBasicStorage_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiSelectionBasicStorage)());
}
static PyObject* bid_ImGuiSelectionBasicStorage_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionBasicStorage_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiSelectionBasicStorage_ApplyRequests(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "ms_io", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiSelectionBasicStorage* self_p = (ImGuiSelectionBasicStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiMultiSelectIO* a_ms_io = nullptr;
BI_GETP(0, a_ms_io);
self_p->ApplyRequests(a_ms_io);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiSelectionBasicStorage_apply_requests(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionBasicStorage_ApplyRequests, self, args, kw);
}
static PyObject* biv_ImGuiSelectionBasicStorage_Contains(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const ImGuiSelectionBasicStorage* self_p = (const ImGuiSelectionBasicStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_id{};
BI_GET(0, a_id);
auto r = self_p->Contains(a_id);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiSelectionBasicStorage_contains(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionBasicStorage_Contains, self, args, kw);
}
static PyObject* biv_ImGuiSelectionBasicStorage_Clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiSelectionBasicStorage* self_p = (ImGuiSelectionBasicStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiSelectionBasicStorage_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionBasicStorage_Clear, self, args, kw);
}
static PyObject* biv_ImGuiSelectionBasicStorage_Swap(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "r", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiSelectionBasicStorage* self_p = (ImGuiSelectionBasicStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiSelectionBasicStorage* a_r = nullptr;
BI_GETP(0, a_r);
if (a_r == nullptr) { PyErr_SetString(PyExc_TypeError, "r: an object is required"); BI_FAIL; }
self_p->Swap(*a_r);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiSelectionBasicStorage_swap(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionBasicStorage_Swap, self, args, kw);
}
static PyObject* biv_ImGuiSelectionBasicStorage_SetItemSelected(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "id", "selected", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImGuiSelectionBasicStorage* self_p = (ImGuiSelectionBasicStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiID a_id{};
BI_GET(0, a_id);
bool a_selected{};
BI_GET(1, a_selected);
self_p->SetItemSelected(a_id, a_selected);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiSelectionBasicStorage_set_item_selected(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionBasicStorage_SetItemSelected, self, args, kw);
}
static PyObject* biv_ImGuiSelectionBasicStorage_GetStorageIdFromIndex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiSelectionBasicStorage* self_p = (ImGuiSelectionBasicStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_idx{};
BI_GET(0, a_idx);
auto r = self_p->GetStorageIdFromIndex(a_idx);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiSelectionBasicStorage_get_storage_id_from_index(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionBasicStorage_GetStorageIdFromIndex, self, args, kw);
}
static PyObject* biv_ImGuiSelectionExternalStorage_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiSelectionExternalStorage)());
}
static PyObject* bid_ImGuiSelectionExternalStorage_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionExternalStorage_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiSelectionExternalStorage_ApplyRequests(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "ms_io", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImGuiSelectionExternalStorage* self_p = (ImGuiSelectionExternalStorage*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImGuiMultiSelectIO* a_ms_io = nullptr;
BI_GETP(0, a_ms_io);
self_p->ApplyRequests(a_ms_io);
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiSelectionExternalStorage_apply_requests(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiSelectionExternalStorage_ApplyRequests, self, args, kw);
}
static PyObject* biv_ImDrawCmd_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImDrawCmd)());
}
static PyObject* bid_ImDrawCmd_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawCmd_New, nullptr, args, kw);
}
static PyObject* biv_ImDrawCmd_GetTexID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImDrawCmd* self_p = (const ImDrawCmd*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetTexID();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImDrawCmd_get_tex_id(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawCmd_GetTexID, self, args, kw);
}
static PyObject* biv_ImDrawVert_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImDrawVert)());
}
static PyObject* bid_ImDrawVert_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawVert_New, nullptr, args, kw);
}
static PyObject* biv_ImDrawCmdHeader_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImDrawCmdHeader)());
}
static PyObject* bid_ImDrawCmdHeader_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawCmdHeader_New, nullptr, args, kw);
}
static PyObject* biv_ImDrawChannel_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImDrawChannel)());
}
static PyObject* bid_ImDrawChannel_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawChannel_New, nullptr, args, kw);
}
static PyObject* biv_ImDrawListSplitter_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImDrawListSplitter)());
}
static PyObject* bid_ImDrawListSplitter_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawListSplitter_New, nullptr, args, kw);
}
static PyObject* biv_ImDrawListSplitter_Clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawListSplitter* self_p = (ImDrawListSplitter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawListSplitter_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawListSplitter_Clear, self, args, kw);
}
static PyObject* biv_ImDrawListSplitter_ClearFreeMemory(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawListSplitter* self_p = (ImDrawListSplitter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearFreeMemory();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawListSplitter_clear_free_memory(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawListSplitter_ClearFreeMemory, self, args, kw);
}
static PyObject* biv_ImDrawListSplitter_Split(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "draw_list", "count", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImDrawListSplitter* self_p = (ImDrawListSplitter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawList* a_draw_list = nullptr;
BI_GETP(0, a_draw_list);
int a_count{};
BI_GET(1, a_count);
self_p->Split(a_draw_list, a_count);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawListSplitter_split(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawListSplitter_Split, self, args, kw);
}
static PyObject* biv_ImDrawListSplitter_Merge(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "draw_list", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawListSplitter* self_p = (ImDrawListSplitter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawList* a_draw_list = nullptr;
BI_GETP(0, a_draw_list);
self_p->Merge(a_draw_list);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawListSplitter_merge(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawListSplitter_Merge, self, args, kw);
}
static PyObject* biv_ImDrawListSplitter_SetCurrentChannel(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "draw_list", "channel_idx", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImDrawListSplitter* self_p = (ImDrawListSplitter*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawList* a_draw_list = nullptr;
BI_GETP(0, a_draw_list);
int a_channel_idx{};
BI_GET(1, a_channel_idx);
self_p->SetCurrentChannel(a_draw_list, a_channel_idx);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawListSplitter_set_current_channel(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawListSplitter_SetCurrentChannel, self, args, kw);
}
static PyObject* biv_ImDrawList_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "shared_data", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawListSharedData* a_shared_data = nullptr;
BI_GETP(0, a_shared_data);
return bi_owned(IM_NEW(ImDrawList)(a_shared_data));
}
static PyObject* bid_ImDrawList_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_New, nullptr, args, kw);
}
static PyObject* biv_ImDrawList_PushClipRectEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "clip_rect_min", "clip_rect_max", "intersect_with_current_clip_rect", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_clip_rect_min{};
BI_GET(0, a_clip_rect_min);
ImVec2 a_clip_rect_max{};
BI_GET(1, a_clip_rect_max);
bool a_intersect_with_current_clip_rect = false;
BI_GET(2, a_intersect_with_current_clip_rect);
self_p->PushClipRect(a_clip_rect_min, a_clip_rect_max, a_intersect_with_current_clip_rect);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_push_clip_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PushClipRectEx, self, args, kw);
}
static PyObject* biv_ImDrawList_PushClipRectFullScreen(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->PushClipRectFullScreen();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_push_clip_rect_full_screen(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PushClipRectFullScreen, self, args, kw);
}
static PyObject* biv_ImDrawList_PopClipRect(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->PopClipRect();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_pop_clip_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PopClipRect, self, args, kw);
}
static PyObject* biv_ImDrawList_PushTexture(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_ref", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImTextureRef a_tex_ref{};
BI_GET(0, a_tex_ref);
self_p->PushTexture(a_tex_ref);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_push_texture(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PushTexture, self, args, kw);
}
static PyObject* biv_ImDrawList_PopTexture(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->PopTexture();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_pop_texture(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PopTexture, self, args, kw);
}
static PyObject* biv_ImDrawList_PushDrawFlag(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "flags", "enabled", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawFlags a_flags{};
BI_GET(0, a_flags);
bool a_enabled{};
BI_GET(1, a_enabled);
self_p->PushDrawFlag(a_flags, a_enabled);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_push_draw_flag(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PushDrawFlag, self, args, kw);
}
static PyObject* biv_ImDrawList_PopDrawFlag(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->PopDrawFlag();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_pop_draw_flag(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PopDrawFlag, self, args, kw);
}
static PyObject* biv_ImDrawList_GetClipRectMin(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImDrawList* self_p = (const ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetClipRectMin();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImDrawList_get_clip_rect_min(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_GetClipRectMin, self, args, kw);
}
static PyObject* biv_ImDrawList_GetClipRectMax(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImDrawList* self_p = (const ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetClipRectMax();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImDrawList_get_clip_rect_max(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_GetClipRectMax, self, args, kw);
}
static PyObject* biv_ImDrawList_AddLineEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p1", "p2", "col", "thickness", "flags", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p1{};
BI_GET(0, a_p1);
ImVec2 a_p2{};
BI_GET(1, a_p2);
ImU32 a_col{};
BI_GET(2, a_col);
float a_thickness = 1.0f;
BI_GET(3, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(4, a_flags);
self_p->AddLine(a_p1, a_p2, a_col, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_line(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddLineEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddLineHEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "min_x", "max_x", "y", "col", "thickness", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_min_x{};
BI_GET(0, a_min_x);
float a_max_x{};
BI_GET(1, a_max_x);
float a_y{};
BI_GET(2, a_y);
ImU32 a_col{};
BI_GET(3, a_col);
float a_thickness = 1.0f;
BI_GET(4, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(5, a_flags);
self_p->AddLineH(a_min_x, a_max_x, a_y, a_col, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_line_h(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddLineHEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddLineVEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "x", "min_y", "max_y", "col", "thickness", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_x{};
BI_GET(0, a_x);
float a_min_y{};
BI_GET(1, a_min_y);
float a_max_y{};
BI_GET(2, a_max_y);
ImU32 a_col{};
BI_GET(3, a_col);
float a_thickness = 1.0f;
BI_GET(4, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(5, a_flags);
self_p->AddLineV(a_x, a_min_y, a_max_y, a_col, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_line_v(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddLineVEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddRectEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_min", "p_max", "col", "rounding", "thickness", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p_min{};
BI_GET(0, a_p_min);
ImVec2 a_p_max{};
BI_GET(1, a_p_max);
ImU32 a_col{};
BI_GET(2, a_col);
float a_rounding = 0.0f;
BI_GET(3, a_rounding);
float a_thickness = 1.0f;
BI_GET(4, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(5, a_flags);
self_p->AddRect(a_p_min, a_p_max, a_col, a_rounding, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddRectEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddRectFilledEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_min", "p_max", "col", "rounding", "flags", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p_min{};
BI_GET(0, a_p_min);
ImVec2 a_p_max{};
BI_GET(1, a_p_max);
ImU32 a_col{};
BI_GET(2, a_col);
float a_rounding = 0.0f;
BI_GET(3, a_rounding);
ImDrawFlags a_flags = 0;
BI_GET(4, a_flags);
self_p->AddRectFilled(a_p_min, a_p_max, a_col, a_rounding, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_rect_filled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddRectFilledEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddRectFilledMultiColor(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_min", "p_max", "col_upr_left", "col_upr_right", "col_bot_right", "col_bot_left", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 6, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p_min{};
BI_GET(0, a_p_min);
ImVec2 a_p_max{};
BI_GET(1, a_p_max);
ImU32 a_col_upr_left{};
BI_GET(2, a_col_upr_left);
ImU32 a_col_upr_right{};
BI_GET(3, a_col_upr_right);
ImU32 a_col_bot_right{};
BI_GET(4, a_col_bot_right);
ImU32 a_col_bot_left{};
BI_GET(5, a_col_bot_left);
self_p->AddRectFilledMultiColor(a_p_min, a_p_max, a_col_upr_left, a_col_upr_right, a_col_bot_right, a_col_bot_left);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_rect_filled_multi_color(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddRectFilledMultiColor, self, args, kw);
}
static PyObject* biv_ImDrawList_AddQuadEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p1", "p2", "p3", "p4", "col", "thickness", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p1{};
BI_GET(0, a_p1);
ImVec2 a_p2{};
BI_GET(1, a_p2);
ImVec2 a_p3{};
BI_GET(2, a_p3);
ImVec2 a_p4{};
BI_GET(3, a_p4);
ImU32 a_col{};
BI_GET(4, a_col);
float a_thickness = 1.0f;
BI_GET(5, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(6, a_flags);
self_p->AddQuad(a_p1, a_p2, a_p3, a_p4, a_col, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_quad(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddQuadEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddQuadFilled(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p1", "p2", "p3", "p4", "col", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p1{};
BI_GET(0, a_p1);
ImVec2 a_p2{};
BI_GET(1, a_p2);
ImVec2 a_p3{};
BI_GET(2, a_p3);
ImVec2 a_p4{};
BI_GET(3, a_p4);
ImU32 a_col{};
BI_GET(4, a_col);
self_p->AddQuadFilled(a_p1, a_p2, a_p3, a_p4, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_quad_filled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddQuadFilled, self, args, kw);
}
static PyObject* biv_ImDrawList_AddTriangleEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p1", "p2", "p3", "col", "thickness", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p1{};
BI_GET(0, a_p1);
ImVec2 a_p2{};
BI_GET(1, a_p2);
ImVec2 a_p3{};
BI_GET(2, a_p3);
ImU32 a_col{};
BI_GET(3, a_col);
float a_thickness = 1.0f;
BI_GET(4, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(5, a_flags);
self_p->AddTriangle(a_p1, a_p2, a_p3, a_col, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_triangle(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddTriangleEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddTriangleFilled(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p1", "p2", "p3", "col", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 4, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p1{};
BI_GET(0, a_p1);
ImVec2 a_p2{};
BI_GET(1, a_p2);
ImVec2 a_p3{};
BI_GET(2, a_p3);
ImU32 a_col{};
BI_GET(3, a_col);
self_p->AddTriangleFilled(a_p1, a_p2, a_p3, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_triangle_filled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddTriangleFilled, self, args, kw);
}
static PyObject* biv_ImDrawList_AddCircleEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "col", "num_segments", "thickness", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
float a_radius{};
BI_GET(1, a_radius);
ImU32 a_col{};
BI_GET(2, a_col);
int a_num_segments = 0;
BI_GET(3, a_num_segments);
float a_thickness = 1.0f;
BI_GET(4, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(5, a_flags);
self_p->AddCircle(a_center, a_radius, a_col, a_num_segments, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_circle(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddCircleEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddCircleFilledEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "col", "num_segments", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
float a_radius{};
BI_GET(1, a_radius);
ImU32 a_col{};
BI_GET(2, a_col);
int a_num_segments = 0;
BI_GET(3, a_num_segments);
self_p->AddCircleFilled(a_center, a_radius, a_col, a_num_segments);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_circle_filled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddCircleFilledEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddNgonEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "col", "num_segments", "thickness", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 4, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
float a_radius{};
BI_GET(1, a_radius);
ImU32 a_col{};
BI_GET(2, a_col);
int a_num_segments{};
BI_GET(3, a_num_segments);
float a_thickness = 1.0f;
BI_GET(4, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(5, a_flags);
self_p->AddNgon(a_center, a_radius, a_col, a_num_segments, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_ngon(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddNgonEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddNgonFilled(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "col", "num_segments", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 4, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
float a_radius{};
BI_GET(1, a_radius);
ImU32 a_col{};
BI_GET(2, a_col);
int a_num_segments{};
BI_GET(3, a_num_segments);
self_p->AddNgonFilled(a_center, a_radius, a_col, a_num_segments);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_ngon_filled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddNgonFilled, self, args, kw);
}
static PyObject* biv_ImDrawList_AddEllipseEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "col", "rot", "num_segments", "thickness", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
ImVec2 a_radius{};
BI_GET(1, a_radius);
ImU32 a_col{};
BI_GET(2, a_col);
float a_rot = 0.0f;
BI_GET(3, a_rot);
int a_num_segments = 0;
BI_GET(4, a_num_segments);
float a_thickness = 1.0f;
BI_GET(5, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(6, a_flags);
self_p->AddEllipse(a_center, a_radius, a_col, a_rot, a_num_segments, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_ellipse(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddEllipseEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddEllipseFilledEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "col", "rot", "num_segments", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
ImVec2 a_radius{};
BI_GET(1, a_radius);
ImU32 a_col{};
BI_GET(2, a_col);
float a_rot = 0.0f;
BI_GET(3, a_rot);
int a_num_segments = 0;
BI_GET(4, a_num_segments);
self_p->AddEllipseFilled(a_center, a_radius, a_col, a_rot, a_num_segments);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_ellipse_filled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddEllipseFilledEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddTextEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", "col", "text_begin", "text_end", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_pos{};
BI_GET(0, a_pos);
ImU32 a_col{};
BI_GET(1, a_col);
const char* a_text_begin{};
BI_GET(2, a_text_begin);
const char* a_text_end = NULL;
BI_GET(3, a_text_end);
self_p->AddText(a_pos, a_col, a_text_begin, a_text_end);
Py_RETURN_NONE;
}
static PyObject* biv_ImDrawList_AddTextFontPtrEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font", "font_size", "pos", "col", "text_begin", "text_end", "wrap_width", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImFont* a_font = nullptr;
BI_GETP(0, a_font);
float a_font_size{};
BI_GET(1, a_font_size);
ImVec2 a_pos{};
BI_GET(2, a_pos);
ImU32 a_col{};
BI_GET(3, a_col);
const char* a_text_begin{};
BI_GET(4, a_text_begin);
const char* a_text_end = NULL;
BI_GET(5, a_text_end);
float a_wrap_width = 0.0f;
BI_GET(6, a_wrap_width);
const ImVec4* a_cpu_fine_clip_rect = NULL;
self_p->AddText(a_font, a_font_size, a_pos, a_col, a_text_begin, a_text_end, a_wrap_width, a_cpu_fine_clip_rect);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_text(PyObject* self, PyObject* args, PyObject* kw)
{
static const BiVariant v[] = { biv_ImDrawList_AddTextEx, biv_ImDrawList_AddTextFontPtrEx };
return bi_dispatch(self, args, kw, v, 2);
}
static PyObject* bid1_ImDrawList_AddTextFontPtrEx(PyObject* self, PyObject* args, PyObject* kw) { return bi_call1(biv_ImDrawList_AddTextFontPtrEx, self, args, kw); }
static PyObject* biv_ImDrawList_AddBezierCubicEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p1", "p2", "p3", "p4", "col", "thickness", "num_segments", "flags", nullptr };
PyObject* o[8] = {};
if (!bi_parse(args, kw, kwl, 8, 6, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p1{};
BI_GET(0, a_p1);
ImVec2 a_p2{};
BI_GET(1, a_p2);
ImVec2 a_p3{};
BI_GET(2, a_p3);
ImVec2 a_p4{};
BI_GET(3, a_p4);
ImU32 a_col{};
BI_GET(4, a_col);
float a_thickness{};
BI_GET(5, a_thickness);
int a_num_segments = 0;
BI_GET(6, a_num_segments);
ImDrawFlags a_flags = 0;
BI_GET(7, a_flags);
self_p->AddBezierCubic(a_p1, a_p2, a_p3, a_p4, a_col, a_thickness, a_num_segments, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_bezier_cubic(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddBezierCubicEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddBezierQuadraticEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p1", "p2", "p3", "col", "thickness", "num_segments", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p1{};
BI_GET(0, a_p1);
ImVec2 a_p2{};
BI_GET(1, a_p2);
ImVec2 a_p3{};
BI_GET(2, a_p3);
ImU32 a_col{};
BI_GET(3, a_col);
float a_thickness{};
BI_GET(4, a_thickness);
int a_num_segments = 0;
BI_GET(5, a_num_segments);
ImDrawFlags a_flags = 0;
BI_GET(6, a_flags);
self_p->AddBezierQuadratic(a_p1, a_p2, a_p3, a_col, a_thickness, a_num_segments, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_bezier_quadratic(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddBezierQuadraticEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddPolylineEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "points", "col", "thickness", "flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
BiSeq<ImVec2> a_points;
BI_GET(0, a_points);
ImU32 a_col{};
BI_GET(1, a_col);
float a_thickness{};
BI_GET(2, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(3, a_flags);
self_p->AddPolyline(a_points.data(), (int)a_points.size(), a_col, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_polyline(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddPolylineEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddConvexPolyFilledEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "points", "col", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
BiSeq<ImVec2> a_points;
BI_GET(0, a_points);
ImU32 a_col{};
BI_GET(1, a_col);
ImDrawFlags a_flags = 0;
BI_GET(2, a_flags);
self_p->AddConvexPolyFilled(a_points.data(), (int)a_points.size(), a_col, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_convex_poly_filled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddConvexPolyFilledEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddConcavePolyFilled(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "points", "col", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
BiSeq<ImVec2> a_points;
BI_GET(0, a_points);
ImU32 a_col{};
BI_GET(1, a_col);
self_p->AddConcavePolyFilled(a_points.data(), (int)a_points.size(), a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_concave_poly_filled(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddConcavePolyFilled, self, args, kw);
}
static PyObject* biv_ImDrawList_AddImageEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_ref", "p_min", "p_max", "uv_min", "uv_max", "col", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImTextureRef a_tex_ref{};
BI_GET(0, a_tex_ref);
ImVec2 a_p_min{};
BI_GET(1, a_p_min);
ImVec2 a_p_max{};
BI_GET(2, a_p_max);
ImVec2 a_uv_min = ImVec2(0, 0);
BI_GET(3, a_uv_min);
ImVec2 a_uv_max = ImVec2(1, 1);
BI_GET(4, a_uv_max);
ImU32 a_col = IM_COL32_WHITE;
BI_GET(5, a_col);
self_p->AddImage(a_tex_ref, a_p_min, a_p_max, a_uv_min, a_uv_max, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_image(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddImageEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddImageQuadEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_ref", "p1", "p2", "p3", "p4", "uv1", "uv2", "uv3", "uv4", "col", nullptr };
PyObject* o[10] = {};
if (!bi_parse(args, kw, kwl, 10, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImTextureRef a_tex_ref{};
BI_GET(0, a_tex_ref);
ImVec2 a_p1{};
BI_GET(1, a_p1);
ImVec2 a_p2{};
BI_GET(2, a_p2);
ImVec2 a_p3{};
BI_GET(3, a_p3);
ImVec2 a_p4{};
BI_GET(4, a_p4);
ImVec2 a_uv1 = ImVec2(0, 0);
BI_GET(5, a_uv1);
ImVec2 a_uv2 = ImVec2(1, 0);
BI_GET(6, a_uv2);
ImVec2 a_uv3 = ImVec2(1, 1);
BI_GET(7, a_uv3);
ImVec2 a_uv4 = ImVec2(0, 1);
BI_GET(8, a_uv4);
ImU32 a_col = IM_COL32_WHITE;
BI_GET(9, a_col);
self_p->AddImageQuad(a_tex_ref, a_p1, a_p2, a_p3, a_p4, a_uv1, a_uv2, a_uv3, a_uv4, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_image_quad(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddImageQuadEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddImageRoundedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_ref", "p_min", "p_max", "uv_min", "uv_max", "col", "rounding", "flags", nullptr };
PyObject* o[8] = {};
if (!bi_parse(args, kw, kwl, 8, 7, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImTextureRef a_tex_ref{};
BI_GET(0, a_tex_ref);
ImVec2 a_p_min{};
BI_GET(1, a_p_min);
ImVec2 a_p_max{};
BI_GET(2, a_p_max);
ImVec2 a_uv_min{};
BI_GET(3, a_uv_min);
ImVec2 a_uv_max{};
BI_GET(4, a_uv_max);
ImU32 a_col{};
BI_GET(5, a_col);
float a_rounding{};
BI_GET(6, a_rounding);
ImDrawFlags a_flags = 0;
BI_GET(7, a_flags);
self_p->AddImageRounded(a_tex_ref, a_p_min, a_p_max, a_uv_min, a_uv_max, a_col, a_rounding, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_image_rounded(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddImageRoundedEx, self, args, kw);
}
static PyObject* biv_ImDrawList_PathClear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->PathClear();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathClear, self, args, kw);
}
static PyObject* biv_ImDrawList_PathLineTo(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_pos{};
BI_GET(0, a_pos);
self_p->PathLineTo(a_pos);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_line_to(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathLineTo, self, args, kw);
}
static PyObject* biv_ImDrawList_PathLineToMergeDuplicate(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_pos{};
BI_GET(0, a_pos);
self_p->PathLineToMergeDuplicate(a_pos);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_line_to_merge_duplicate(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathLineToMergeDuplicate, self, args, kw);
}
static PyObject* biv_ImDrawList_PathFillConvexEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "col", "flags", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImU32 a_col{};
BI_GET(0, a_col);
ImDrawFlags a_flags = 0;
BI_GET(1, a_flags);
self_p->PathFillConvex(a_col, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_fill_convex(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathFillConvexEx, self, args, kw);
}
static PyObject* biv_ImDrawList_PathFillConcave(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "col", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImU32 a_col{};
BI_GET(0, a_col);
self_p->PathFillConcave(a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_fill_concave(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathFillConcave, self, args, kw);
}
static PyObject* biv_ImDrawList_PathStrokeEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "col", "thickness", "flags", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImU32 a_col{};
BI_GET(0, a_col);
float a_thickness = 1.0f;
BI_GET(1, a_thickness);
ImDrawFlags a_flags = 0;
BI_GET(2, a_flags);
self_p->PathStroke(a_col, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_stroke(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathStrokeEx, self, args, kw);
}
static PyObject* biv_ImDrawList_PathArcToEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "a_min", "a_max", "num_segments", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 4, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
float a_radius{};
BI_GET(1, a_radius);
float a_a_min{};
BI_GET(2, a_a_min);
float a_a_max{};
BI_GET(3, a_a_max);
int a_num_segments = 0;
BI_GET(4, a_num_segments);
self_p->PathArcTo(a_center, a_radius, a_a_min, a_a_max, a_num_segments);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_arc_to(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathArcToEx, self, args, kw);
}
static PyObject* biv_ImDrawList_PathArcToFast(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "a_min_of_12", "a_max_of_12", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 4, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
float a_radius{};
BI_GET(1, a_radius);
int a_a_min_of_12{};
BI_GET(2, a_a_min_of_12);
int a_a_max_of_12{};
BI_GET(3, a_a_max_of_12);
self_p->PathArcToFast(a_center, a_radius, a_a_min_of_12, a_a_max_of_12);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_arc_to_fast(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathArcToFast, self, args, kw);
}
static PyObject* biv_ImDrawList_PathEllipticalArcToEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "rot", "a_min", "a_max", "num_segments", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
ImVec2 a_radius{};
BI_GET(1, a_radius);
float a_rot{};
BI_GET(2, a_rot);
float a_a_min{};
BI_GET(3, a_a_min);
float a_a_max{};
BI_GET(4, a_a_max);
int a_num_segments = 0;
BI_GET(5, a_num_segments);
self_p->PathEllipticalArcTo(a_center, a_radius, a_rot, a_a_min, a_a_max, a_num_segments);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_elliptical_arc_to(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathEllipticalArcToEx, self, args, kw);
}
static PyObject* biv_ImDrawList_PathBezierCubicCurveToEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p2", "p3", "p4", "num_segments", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p2{};
BI_GET(0, a_p2);
ImVec2 a_p3{};
BI_GET(1, a_p3);
ImVec2 a_p4{};
BI_GET(2, a_p4);
int a_num_segments = 0;
BI_GET(3, a_num_segments);
self_p->PathBezierCubicCurveTo(a_p2, a_p3, a_p4, a_num_segments);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_bezier_cubic_curve_to(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathBezierCubicCurveToEx, self, args, kw);
}
static PyObject* biv_ImDrawList_PathBezierQuadraticCurveToEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p2", "p3", "num_segments", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p2{};
BI_GET(0, a_p2);
ImVec2 a_p3{};
BI_GET(1, a_p3);
int a_num_segments = 0;
BI_GET(2, a_num_segments);
self_p->PathBezierQuadraticCurveTo(a_p2, a_p3, a_num_segments);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_bezier_quadratic_curve_to(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathBezierQuadraticCurveToEx, self, args, kw);
}
static PyObject* biv_ImDrawList_PathRectEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "rect_min", "rect_max", "rounding", "flags", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 2, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_rect_min{};
BI_GET(0, a_rect_min);
ImVec2 a_rect_max{};
BI_GET(1, a_rect_max);
float a_rounding = 0.0f;
BI_GET(2, a_rounding);
ImDrawFlags a_flags = 0;
BI_GET(3, a_flags);
self_p->PathRect(a_rect_min, a_rect_max, a_rounding, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_path_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PathRectEx, self, args, kw);
}
static PyObject* biv_ImDrawList_AddDrawCmd(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->AddDrawCmd();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_add_draw_cmd(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_AddDrawCmd, self, args, kw);
}
static PyObject* biv_ImDrawList_CloneOutput(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImDrawList* self_p = (const ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->CloneOutput();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImDrawList_clone_output(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_CloneOutput, self, args, kw);
}
static PyObject* biv_ImDrawList_ChannelsSplit(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "count", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_count{};
BI_GET(0, a_count);
self_p->ChannelsSplit(a_count);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_channels_split(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_ChannelsSplit, self, args, kw);
}
static PyObject* biv_ImDrawList_ChannelsMerge(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ChannelsMerge();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_channels_merge(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_ChannelsMerge, self, args, kw);
}
static PyObject* biv_ImDrawList_ChannelsSetCurrent(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "n", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_n{};
BI_GET(0, a_n);
self_p->ChannelsSetCurrent(a_n);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_channels_set_current(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_ChannelsSetCurrent, self, args, kw);
}
static PyObject* biv_ImDrawList_PrimReserve(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx_count", "vtx_count", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_idx_count{};
BI_GET(0, a_idx_count);
int a_vtx_count{};
BI_GET(1, a_vtx_count);
self_p->PrimReserve(a_idx_count, a_vtx_count);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_prim_reserve(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PrimReserve, self, args, kw);
}
static PyObject* biv_ImDrawList_PrimUnreserve(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx_count", "vtx_count", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_idx_count{};
BI_GET(0, a_idx_count);
int a_vtx_count{};
BI_GET(1, a_vtx_count);
self_p->PrimUnreserve(a_idx_count, a_vtx_count);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_prim_unreserve(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PrimUnreserve, self, args, kw);
}
static PyObject* biv_ImDrawList_PrimRect(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "a", "b", "col", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_a{};
BI_GET(0, a_a);
ImVec2 a_b{};
BI_GET(1, a_b);
ImU32 a_col{};
BI_GET(2, a_col);
self_p->PrimRect(a_a, a_b, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_prim_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PrimRect, self, args, kw);
}
static PyObject* biv_ImDrawList_PrimRectUV(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "a", "b", "uv_a", "uv_b", "col", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_a{};
BI_GET(0, a_a);
ImVec2 a_b{};
BI_GET(1, a_b);
ImVec2 a_uv_a{};
BI_GET(2, a_uv_a);
ImVec2 a_uv_b{};
BI_GET(3, a_uv_b);
ImU32 a_col{};
BI_GET(4, a_col);
self_p->PrimRectUV(a_a, a_b, a_uv_a, a_uv_b, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_prim_rect_uv(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PrimRectUV, self, args, kw);
}
static PyObject* biv_ImDrawList_PrimQuadUV(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "a", "b", "c", "d", "uv_a", "uv_b", "uv_c", "uv_d", "col", nullptr };
PyObject* o[9] = {};
if (!bi_parse(args, kw, kwl, 9, 9, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_a{};
BI_GET(0, a_a);
ImVec2 a_b{};
BI_GET(1, a_b);
ImVec2 a_c{};
BI_GET(2, a_c);
ImVec2 a_d{};
BI_GET(3, a_d);
ImVec2 a_uv_a{};
BI_GET(4, a_uv_a);
ImVec2 a_uv_b{};
BI_GET(5, a_uv_b);
ImVec2 a_uv_c{};
BI_GET(6, a_uv_c);
ImVec2 a_uv_d{};
BI_GET(7, a_uv_d);
ImU32 a_col{};
BI_GET(8, a_col);
self_p->PrimQuadUV(a_a, a_b, a_c, a_d, a_uv_a, a_uv_b, a_uv_c, a_uv_d, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_prim_quad_uv(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PrimQuadUV, self, args, kw);
}
static PyObject* biv_ImDrawList_PrimWriteVtx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", "uv", "col", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_pos{};
BI_GET(0, a_pos);
ImVec2 a_uv{};
BI_GET(1, a_uv);
ImU32 a_col{};
BI_GET(2, a_col);
self_p->PrimWriteVtx(a_pos, a_uv, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_prim_write_vtx(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PrimWriteVtx, self, args, kw);
}
static PyObject* biv_ImDrawList_PrimWriteIdx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "idx", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawIdx a_idx{};
BI_GET(0, a_idx);
self_p->PrimWriteIdx(a_idx);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_prim_write_idx(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PrimWriteIdx, self, args, kw);
}
static PyObject* biv_ImDrawList_PrimVtx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pos", "uv", "col", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_pos{};
BI_GET(0, a_pos);
ImVec2 a_uv{};
BI_GET(1, a_uv);
ImU32 a_col{};
BI_GET(2, a_col);
self_p->PrimVtx(a_pos, a_uv, a_col);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList_prim_vtx(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList_PrimVtx, self, args, kw);
}
static PyObject* biv_ImDrawList__SetDrawListSharedData(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "data", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawListSharedData* a_data = nullptr;
BI_GETP(0, a_data);
self_p->_SetDrawListSharedData(a_data);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__set_draw_list_shared_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__SetDrawListSharedData, self, args, kw);
}
static PyObject* biv_ImDrawList__ResetForNewFrame(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->_ResetForNewFrame();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__reset_for_new_frame(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__ResetForNewFrame, self, args, kw);
}
static PyObject* biv_ImDrawList__SetPixelDensity(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "pixel_density", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_pixel_density{};
BI_GET(0, a_pixel_density);
self_p->_SetPixelDensity(a_pixel_density);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__set_pixel_density(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__SetPixelDensity, self, args, kw);
}
static PyObject* biv_ImDrawList__ClearFreeMemory(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->_ClearFreeMemory();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__clear_free_memory(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__ClearFreeMemory, self, args, kw);
}
static PyObject* biv_ImDrawList__PopUnusedDrawCmd(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->_PopUnusedDrawCmd();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__pop_unused_draw_cmd(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__PopUnusedDrawCmd, self, args, kw);
}
static PyObject* biv_ImDrawList__TryMergeDrawCmds(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->_TryMergeDrawCmds();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__try_merge_draw_cmds(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__TryMergeDrawCmds, self, args, kw);
}
static PyObject* biv_ImDrawList__OnChangedClipRect(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->_OnChangedClipRect();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__on_changed_clip_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__OnChangedClipRect, self, args, kw);
}
static PyObject* biv_ImDrawList__OnChangedTexture(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->_OnChangedTexture();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__on_changed_texture(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__OnChangedTexture, self, args, kw);
}
static PyObject* biv_ImDrawList__OnChangedVtxOffset(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->_OnChangedVtxOffset();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__on_changed_vtx_offset(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__OnChangedVtxOffset, self, args, kw);
}
static PyObject* biv_ImDrawList__SetTexture(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_ref", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImTextureRef a_tex_ref{};
BI_GET(0, a_tex_ref);
self_p->_SetTexture(a_tex_ref);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__set_texture(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__SetTexture, self, args, kw);
}
static PyObject* biv_ImDrawList__CalcCircleAutoSegmentCount(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "radius", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const ImDrawList* self_p = (const ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_radius{};
BI_GET(0, a_radius);
auto r = self_p->_CalcCircleAutoSegmentCount(a_radius);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImDrawList__calc_circle_auto_segment_count(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__CalcCircleAutoSegmentCount, self, args, kw);
}
static PyObject* biv_ImDrawList__PathArcToFastEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "a_min_sample", "a_max_sample", "a_step", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
float a_radius{};
BI_GET(1, a_radius);
int a_a_min_sample{};
BI_GET(2, a_a_min_sample);
int a_a_max_sample{};
BI_GET(3, a_a_max_sample);
int a_a_step{};
BI_GET(4, a_a_step);
self_p->_PathArcToFastEx(a_center, a_radius, a_a_min_sample, a_a_max_sample, a_a_step);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__path_arc_to_fast_ex(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__PathArcToFastEx, self, args, kw);
}
static PyObject* biv_ImDrawList__PathArcToN(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "center", "radius", "a_min", "a_max", "num_segments", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_center{};
BI_GET(0, a_center);
float a_radius{};
BI_GET(1, a_radius);
float a_a_min{};
BI_GET(2, a_a_min);
float a_a_max{};
BI_GET(3, a_a_max);
int a_num_segments{};
BI_GET(4, a_num_segments);
self_p->_PathArcToN(a_center, a_radius, a_a_min, a_a_max, a_num_segments);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__path_arc_to_n(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__PathArcToN, self, args, kw);
}
static PyObject* biv_ImDrawList__AddRectFilledBaked(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_min", "p_max", "col", "r", "tex_uvs", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 6, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p_min{};
BI_GET(0, a_p_min);
ImVec2 a_p_max{};
BI_GET(1, a_p_max);
ImU32 a_col{};
BI_GET(2, a_col);
float a_r{};
BI_GET(3, a_r);
ImVec4 a_tex_uvs{};
BI_GET(4, a_tex_uvs);
ImDrawFlags a_flags{};
BI_GET(5, a_flags);
self_p->_AddRectFilledBaked(a_p_min, a_p_max, a_col, a_r, a_tex_uvs, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__add_rect_filled_baked(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__AddRectFilledBaked, self, args, kw);
}
static PyObject* biv_ImDrawList__AddRectBaked(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_min", "p_max", "col", "r", "t", "tex_uvs", "flags", nullptr };
PyObject* o[7] = {};
if (!bi_parse(args, kw, kwl, 7, 7, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p_min{};
BI_GET(0, a_p_min);
ImVec2 a_p_max{};
BI_GET(1, a_p_max);
ImU32 a_col{};
BI_GET(2, a_col);
float a_r{};
BI_GET(3, a_r);
float a_t{};
BI_GET(4, a_t);
ImVec4 a_tex_uvs{};
BI_GET(5, a_tex_uvs);
ImDrawFlags a_flags{};
BI_GET(6, a_flags);
self_p->_AddRectBaked(a_p_min, a_p_max, a_col, a_r, a_t, a_tex_uvs, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__add_rect_baked(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__AddRectBaked, self, args, kw);
}
static PyObject* biv_ImDrawList__AddLine(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p1", "p2", "col", "thickness", "flags", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p1{};
BI_GET(0, a_p1);
ImVec2 a_p2{};
BI_GET(1, a_p2);
ImU32 a_col{};
BI_GET(2, a_col);
float a_thickness{};
BI_GET(3, a_thickness);
ImDrawFlags a_flags{};
BI_GET(4, a_flags);
self_p->_AddLine(a_p1, a_p2, a_col, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__add_line(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__AddLine, self, args, kw);
}
static PyObject* biv_ImDrawList__AddRectTinyRounding(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "p_min", "p_max", "col", "rounding", "thickness", "flags", nullptr };
PyObject* o[6] = {};
if (!bi_parse(args, kw, kwl, 6, 6, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_p_min{};
BI_GET(0, a_p_min);
ImVec2 a_p_max{};
BI_GET(1, a_p_max);
ImU32 a_col{};
BI_GET(2, a_col);
float a_rounding{};
BI_GET(3, a_rounding);
float a_thickness{};
BI_GET(4, a_thickness);
ImDrawFlags a_flags{};
BI_GET(5, a_flags);
self_p->_AddRectTinyRounding(a_p_min, a_p_max, a_col, a_rounding, a_thickness, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__add_rect_tiny_rounding(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__AddRectTinyRounding, self, args, kw);
}
static PyObject* biv_ImDrawList__SelectLineTexture(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "screen_thickness", "out_uv0", "out_uv1", "out_fringe", "flags", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_screen_thickness{};
BI_GET(0, a_screen_thickness);
ImVec2 a_out_uv0_v{}; ImVec2* a_out_uv0 = nullptr;
if (o[1] && o[1] != Py_None) { if (!bi_from(o[1], a_out_uv0_v)) BI_FAIL; a_out_uv0 = &a_out_uv0_v; }
ImVec2 a_out_uv1_v{}; ImVec2* a_out_uv1 = nullptr;
if (o[2] && o[2] != Py_None) { if (!bi_from(o[2], a_out_uv1_v)) BI_FAIL; a_out_uv1 = &a_out_uv1_v; }
float a_out_fringe_v{}; float* a_out_fringe = nullptr;
if (o[3] && o[3] != Py_None) { if (!bi_from(o[3], a_out_fringe_v)) BI_FAIL; a_out_fringe = &a_out_fringe_v; }
ImDrawFlags a_flags{};
BI_GET(4, a_flags);
self_p->_SelectLineTexture(a_screen_thickness, a_out_uv0, a_out_uv1, a_out_fringe, a_flags);
return bi_result({ bi_opt(a_out_uv0), bi_opt(a_out_uv1), bi_opt(a_out_fringe) });
}
static PyObject* bid_ImDrawList__select_line_texture(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__SelectLineTexture, self, args, kw);
}
static PyObject* biv_ImDrawList__CalculateCenterBiasedOffset(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "thickness", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_thickness{};
BI_GET(0, a_thickness);
auto r = self_p->_CalculateCenterBiasedOffset(a_thickness);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImDrawList__calculate_center_biased_offset(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__CalculateCenterBiasedOffset, self, args, kw);
}
static PyObject* biv_ImDrawList__AddPolyline(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "points", "col", "thickness", "flags", "max_inner_offset", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 5, o, argfail)) return nullptr;
ImDrawList* self_p = (ImDrawList*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
BiSeq<ImVec2> a_points;
BI_GET(0, a_points);
ImU32 a_col{};
BI_GET(1, a_col);
float a_thickness{};
BI_GET(2, a_thickness);
ImDrawFlags a_flags{};
BI_GET(3, a_flags);
float a_max_inner_offset{};
BI_GET(4, a_max_inner_offset);
self_p->_AddPolyline(a_points.data(), (int)a_points.size(), a_col, a_thickness, a_flags, a_max_inner_offset);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawList__add_polyline(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawList__AddPolyline, self, args, kw);
}
static PyObject* biv_ImDrawData_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImDrawData)());
}
static PyObject* bid_ImDrawData_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawData_New, nullptr, args, kw);
}
static PyObject* biv_ImDrawData_Clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawData* self_p = (ImDrawData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawData_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawData_Clear, self, args, kw);
}
static PyObject* biv_ImDrawData_AddDrawList(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "draw_list", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawData* self_p = (ImDrawData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawList* a_draw_list = nullptr;
BI_GETP(0, a_draw_list);
self_p->AddDrawList(a_draw_list);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawData_add_draw_list(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawData_AddDrawList, self, args, kw);
}
static PyObject* biv_ImDrawData_DeIndexAllBuffers(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImDrawData* self_p = (ImDrawData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->DeIndexAllBuffers();
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawData_de_index_all_buffers(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawData_DeIndexAllBuffers, self, args, kw);
}
static PyObject* biv_ImDrawData_ScaleClipRects(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "fb_scale", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImDrawData* self_p = (ImDrawData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImVec2 a_fb_scale{};
BI_GET(0, a_fb_scale);
self_p->ScaleClipRects(a_fb_scale);
Py_RETURN_NONE;
}
static PyObject* bid_ImDrawData_scale_clip_rects(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImDrawData_ScaleClipRects, self, args, kw);
}
static PyObject* biv_ImTextureRect_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImTextureRect)());
}
static PyObject* bid_ImTextureRect_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureRect_New, nullptr, args, kw);
}
static PyObject* biv_ImTextureData_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImTextureData)());
}
static PyObject* bid_ImTextureData_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_New, nullptr, args, kw);
}
static PyObject* biv_ImTextureData_Create(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "format", "w", "h", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
ImTextureData* self_p = (ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImTextureFormat a_format{};
BI_GET(0, a_format);
int a_w{};
BI_GET(1, a_w);
int a_h{};
BI_GET(2, a_h);
self_p->Create(a_format, a_w, a_h);
Py_RETURN_NONE;
}
static PyObject* bid_ImTextureData_create(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_Create, self, args, kw);
}
static PyObject* biv_ImTextureData_DestroyPixels(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImTextureData* self_p = (ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->DestroyPixels();
Py_RETURN_NONE;
}
static PyObject* bid_ImTextureData_destroy_pixels(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_DestroyPixels, self, args, kw);
}
static PyObject* biv_ImTextureData_GetPixels(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImTextureData* self_p = (ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetPixels();
return bi_result({ bi_voidptr((const void*)r) });
}
static PyObject* bid_ImTextureData_get_pixels(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_GetPixels, self, args, kw);
}
static PyObject* biv_ImTextureData_GetPixelsAt(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "x", "y", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImTextureData* self_p = (ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_x{};
BI_GET(0, a_x);
int a_y{};
BI_GET(1, a_y);
auto r = self_p->GetPixelsAt(a_x, a_y);
return bi_result({ bi_voidptr((const void*)r) });
}
static PyObject* bid_ImTextureData_get_pixels_at(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_GetPixelsAt, self, args, kw);
}
static PyObject* biv_ImTextureData_GetSizeInBytes(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImTextureData* self_p = (const ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetSizeInBytes();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImTextureData_get_size_in_bytes(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_GetSizeInBytes, self, args, kw);
}
static PyObject* biv_ImTextureData_GetPitch(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImTextureData* self_p = (const ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetPitch();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImTextureData_get_pitch(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_GetPitch, self, args, kw);
}
static PyObject* biv_ImTextureData_GetTexRef(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImTextureData* self_p = (ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetTexRef();
return bi_result({ bi_copy(r) });
}
static PyObject* bid_ImTextureData_get_tex_ref(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_GetTexRef, self, args, kw);
}
static PyObject* biv_ImTextureData_GetTexID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImTextureData* self_p = (const ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetTexID();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImTextureData_get_tex_id(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_GetTexID, self, args, kw);
}
static PyObject* biv_ImTextureData_SetTexID(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "tex_id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImTextureData* self_p = (ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImTextureID a_tex_id{};
BI_GET(0, a_tex_id);
self_p->SetTexID(a_tex_id);
Py_RETURN_NONE;
}
static PyObject* bid_ImTextureData_set_tex_id(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_SetTexID, self, args, kw);
}
static PyObject* biv_ImTextureData_SetStatus(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "status", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImTextureData* self_p = (ImTextureData*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImTextureStatus a_status{};
BI_GET(0, a_status);
self_p->SetStatus(a_status);
Py_RETURN_NONE;
}
static PyObject* bid_ImTextureData_set_status(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImTextureData_SetStatus, self, args, kw);
}
static PyObject* biv_ImFontConfig_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImFontConfig)());
}
static PyObject* bid_ImFontConfig_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontConfig_New, nullptr, args, kw);
}
static PyObject* biv_ImFontGlyph_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImFontGlyph)());
}
static PyObject* bid_ImFontGlyph_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontGlyph_New, nullptr, args, kw);
}
static PyObject* biv_ImFontGlyphRangesBuilder_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImFontGlyphRangesBuilder)());
}
static PyObject* bid_ImFontGlyphRangesBuilder_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontGlyphRangesBuilder_New, nullptr, args, kw);
}
static PyObject* biv_ImFontGlyphRangesBuilder_Clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFontGlyphRangesBuilder* self_p = (ImFontGlyphRangesBuilder*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImFontGlyphRangesBuilder_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontGlyphRangesBuilder_Clear, self, args, kw);
}
static PyObject* biv_ImFontGlyphRangesBuilder_GetBit(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "n", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
const ImFontGlyphRangesBuilder* self_p = (const ImFontGlyphRangesBuilder*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
size_t a_n{};
BI_GET(0, a_n);
auto r = self_p->GetBit(a_n);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFontGlyphRangesBuilder_get_bit(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontGlyphRangesBuilder_GetBit, self, args, kw);
}
static PyObject* biv_ImFontGlyphRangesBuilder_SetBit(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "n", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontGlyphRangesBuilder* self_p = (ImFontGlyphRangesBuilder*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
size_t a_n{};
BI_GET(0, a_n);
self_p->SetBit(a_n);
Py_RETURN_NONE;
}
static PyObject* bid_ImFontGlyphRangesBuilder_set_bit(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontGlyphRangesBuilder_SetBit, self, args, kw);
}
static PyObject* biv_ImFontGlyphRangesBuilder_AddChar(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontGlyphRangesBuilder* self_p = (ImFontGlyphRangesBuilder*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar a_c{};
BI_GET(0, a_c);
self_p->AddChar(a_c);
Py_RETURN_NONE;
}
static PyObject* bid_ImFontGlyphRangesBuilder_add_char(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontGlyphRangesBuilder_AddChar, self, args, kw);
}
static PyObject* biv_ImFontGlyphRangesBuilder_AddTextEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "text", "text_end", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImFontGlyphRangesBuilder* self_p = (ImFontGlyphRangesBuilder*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_text{};
BI_GET(0, a_text);
const char* a_text_end = NULL;
BI_GET(1, a_text_end);
self_p->AddText(a_text, a_text_end);
Py_RETURN_NONE;
}
static PyObject* bid_ImFontGlyphRangesBuilder_add_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontGlyphRangesBuilder_AddTextEx, self, args, kw);
}
static PyObject* biv_ImFontAtlasRect_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImFontAtlasRect)());
}
static PyObject* bid_ImFontAtlasRect_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlasRect_New, nullptr, args, kw);
}
static PyObject* biv_ImFontAtlas_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImFontAtlas)());
}
static PyObject* bid_ImFontAtlas_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_New, nullptr, args, kw);
}
static PyObject* biv_ImFontAtlas_AddFont(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font_cfg", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const ImFontConfig* a_font_cfg = nullptr;
BI_GETP(0, a_font_cfg);
auto r = self_p->AddFont(a_font_cfg);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontAtlas_add_font(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_AddFont, self, args, kw);
}
static PyObject* biv_ImFontAtlas_AddFontDefaultEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font_cfg", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const ImFontConfig* a_font_cfg = NULL;
BI_GETP(0, a_font_cfg);
auto r = self_p->AddFontDefault(a_font_cfg);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontAtlas_add_font_default(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_AddFontDefaultEx, self, args, kw);
}
static PyObject* biv_ImFontAtlas_AddFontDefaultVectorEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font_cfg", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const ImFontConfig* a_font_cfg = NULL;
BI_GETP(0, a_font_cfg);
auto r = self_p->AddFontDefaultVector(a_font_cfg);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontAtlas_add_font_default_vector(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_AddFontDefaultVectorEx, self, args, kw);
}
static PyObject* biv_ImFontAtlas_AddFontDefaultBitmapEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font_cfg", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 0, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const ImFontConfig* a_font_cfg = NULL;
BI_GETP(0, a_font_cfg);
auto r = self_p->AddFontDefaultBitmap(a_font_cfg);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontAtlas_add_font_default_bitmap(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_AddFontDefaultBitmapEx, self, args, kw);
}
static PyObject* biv_ImFontAtlas_AddFontFromFileTTFEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "filename", "size_pixels", "font_cfg", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_filename{};
BI_GET(0, a_filename);
float a_size_pixels = 0.0f;
BI_GET(1, a_size_pixels);
const ImFontConfig* a_font_cfg = NULL;
BI_GETP(2, a_font_cfg);
const ImWchar* a_glyph_ranges = NULL;
auto r = self_p->AddFontFromFileTTF(a_filename, a_size_pixels, a_font_cfg, a_glyph_ranges);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontAtlas_add_font_from_file_ttf(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_AddFontFromFileTTFEx, self, args, kw);
}
static PyObject* biv_ImFontAtlas_AddFontFromMemoryCompressedBase85TTFEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "compressed_font_data_base85", "size_pixels", "font_cfg", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 1, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const char* a_compressed_font_data_base85{};
BI_GET(0, a_compressed_font_data_base85);
float a_size_pixels = 0.0f;
BI_GET(1, a_size_pixels);
const ImFontConfig* a_font_cfg = NULL;
BI_GETP(2, a_font_cfg);
const ImWchar* a_glyph_ranges = NULL;
auto r = self_p->AddFontFromMemoryCompressedBase85TTF(a_compressed_font_data_base85, a_size_pixels, a_font_cfg, a_glyph_ranges);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontAtlas_add_font_from_memory_compressed_base85_ttf(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_AddFontFromMemoryCompressedBase85TTFEx, self, args, kw);
}
static PyObject* biv_ImFontAtlas_RemoveFont(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImFont* a_font = nullptr;
BI_GETP(0, a_font);
self_p->RemoveFont(a_font);
Py_RETURN_NONE;
}
static PyObject* bid_ImFontAtlas_remove_font(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_RemoveFont, self, args, kw);
}
static PyObject* biv_ImFontAtlas_CompactCache(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->CompactCache();
Py_RETURN_NONE;
}
static PyObject* bid_ImFontAtlas_compact_cache(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_CompactCache, self, args, kw);
}
static PyObject* biv_ImFontAtlas_SetFontLoader(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font_loader", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
const ImFontLoader* a_font_loader = nullptr;
BI_GETP(0, a_font_loader);
self_p->SetFontLoader(a_font_loader);
Py_RETURN_NONE;
}
static PyObject* bid_ImFontAtlas_set_font_loader(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_SetFontLoader, self, args, kw);
}
static PyObject* biv_ImFontAtlas_Clear(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->Clear();
Py_RETURN_NONE;
}
static PyObject* bid_ImFontAtlas_clear(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_Clear, self, args, kw);
}
static PyObject* biv_ImFontAtlas_ClearFonts(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearFonts();
Py_RETURN_NONE;
}
static PyObject* bid_ImFontAtlas_clear_fonts(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_ClearFonts, self, args, kw);
}
static PyObject* biv_ImFontAtlas_ClearInputData(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearInputData();
Py_RETURN_NONE;
}
static PyObject* bid_ImFontAtlas_clear_input_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_ClearInputData, self, args, kw);
}
static PyObject* biv_ImFontAtlas_ClearTexData(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearTexData();
Py_RETURN_NONE;
}
static PyObject* bid_ImFontAtlas_clear_tex_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_ClearTexData, self, args, kw);
}
static PyObject* biv_ImFontAtlas_GetGlyphRangesDefault(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetGlyphRangesDefault();
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontAtlas_get_glyph_ranges_default(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_GetGlyphRangesDefault, self, args, kw);
}
static PyObject* biv_ImFontAtlas_AddCustomRectEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "width", "height", "out_r", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 2, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
int a_width{};
BI_GET(0, a_width);
int a_height{};
BI_GET(1, a_height);
ImFontAtlasRect* a_out_r = NULL;
BI_GETP(2, a_out_r);
auto r = self_p->AddCustomRect(a_width, a_height, a_out_r);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFontAtlas_add_custom_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_AddCustomRectEx, self, args, kw);
}
static PyObject* biv_ImFontAtlas_RemoveCustomRect(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "id", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontAtlas* self_p = (ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImFontAtlasRectId a_id{};
BI_GET(0, a_id);
self_p->RemoveCustomRect(a_id);
Py_RETURN_NONE;
}
static PyObject* bid_ImFontAtlas_remove_custom_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_RemoveCustomRect, self, args, kw);
}
static PyObject* biv_ImFontAtlas_GetCustomRect(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "id", "out_r", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
const ImFontAtlas* self_p = (const ImFontAtlas*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImFontAtlasRectId a_id{};
BI_GET(0, a_id);
ImFontAtlasRect* a_out_r = nullptr;
BI_GETP(1, a_out_r);
auto r = self_p->GetCustomRect(a_id, a_out_r);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFontAtlas_get_custom_rect(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontAtlas_GetCustomRect, self, args, kw);
}
static PyObject* biv_ImFontBaked_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImFontBaked)());
}
static PyObject* bid_ImFontBaked_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontBaked_New, nullptr, args, kw);
}
static PyObject* biv_ImFontBaked_ClearOutputData(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFontBaked* self_p = (ImFontBaked*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearOutputData();
Py_RETURN_NONE;
}
static PyObject* bid_ImFontBaked_clear_output_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontBaked_ClearOutputData, self, args, kw);
}
static PyObject* biv_ImFontBaked_FindGlyph(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontBaked* self_p = (ImFontBaked*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar a_c{};
BI_GET(0, a_c);
auto r = self_p->FindGlyph(a_c);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontBaked_find_glyph(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontBaked_FindGlyph, self, args, kw);
}
static PyObject* biv_ImFontBaked_FindGlyphNoFallback(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontBaked* self_p = (ImFontBaked*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar a_c{};
BI_GET(0, a_c);
auto r = self_p->FindGlyphNoFallback(a_c);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFontBaked_find_glyph_no_fallback(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontBaked_FindGlyphNoFallback, self, args, kw);
}
static PyObject* biv_ImFontBaked_GetCharAdvance(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontBaked* self_p = (ImFontBaked*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar a_c{};
BI_GET(0, a_c);
auto r = self_p->GetCharAdvance(a_c);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFontBaked_get_char_advance(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontBaked_GetCharAdvance, self, args, kw);
}
static PyObject* biv_ImFontBaked_IsGlyphLoaded(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFontBaked* self_p = (ImFontBaked*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar a_c{};
BI_GET(0, a_c);
auto r = self_p->IsGlyphLoaded(a_c);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFontBaked_is_glyph_loaded(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFontBaked_IsGlyphLoaded, self, args, kw);
}
static PyObject* biv_ImFont_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImFont)());
}
static PyObject* bid_ImFont_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_New, nullptr, args, kw);
}
static PyObject* biv_ImFont_IsGlyphInFont(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c", nullptr };
PyObject* o[1] = {};
if (!bi_parse(args, kw, kwl, 1, 1, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar a_c{};
BI_GET(0, a_c);
auto r = self_p->IsGlyphInFont(a_c);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFont_is_glyph_in_font(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_IsGlyphInFont, self, args, kw);
}
static PyObject* biv_ImFont_IsLoaded(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImFont* self_p = (const ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->IsLoaded();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFont_is_loaded(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_IsLoaded, self, args, kw);
}
static PyObject* biv_ImFont_GetDebugName(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImFont* self_p = (const ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetDebugName();
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImFont_get_debug_name(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_GetDebugName, self, args, kw);
}
static PyObject* biv_ImFont_GetFontBakedEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "font_size", "density", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 1, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_font_size{};
BI_GET(0, a_font_size);
float a_density = - 1.0f;
BI_GET(1, a_density);
auto r = self_p->GetFontBaked(a_font_size, a_density);
return bi_result({ bi_ptr_result(r) });
}
static PyObject* bid_ImFont_get_font_baked(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_GetFontBakedEx, self, args, kw);
}
static PyObject* biv_ImFont_CalcTextSizeAEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", "max_width", "wrap_width", "text_begin", "text_end", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 4, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_size{};
BI_GET(0, a_size);
float a_max_width{};
BI_GET(1, a_max_width);
float a_wrap_width{};
BI_GET(2, a_wrap_width);
const char* a_text_begin{};
BI_GET(3, a_text_begin);
const char* a_text_end = NULL;
BI_GET(4, a_text_end);
const char** a_out_remaining = NULL;
auto r = self_p->CalcTextSizeA(a_size, a_max_width, a_wrap_width, a_text_begin, a_text_end, a_out_remaining);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFont_calc_text_size_a(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_CalcTextSizeAEx, self, args, kw);
}
static PyObject* biv_ImFont_CalcWordWrapPosition(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "size", "text", "text_end", "wrap_width", nullptr };
PyObject* o[4] = {};
if (!bi_parse(args, kw, kwl, 4, 4, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
float a_size{};
BI_GET(0, a_size);
const char* a_text{};
BI_GET(1, a_text);
const char* a_text_end{};
BI_GET(2, a_text_end);
float a_wrap_width{};
BI_GET(3, a_wrap_width);
auto r = self_p->CalcWordWrapPosition(a_size, a_text, a_text_end, a_wrap_width);
return bi_result({ bi_to((const char*)r) });
}
static PyObject* bid_ImFont_calc_word_wrap_position(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_CalcWordWrapPosition, self, args, kw);
}
static PyObject* biv_ImFont_RenderCharEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "draw_list", "size", "pos", "col", "c", nullptr };
PyObject* o[5] = {};
if (!bi_parse(args, kw, kwl, 5, 5, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawList* a_draw_list = nullptr;
BI_GETP(0, a_draw_list);
float a_size{};
BI_GET(1, a_size);
ImVec2 a_pos{};
BI_GET(2, a_pos);
ImU32 a_col{};
BI_GET(3, a_col);
ImWchar a_c{};
BI_GET(4, a_c);
const ImVec4* a_cpu_fine_clip = NULL;
self_p->RenderChar(a_draw_list, a_size, a_pos, a_col, a_c, a_cpu_fine_clip);
Py_RETURN_NONE;
}
static PyObject* bid_ImFont_render_char(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_RenderCharEx, self, args, kw);
}
static PyObject* biv_ImFont_RenderTextEx(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "draw_list", "size", "pos", "col", "clip_rect", "text_begin", "text_end", "wrap_width", "flags", nullptr };
PyObject* o[9] = {};
if (!bi_parse(args, kw, kwl, 9, 7, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImDrawList* a_draw_list = nullptr;
BI_GETP(0, a_draw_list);
float a_size{};
BI_GET(1, a_size);
ImVec2 a_pos{};
BI_GET(2, a_pos);
ImU32 a_col{};
BI_GET(3, a_col);
ImVec4 a_clip_rect{};
BI_GET(4, a_clip_rect);
const char* a_text_begin{};
BI_GET(5, a_text_begin);
const char* a_text_end{};
BI_GET(6, a_text_end);
float a_wrap_width = 0.0f;
BI_GET(7, a_wrap_width);
ImDrawTextFlags a_flags = 0;
BI_GET(8, a_flags);
self_p->RenderText(a_draw_list, a_size, a_pos, a_col, a_clip_rect, a_text_begin, a_text_end, a_wrap_width, a_flags);
Py_RETURN_NONE;
}
static PyObject* bid_ImFont_render_text(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_RenderTextEx, self, args, kw);
}
static PyObject* biv_ImFont_ClearOutputData(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearOutputData();
Py_RETURN_NONE;
}
static PyObject* bid_ImFont_clear_output_data(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_ClearOutputData, self, args, kw);
}
static PyObject* biv_ImFont_AddRemapCodepoint(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "from_codepoint", "to_codepoint", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar a_from_codepoint{};
BI_GET(0, a_from_codepoint);
ImWchar a_to_codepoint{};
BI_GET(1, a_to_codepoint);
self_p->AddRemapCodepoint(a_from_codepoint, a_to_codepoint);
Py_RETURN_NONE;
}
static PyObject* bid_ImFont_add_remap_codepoint(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_AddRemapCodepoint, self, args, kw);
}
static PyObject* biv_ImFont_AddRemapCodepointToGlyphIndex(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "from_codepoint", "font_src_idx", "glyph_idx", nullptr };
PyObject* o[3] = {};
if (!bi_parse(args, kw, kwl, 3, 3, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
ImWchar a_from_codepoint{};
BI_GET(0, a_from_codepoint);
int a_font_src_idx{};
BI_GET(1, a_font_src_idx);
int a_glyph_idx{};
BI_GET(2, a_glyph_idx);
self_p->AddRemapCodepointToGlyphIndex(a_from_codepoint, a_font_src_idx, a_glyph_idx);
Py_RETURN_NONE;
}
static PyObject* bid_ImFont_add_remap_codepoint_to_glyph_index(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_AddRemapCodepointToGlyphIndex, self, args, kw);
}
static PyObject* biv_ImFont_IsGlyphRangeUnused(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
static const char* const kwl[] = { "c_begin", "c_last", nullptr };
PyObject* o[2] = {};
if (!bi_parse(args, kw, kwl, 2, 2, o, argfail)) return nullptr;
ImFont* self_p = (ImFont*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
unsigned int a_c_begin{};
BI_GET(0, a_c_begin);
unsigned int a_c_last{};
BI_GET(1, a_c_last);
auto r = self_p->IsGlyphRangeUnused(a_c_begin, a_c_last);
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImFont_is_glyph_range_unused(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImFont_IsGlyphRangeUnused, self, args, kw);
}
static PyObject* biv_ImGuiViewport_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiViewport)());
}
static PyObject* bid_ImGuiViewport_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiViewport_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiViewport_GetCenter(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiViewport* self_p = (const ImGuiViewport*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetCenter();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiViewport_get_center(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiViewport_GetCenter, self, args, kw);
}
static PyObject* biv_ImGuiViewport_GetWorkCenter(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
const ImGuiViewport* self_p = (const ImGuiViewport*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
auto r = self_p->GetWorkCenter();
return bi_result({ bi_to(r) });
}
static PyObject* bid_ImGuiViewport_get_work_center(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiViewport_GetWorkCenter, self, args, kw);
}
static PyObject* biv_ImGuiPlatformIO_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiPlatformIO)());
}
static PyObject* bid_ImGuiPlatformIO_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPlatformIO_New, nullptr, args, kw);
}
static PyObject* biv_ImGuiPlatformIO_ClearPlatformHandlers(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiPlatformIO* self_p = (ImGuiPlatformIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearPlatformHandlers();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiPlatformIO_clear_platform_handlers(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPlatformIO_ClearPlatformHandlers, self, args, kw);
}
static PyObject* biv_ImGuiPlatformIO_ClearRendererHandlers(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
ImGuiPlatformIO* self_p = (ImGuiPlatformIO*)((BiObj*)self)->ptr;
if (self_p == nullptr) { PyErr_SetString(PyExc_ValueError, "NULL object"); return nullptr; }
self_p->ClearRendererHandlers();
Py_RETURN_NONE;
}
static PyObject* bid_ImGuiPlatformIO_clear_renderer_handlers(PyObject* self, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPlatformIO_ClearRendererHandlers, self, args, kw);
}
static PyObject* biv_ImGuiPlatformImeData_New(PyObject* self, PyObject* args, PyObject* kw, int* argfail)
{
(void)self;
if (!bi_parse(args, kw, nullptr, 0, 0, nullptr, argfail)) return nullptr;
return bi_owned(IM_NEW(ImGuiPlatformImeData)());
}
static PyObject* bid_ImGuiPlatformImeData_new(PyTypeObject*, PyObject* args, PyObject* kw)
{
return bi_call1(biv_ImGuiPlatformImeData_New, nullptr, args, kw);
}
static PyMethodDef bi_module_methods_gen[] = {
{ "create_context", (PyCFunction)(void (*)(void))bid_ImGui_create_context, METH_VARARGS | METH_KEYWORDS, "create_context(shared_font_atlas=NULL) -> ImGui::CreateContext" },
{ "destroy_context", (PyCFunction)(void (*)(void))bid_ImGui_destroy_context, METH_VARARGS | METH_KEYWORDS, "destroy_context(ctx=NULL) -> ImGui::DestroyContext" },
{ "get_current_context", (PyCFunction)(void (*)(void))bid_ImGui_get_current_context, METH_VARARGS | METH_KEYWORDS, "get_current_context() -> ImGui::GetCurrentContext" },
{ "set_current_context", (PyCFunction)(void (*)(void))bid_ImGui_set_current_context, METH_VARARGS | METH_KEYWORDS, "set_current_context(ctx) -> ImGui::SetCurrentContext" },
{ "get_io", (PyCFunction)(void (*)(void))bid_ImGui_get_io, METH_VARARGS | METH_KEYWORDS, "get_io() -> ImGui::GetIO" },
{ "get_platform_io", (PyCFunction)(void (*)(void))bid_ImGui_get_platform_io, METH_VARARGS | METH_KEYWORDS, "get_platform_io() -> ImGui::GetPlatformIO" },
{ "get_style", (PyCFunction)(void (*)(void))bid_ImGui_get_style, METH_VARARGS | METH_KEYWORDS, "get_style() -> ImGui::GetStyle" },
{ "new_frame", (PyCFunction)(void (*)(void))bid_ImGui_new_frame, METH_VARARGS | METH_KEYWORDS, "new_frame() -> ImGui::NewFrame" },
{ "end_frame", (PyCFunction)(void (*)(void))bid_ImGui_end_frame, METH_VARARGS | METH_KEYWORDS, "end_frame() -> ImGui::EndFrame" },
{ "render", (PyCFunction)(void (*)(void))bid_ImGui_render, METH_VARARGS | METH_KEYWORDS, "render() -> ImGui::Render" },
{ "get_draw_data", (PyCFunction)(void (*)(void))bid_ImGui_get_draw_data, METH_VARARGS | METH_KEYWORDS, "get_draw_data() -> ImGui::GetDrawData" },
{ "show_demo_window", (PyCFunction)(void (*)(void))bid_ImGui_show_demo_window, METH_VARARGS | METH_KEYWORDS, "show_demo_window(p_open=NULL) -> ImGui::ShowDemoWindow" },
{ "show_metrics_window", (PyCFunction)(void (*)(void))bid_ImGui_show_metrics_window, METH_VARARGS | METH_KEYWORDS, "show_metrics_window(p_open=NULL) -> ImGui::ShowMetricsWindow" },
{ "show_debug_log_window", (PyCFunction)(void (*)(void))bid_ImGui_show_debug_log_window, METH_VARARGS | METH_KEYWORDS, "show_debug_log_window(p_open=NULL) -> ImGui::ShowDebugLogWindow" },
{ "show_id_stack_tool_window", (PyCFunction)(void (*)(void))bid_ImGui_show_id_stack_tool_window, METH_VARARGS | METH_KEYWORDS, "show_id_stack_tool_window(p_open=NULL) -> ImGui::ShowIDStackToolWindow" },
{ "show_about_window", (PyCFunction)(void (*)(void))bid_ImGui_show_about_window, METH_VARARGS | METH_KEYWORDS, "show_about_window(p_open=NULL) -> ImGui::ShowAboutWindow" },
{ "show_style_editor", (PyCFunction)(void (*)(void))bid_ImGui_show_style_editor, METH_VARARGS | METH_KEYWORDS, "show_style_editor(ref=NULL) -> ImGui::ShowStyleEditor" },
{ "show_style_selector", (PyCFunction)(void (*)(void))bid_ImGui_show_style_selector, METH_VARARGS | METH_KEYWORDS, "show_style_selector(label) -> ImGui::ShowStyleSelector" },
{ "show_font_selector", (PyCFunction)(void (*)(void))bid_ImGui_show_font_selector, METH_VARARGS | METH_KEYWORDS, "show_font_selector(label) -> ImGui::ShowFontSelector" },
{ "show_user_guide", (PyCFunction)(void (*)(void))bid_ImGui_show_user_guide, METH_VARARGS | METH_KEYWORDS, "show_user_guide() -> ImGui::ShowUserGuide" },
{ "get_version", (PyCFunction)(void (*)(void))bid_ImGui_get_version, METH_VARARGS | METH_KEYWORDS, "get_version() -> ImGui::GetVersion" },
{ "style_colors_dark", (PyCFunction)(void (*)(void))bid_ImGui_style_colors_dark, METH_VARARGS | METH_KEYWORDS, "style_colors_dark(dst=NULL) -> ImGui::StyleColorsDark" },
{ "style_colors_light", (PyCFunction)(void (*)(void))bid_ImGui_style_colors_light, METH_VARARGS | METH_KEYWORDS, "style_colors_light(dst=NULL) -> ImGui::StyleColorsLight" },
{ "style_colors_classic", (PyCFunction)(void (*)(void))bid_ImGui_style_colors_classic, METH_VARARGS | METH_KEYWORDS, "style_colors_classic(dst=NULL) -> ImGui::StyleColorsClassic" },
{ "begin", (PyCFunction)(void (*)(void))bid_ImGui_begin, METH_VARARGS | METH_KEYWORDS, "begin(name, p_open=NULL, flags=0) -> ImGui::Begin" },
{ "end", (PyCFunction)(void (*)(void))bid_ImGui_end, METH_VARARGS | METH_KEYWORDS, "end() -> ImGui::End" },
{ "begin_child", (PyCFunction)(void (*)(void))bid_ImGui_begin_child, METH_VARARGS | METH_KEYWORDS, "begin_child(str_id, size=ImVec2(0, 0), child_flags=0, window_flags=0) -> ImGui::BeginChild\nbegin_child(id, size=ImVec2(0, 0), child_flags=0, window_flags=0) -> ImGui::BeginChild" },
{ "begin_child_id", (PyCFunction)(void (*)(void))bid1_ImGui_BeginChildIDEx, METH_VARARGS | METH_KEYWORDS, "begin_child(str_id, size=ImVec2(0, 0), child_flags=0, window_flags=0) -> ImGui::BeginChild\nbegin_child(id, size=ImVec2(0, 0), child_flags=0, window_flags=0) -> ImGui::BeginChild" },
{ "end_child", (PyCFunction)(void (*)(void))bid_ImGui_end_child, METH_VARARGS | METH_KEYWORDS, "end_child() -> ImGui::EndChild" },
{ "is_window_appearing", (PyCFunction)(void (*)(void))bid_ImGui_is_window_appearing, METH_VARARGS | METH_KEYWORDS, "is_window_appearing() -> ImGui::IsWindowAppearing" },
{ "is_window_collapsed", (PyCFunction)(void (*)(void))bid_ImGui_is_window_collapsed, METH_VARARGS | METH_KEYWORDS, "is_window_collapsed() -> ImGui::IsWindowCollapsed" },
{ "is_window_focused", (PyCFunction)(void (*)(void))bid_ImGui_is_window_focused, METH_VARARGS | METH_KEYWORDS, "is_window_focused(flags=0) -> ImGui::IsWindowFocused" },
{ "is_window_hovered", (PyCFunction)(void (*)(void))bid_ImGui_is_window_hovered, METH_VARARGS | METH_KEYWORDS, "is_window_hovered(flags=0) -> ImGui::IsWindowHovered" },
{ "get_window_draw_list", (PyCFunction)(void (*)(void))bid_ImGui_get_window_draw_list, METH_VARARGS | METH_KEYWORDS, "get_window_draw_list() -> ImGui::GetWindowDrawList" },
{ "get_window_pos", (PyCFunction)(void (*)(void))bid_ImGui_get_window_pos, METH_VARARGS | METH_KEYWORDS, "get_window_pos() -> ImGui::GetWindowPos" },
{ "get_window_size", (PyCFunction)(void (*)(void))bid_ImGui_get_window_size, METH_VARARGS | METH_KEYWORDS, "get_window_size() -> ImGui::GetWindowSize" },
{ "get_window_width", (PyCFunction)(void (*)(void))bid_ImGui_get_window_width, METH_VARARGS | METH_KEYWORDS, "get_window_width() -> ImGui::GetWindowWidth" },
{ "get_window_height", (PyCFunction)(void (*)(void))bid_ImGui_get_window_height, METH_VARARGS | METH_KEYWORDS, "get_window_height() -> ImGui::GetWindowHeight" },
{ "set_next_window_pos", (PyCFunction)(void (*)(void))bid_ImGui_set_next_window_pos, METH_VARARGS | METH_KEYWORDS, "set_next_window_pos(pos, cond=0, pivot=ImVec2(0, 0)) -> ImGui::SetNextWindowPos" },
{ "set_next_window_size", (PyCFunction)(void (*)(void))bid_ImGui_set_next_window_size, METH_VARARGS | METH_KEYWORDS, "set_next_window_size(size, cond=0) -> ImGui::SetNextWindowSize" },
{ "set_next_window_size_constraints", (PyCFunction)(void (*)(void))bid_ImGui_set_next_window_size_constraints, METH_VARARGS | METH_KEYWORDS, "set_next_window_size_constraints(size_min, size_max) -> ImGui::SetNextWindowSizeConstraints" },
{ "set_next_window_content_size", (PyCFunction)(void (*)(void))bid_ImGui_set_next_window_content_size, METH_VARARGS | METH_KEYWORDS, "set_next_window_content_size(size) -> ImGui::SetNextWindowContentSize" },
{ "set_next_window_collapsed", (PyCFunction)(void (*)(void))bid_ImGui_set_next_window_collapsed, METH_VARARGS | METH_KEYWORDS, "set_next_window_collapsed(collapsed, cond=0) -> ImGui::SetNextWindowCollapsed" },
{ "set_next_window_focus", (PyCFunction)(void (*)(void))bid_ImGui_set_next_window_focus, METH_VARARGS | METH_KEYWORDS, "set_next_window_focus() -> ImGui::SetNextWindowFocus" },
{ "set_next_window_scroll", (PyCFunction)(void (*)(void))bid_ImGui_set_next_window_scroll, METH_VARARGS | METH_KEYWORDS, "set_next_window_scroll(scroll) -> ImGui::SetNextWindowScroll" },
{ "set_next_window_bg_alpha", (PyCFunction)(void (*)(void))bid_ImGui_set_next_window_bg_alpha, METH_VARARGS | METH_KEYWORDS, "set_next_window_bg_alpha(alpha) -> ImGui::SetNextWindowBgAlpha" },
{ "set_window_pos", (PyCFunction)(void (*)(void))bid_ImGui_set_window_pos, METH_VARARGS | METH_KEYWORDS, "set_window_pos(pos, cond=0) -> ImGui::SetWindowPos\nset_window_pos(name, pos, cond=0) -> ImGui::SetWindowPos" },
{ "set_window_pos_str", (PyCFunction)(void (*)(void))bid1_ImGui_SetWindowPosStrEx, METH_VARARGS | METH_KEYWORDS, "set_window_pos(pos, cond=0) -> ImGui::SetWindowPos\nset_window_pos(name, pos, cond=0) -> ImGui::SetWindowPos" },
{ "set_window_size", (PyCFunction)(void (*)(void))bid_ImGui_set_window_size, METH_VARARGS | METH_KEYWORDS, "set_window_size(size, cond=0) -> ImGui::SetWindowSize\nset_window_size(name, size, cond=0) -> ImGui::SetWindowSize" },
{ "set_window_size_str", (PyCFunction)(void (*)(void))bid1_ImGui_SetWindowSizeStrEx, METH_VARARGS | METH_KEYWORDS, "set_window_size(size, cond=0) -> ImGui::SetWindowSize\nset_window_size(name, size, cond=0) -> ImGui::SetWindowSize" },
{ "set_window_collapsed", (PyCFunction)(void (*)(void))bid_ImGui_set_window_collapsed, METH_VARARGS | METH_KEYWORDS, "set_window_collapsed(collapsed, cond=0) -> ImGui::SetWindowCollapsed\nset_window_collapsed(name, collapsed, cond=0) -> ImGui::SetWindowCollapsed" },
{ "set_window_collapsed_str", (PyCFunction)(void (*)(void))bid1_ImGui_SetWindowCollapsedStrEx, METH_VARARGS | METH_KEYWORDS, "set_window_collapsed(collapsed, cond=0) -> ImGui::SetWindowCollapsed\nset_window_collapsed(name, collapsed, cond=0) -> ImGui::SetWindowCollapsed" },
{ "set_window_focus", (PyCFunction)(void (*)(void))bid_ImGui_set_window_focus, METH_VARARGS | METH_KEYWORDS, "set_window_focus() -> ImGui::SetWindowFocus\nset_window_focus(name) -> ImGui::SetWindowFocus" },
{ "set_window_focus_str", (PyCFunction)(void (*)(void))bid1_ImGui_SetWindowFocusStr, METH_VARARGS | METH_KEYWORDS, "set_window_focus() -> ImGui::SetWindowFocus\nset_window_focus(name) -> ImGui::SetWindowFocus" },
{ "get_scroll_x", (PyCFunction)(void (*)(void))bid_ImGui_get_scroll_x, METH_VARARGS | METH_KEYWORDS, "get_scroll_x() -> ImGui::GetScrollX" },
{ "get_scroll_y", (PyCFunction)(void (*)(void))bid_ImGui_get_scroll_y, METH_VARARGS | METH_KEYWORDS, "get_scroll_y() -> ImGui::GetScrollY" },
{ "set_scroll_x", (PyCFunction)(void (*)(void))bid_ImGui_set_scroll_x, METH_VARARGS | METH_KEYWORDS, "set_scroll_x(scroll_x) -> ImGui::SetScrollX" },
{ "set_scroll_y", (PyCFunction)(void (*)(void))bid_ImGui_set_scroll_y, METH_VARARGS | METH_KEYWORDS, "set_scroll_y(scroll_y) -> ImGui::SetScrollY" },
{ "get_scroll_max_x", (PyCFunction)(void (*)(void))bid_ImGui_get_scroll_max_x, METH_VARARGS | METH_KEYWORDS, "get_scroll_max_x() -> ImGui::GetScrollMaxX" },
{ "get_scroll_max_y", (PyCFunction)(void (*)(void))bid_ImGui_get_scroll_max_y, METH_VARARGS | METH_KEYWORDS, "get_scroll_max_y() -> ImGui::GetScrollMaxY" },
{ "set_scroll_here_x", (PyCFunction)(void (*)(void))bid_ImGui_set_scroll_here_x, METH_VARARGS | METH_KEYWORDS, "set_scroll_here_x(center_x_ratio=0.5f) -> ImGui::SetScrollHereX" },
{ "set_scroll_here_y", (PyCFunction)(void (*)(void))bid_ImGui_set_scroll_here_y, METH_VARARGS | METH_KEYWORDS, "set_scroll_here_y(center_y_ratio=0.5f) -> ImGui::SetScrollHereY" },
{ "set_scroll_from_pos_x", (PyCFunction)(void (*)(void))bid_ImGui_set_scroll_from_pos_x, METH_VARARGS | METH_KEYWORDS, "set_scroll_from_pos_x(local_x, center_x_ratio=0.5f) -> ImGui::SetScrollFromPosX" },
{ "set_scroll_from_pos_y", (PyCFunction)(void (*)(void))bid_ImGui_set_scroll_from_pos_y, METH_VARARGS | METH_KEYWORDS, "set_scroll_from_pos_y(local_y, center_y_ratio=0.5f) -> ImGui::SetScrollFromPosY" },
{ "push_font", (PyCFunction)(void (*)(void))bid_ImGui_push_font, METH_VARARGS | METH_KEYWORDS, "push_font(font, font_size_base_unscaled) -> ImGui::PushFont" },
{ "pop_font", (PyCFunction)(void (*)(void))bid_ImGui_pop_font, METH_VARARGS | METH_KEYWORDS, "pop_font() -> ImGui::PopFont" },
{ "get_font", (PyCFunction)(void (*)(void))bid_ImGui_get_font, METH_VARARGS | METH_KEYWORDS, "get_font() -> ImGui::GetFont" },
{ "get_font_size", (PyCFunction)(void (*)(void))bid_ImGui_get_font_size, METH_VARARGS | METH_KEYWORDS, "get_font_size() -> ImGui::GetFontSize" },
{ "get_font_baked", (PyCFunction)(void (*)(void))bid_ImGui_get_font_baked, METH_VARARGS | METH_KEYWORDS, "get_font_baked() -> ImGui::GetFontBaked" },
{ "push_style_color", (PyCFunction)(void (*)(void))bid_ImGui_push_style_color, METH_VARARGS | METH_KEYWORDS, "push_style_color(idx, col) -> ImGui::PushStyleColor\npush_style_color(idx, col) -> ImGui::PushStyleColor" },
{ "push_style_color_vec4", (PyCFunction)(void (*)(void))bid1_ImGui_PushStyleColorVec4, METH_VARARGS | METH_KEYWORDS, "push_style_color(idx, col) -> ImGui::PushStyleColor\npush_style_color(idx, col) -> ImGui::PushStyleColor" },
{ "pop_style_color", (PyCFunction)(void (*)(void))bid_ImGui_pop_style_color, METH_VARARGS | METH_KEYWORDS, "pop_style_color(count=1) -> ImGui::PopStyleColor" },
{ "push_style_var", (PyCFunction)(void (*)(void))bid_ImGui_push_style_var, METH_VARARGS | METH_KEYWORDS, "push_style_var(idx, val) -> ImGui::PushStyleVar\npush_style_var(idx, val) -> ImGui::PushStyleVar" },
{ "push_style_var_vec2", (PyCFunction)(void (*)(void))bid1_ImGui_PushStyleVarVec2, METH_VARARGS | METH_KEYWORDS, "push_style_var(idx, val) -> ImGui::PushStyleVar\npush_style_var(idx, val) -> ImGui::PushStyleVar" },
{ "push_style_var_x", (PyCFunction)(void (*)(void))bid_ImGui_push_style_var_x, METH_VARARGS | METH_KEYWORDS, "push_style_var_x(idx, val_x) -> ImGui::PushStyleVarX" },
{ "push_style_var_y", (PyCFunction)(void (*)(void))bid_ImGui_push_style_var_y, METH_VARARGS | METH_KEYWORDS, "push_style_var_y(idx, val_y) -> ImGui::PushStyleVarY" },
{ "pop_style_var", (PyCFunction)(void (*)(void))bid_ImGui_pop_style_var, METH_VARARGS | METH_KEYWORDS, "pop_style_var(count=1) -> ImGui::PopStyleVar" },
{ "push_item_flag", (PyCFunction)(void (*)(void))bid_ImGui_push_item_flag, METH_VARARGS | METH_KEYWORDS, "push_item_flag(option, enabled) -> ImGui::PushItemFlag" },
{ "pop_item_flag", (PyCFunction)(void (*)(void))bid_ImGui_pop_item_flag, METH_VARARGS | METH_KEYWORDS, "pop_item_flag() -> ImGui::PopItemFlag" },
{ "push_item_width", (PyCFunction)(void (*)(void))bid_ImGui_push_item_width, METH_VARARGS | METH_KEYWORDS, "push_item_width(item_width) -> ImGui::PushItemWidth" },
{ "pop_item_width", (PyCFunction)(void (*)(void))bid_ImGui_pop_item_width, METH_VARARGS | METH_KEYWORDS, "pop_item_width() -> ImGui::PopItemWidth" },
{ "set_next_item_width", (PyCFunction)(void (*)(void))bid_ImGui_set_next_item_width, METH_VARARGS | METH_KEYWORDS, "set_next_item_width(item_width) -> ImGui::SetNextItemWidth" },
{ "calc_item_width", (PyCFunction)(void (*)(void))bid_ImGui_calc_item_width, METH_VARARGS | METH_KEYWORDS, "calc_item_width() -> ImGui::CalcItemWidth" },
{ "push_text_wrap_pos", (PyCFunction)(void (*)(void))bid_ImGui_push_text_wrap_pos, METH_VARARGS | METH_KEYWORDS, "push_text_wrap_pos(wrap_local_pos_x=0.0f) -> ImGui::PushTextWrapPos" },
{ "pop_text_wrap_pos", (PyCFunction)(void (*)(void))bid_ImGui_pop_text_wrap_pos, METH_VARARGS | METH_KEYWORDS, "pop_text_wrap_pos() -> ImGui::PopTextWrapPos" },
{ "get_font_tex_uv_white_pixel", (PyCFunction)(void (*)(void))bid_ImGui_get_font_tex_uv_white_pixel, METH_VARARGS | METH_KEYWORDS, "get_font_tex_uv_white_pixel() -> ImGui::GetFontTexUvWhitePixel" },
{ "get_color_u32", (PyCFunction)(void (*)(void))bid_ImGui_get_color_u32, METH_VARARGS | METH_KEYWORDS, "get_color_u32(idx, alpha_mul=1.0f) -> ImGui::GetColorU32\nget_color_u32(col) -> ImGui::GetColorU32\nget_color_u32(col, alpha_mul=1.0f) -> ImGui::GetColorU32" },
{ "get_color_u32_vec4", (PyCFunction)(void (*)(void))bid1_ImGui_GetColorU32Vec4, METH_VARARGS | METH_KEYWORDS, "get_color_u32(idx, alpha_mul=1.0f) -> ImGui::GetColorU32\nget_color_u32(col) -> ImGui::GetColorU32\nget_color_u32(col, alpha_mul=1.0f) -> ImGui::GetColorU32" },
{ "get_color_u32_u32", (PyCFunction)(void (*)(void))bid1_ImGui_GetColorU32U32Ex, METH_VARARGS | METH_KEYWORDS, "get_color_u32(idx, alpha_mul=1.0f) -> ImGui::GetColorU32\nget_color_u32(col) -> ImGui::GetColorU32\nget_color_u32(col, alpha_mul=1.0f) -> ImGui::GetColorU32" },
{ "get_style_color_vec4", (PyCFunction)(void (*)(void))bid_ImGui_get_style_color_vec4, METH_VARARGS | METH_KEYWORDS, "get_style_color_vec4(idx) -> ImGui::GetStyleColorVec4" },
{ "get_cursor_screen_pos", (PyCFunction)(void (*)(void))bid_ImGui_get_cursor_screen_pos, METH_VARARGS | METH_KEYWORDS, "get_cursor_screen_pos() -> ImGui::GetCursorScreenPos" },
{ "set_cursor_screen_pos", (PyCFunction)(void (*)(void))bid_ImGui_set_cursor_screen_pos, METH_VARARGS | METH_KEYWORDS, "set_cursor_screen_pos(pos) -> ImGui::SetCursorScreenPos" },
{ "get_content_region_avail", (PyCFunction)(void (*)(void))bid_ImGui_get_content_region_avail, METH_VARARGS | METH_KEYWORDS, "get_content_region_avail() -> ImGui::GetContentRegionAvail" },
{ "get_cursor_pos", (PyCFunction)(void (*)(void))bid_ImGui_get_cursor_pos, METH_VARARGS | METH_KEYWORDS, "get_cursor_pos() -> ImGui::GetCursorPos" },
{ "get_cursor_pos_x", (PyCFunction)(void (*)(void))bid_ImGui_get_cursor_pos_x, METH_VARARGS | METH_KEYWORDS, "get_cursor_pos_x() -> ImGui::GetCursorPosX" },
{ "get_cursor_pos_y", (PyCFunction)(void (*)(void))bid_ImGui_get_cursor_pos_y, METH_VARARGS | METH_KEYWORDS, "get_cursor_pos_y() -> ImGui::GetCursorPosY" },
{ "set_cursor_pos", (PyCFunction)(void (*)(void))bid_ImGui_set_cursor_pos, METH_VARARGS | METH_KEYWORDS, "set_cursor_pos(local_pos) -> ImGui::SetCursorPos" },
{ "set_cursor_pos_x", (PyCFunction)(void (*)(void))bid_ImGui_set_cursor_pos_x, METH_VARARGS | METH_KEYWORDS, "set_cursor_pos_x(local_x) -> ImGui::SetCursorPosX" },
{ "set_cursor_pos_y", (PyCFunction)(void (*)(void))bid_ImGui_set_cursor_pos_y, METH_VARARGS | METH_KEYWORDS, "set_cursor_pos_y(local_y) -> ImGui::SetCursorPosY" },
{ "get_cursor_start_pos", (PyCFunction)(void (*)(void))bid_ImGui_get_cursor_start_pos, METH_VARARGS | METH_KEYWORDS, "get_cursor_start_pos() -> ImGui::GetCursorStartPos" },
{ "separator", (PyCFunction)(void (*)(void))bid_ImGui_separator, METH_VARARGS | METH_KEYWORDS, "separator() -> ImGui::Separator" },
{ "same_line", (PyCFunction)(void (*)(void))bid_ImGui_same_line, METH_VARARGS | METH_KEYWORDS, "same_line(offset_from_start_x=0.0f, spacing=- 1.0f) -> ImGui::SameLine" },
{ "new_line", (PyCFunction)(void (*)(void))bid_ImGui_new_line, METH_VARARGS | METH_KEYWORDS, "new_line() -> ImGui::NewLine" },
{ "spacing", (PyCFunction)(void (*)(void))bid_ImGui_spacing, METH_VARARGS | METH_KEYWORDS, "spacing() -> ImGui::Spacing" },
{ "dummy", (PyCFunction)(void (*)(void))bid_ImGui_dummy, METH_VARARGS | METH_KEYWORDS, "dummy(size) -> ImGui::Dummy" },
{ "indent", (PyCFunction)(void (*)(void))bid_ImGui_indent, METH_VARARGS | METH_KEYWORDS, "indent(indent_w=0.0f) -> ImGui::Indent" },
{ "unindent", (PyCFunction)(void (*)(void))bid_ImGui_unindent, METH_VARARGS | METH_KEYWORDS, "unindent(indent_w=0.0f) -> ImGui::Unindent" },
{ "begin_group", (PyCFunction)(void (*)(void))bid_ImGui_begin_group, METH_VARARGS | METH_KEYWORDS, "begin_group() -> ImGui::BeginGroup" },
{ "end_group", (PyCFunction)(void (*)(void))bid_ImGui_end_group, METH_VARARGS | METH_KEYWORDS, "end_group() -> ImGui::EndGroup" },
{ "align_text_to_frame_padding", (PyCFunction)(void (*)(void))bid_ImGui_align_text_to_frame_padding, METH_VARARGS | METH_KEYWORDS, "align_text_to_frame_padding() -> ImGui::AlignTextToFramePadding" },
{ "get_text_line_height", (PyCFunction)(void (*)(void))bid_ImGui_get_text_line_height, METH_VARARGS | METH_KEYWORDS, "get_text_line_height() -> ImGui::GetTextLineHeight" },
{ "get_text_line_height_with_spacing", (PyCFunction)(void (*)(void))bid_ImGui_get_text_line_height_with_spacing, METH_VARARGS | METH_KEYWORDS, "get_text_line_height_with_spacing() -> ImGui::GetTextLineHeightWithSpacing" },
{ "get_frame_height", (PyCFunction)(void (*)(void))bid_ImGui_get_frame_height, METH_VARARGS | METH_KEYWORDS, "get_frame_height() -> ImGui::GetFrameHeight" },
{ "get_frame_height_with_spacing", (PyCFunction)(void (*)(void))bid_ImGui_get_frame_height_with_spacing, METH_VARARGS | METH_KEYWORDS, "get_frame_height_with_spacing() -> ImGui::GetFrameHeightWithSpacing" },
{ "push_id", (PyCFunction)(void (*)(void))bid_ImGui_push_id, METH_VARARGS | METH_KEYWORDS, "push_id(str_id) -> ImGui::PushID\npush_id(str_id_begin, str_id_end) -> ImGui::PushID\npush_id(int_id) -> ImGui::PushID" },
{ "push_id_str", (PyCFunction)(void (*)(void))bid1_ImGui_PushIDStr, METH_VARARGS | METH_KEYWORDS, "push_id(str_id) -> ImGui::PushID\npush_id(str_id_begin, str_id_end) -> ImGui::PushID\npush_id(int_id) -> ImGui::PushID" },
{ "push_id_int", (PyCFunction)(void (*)(void))bid1_ImGui_PushIDInt, METH_VARARGS | METH_KEYWORDS, "push_id(str_id) -> ImGui::PushID\npush_id(str_id_begin, str_id_end) -> ImGui::PushID\npush_id(int_id) -> ImGui::PushID" },
{ "pop_id", (PyCFunction)(void (*)(void))bid_ImGui_pop_id, METH_VARARGS | METH_KEYWORDS, "pop_id() -> ImGui::PopID" },
{ "get_id", (PyCFunction)(void (*)(void))bid_ImGui_get_id, METH_VARARGS | METH_KEYWORDS, "get_id(str_id) -> ImGui::GetID\nget_id(str_id_begin, str_id_end) -> ImGui::GetID\nget_id(int_id) -> ImGui::GetID" },
{ "get_id_str", (PyCFunction)(void (*)(void))bid1_ImGui_GetIDStr, METH_VARARGS | METH_KEYWORDS, "get_id(str_id) -> ImGui::GetID\nget_id(str_id_begin, str_id_end) -> ImGui::GetID\nget_id(int_id) -> ImGui::GetID" },
{ "get_id_int", (PyCFunction)(void (*)(void))bid1_ImGui_GetIDInt, METH_VARARGS | METH_KEYWORDS, "get_id(str_id) -> ImGui::GetID\nget_id(str_id_begin, str_id_end) -> ImGui::GetID\nget_id(int_id) -> ImGui::GetID" },
{ "text_unformatted", (PyCFunction)(void (*)(void))bid_ImGui_text_unformatted, METH_VARARGS | METH_KEYWORDS, "text_unformatted(text, text_end=NULL) -> ImGui::TextUnformatted" },
{ "text", (PyCFunction)(void (*)(void))bid_ImGui_text, METH_VARARGS | METH_KEYWORDS, "text(text) -> ImGui::Text" },
{ "text_colored", (PyCFunction)(void (*)(void))bid_ImGui_text_colored, METH_VARARGS | METH_KEYWORDS, "text_colored(col, text) -> ImGui::TextColored" },
{ "text_disabled", (PyCFunction)(void (*)(void))bid_ImGui_text_disabled, METH_VARARGS | METH_KEYWORDS, "text_disabled(text) -> ImGui::TextDisabled" },
{ "text_wrapped", (PyCFunction)(void (*)(void))bid_ImGui_text_wrapped, METH_VARARGS | METH_KEYWORDS, "text_wrapped(text) -> ImGui::TextWrapped" },
{ "label_text", (PyCFunction)(void (*)(void))bid_ImGui_label_text, METH_VARARGS | METH_KEYWORDS, "label_text(label, text) -> ImGui::LabelText" },
{ "bullet_text", (PyCFunction)(void (*)(void))bid_ImGui_bullet_text, METH_VARARGS | METH_KEYWORDS, "bullet_text(text) -> ImGui::BulletText" },
{ "separator_text", (PyCFunction)(void (*)(void))bid_ImGui_separator_text, METH_VARARGS | METH_KEYWORDS, "separator_text(label) -> ImGui::SeparatorText" },
{ "button", (PyCFunction)(void (*)(void))bid_ImGui_button, METH_VARARGS | METH_KEYWORDS, "button(label, size=ImVec2(0, 0)) -> ImGui::Button" },
{ "small_button", (PyCFunction)(void (*)(void))bid_ImGui_small_button, METH_VARARGS | METH_KEYWORDS, "small_button(label) -> ImGui::SmallButton" },
{ "invisible_button", (PyCFunction)(void (*)(void))bid_ImGui_invisible_button, METH_VARARGS | METH_KEYWORDS, "invisible_button(str_id, size, flags=0) -> ImGui::InvisibleButton" },
{ "arrow_button", (PyCFunction)(void (*)(void))bid_ImGui_arrow_button, METH_VARARGS | METH_KEYWORDS, "arrow_button(str_id, dir) -> ImGui::ArrowButton" },
{ "checkbox", (PyCFunction)(void (*)(void))bid_ImGui_checkbox, METH_VARARGS | METH_KEYWORDS, "checkbox(label, v) -> ImGui::Checkbox" },
{ "checkbox_flags", (PyCFunction)(void (*)(void))bid_ImGui_checkbox_flags, METH_VARARGS | METH_KEYWORDS, "checkbox_flags(label, flags, flags_value) -> ImGui::CheckboxFlags\ncheckbox_flags(label, flags, flags_value) -> ImGui::CheckboxFlags" },
{ "checkbox_flags_u_int_ptr", (PyCFunction)(void (*)(void))bid1_ImGui_CheckboxFlagsUIntPtr, METH_VARARGS | METH_KEYWORDS, "checkbox_flags(label, flags, flags_value) -> ImGui::CheckboxFlags\ncheckbox_flags(label, flags, flags_value) -> ImGui::CheckboxFlags" },
{ "radio_button", (PyCFunction)(void (*)(void))bid_ImGui_radio_button, METH_VARARGS | METH_KEYWORDS, "radio_button(label, active) -> ImGui::RadioButton\nradio_button(label, v, v_button) -> ImGui::RadioButton" },
{ "radio_button_int_ptr", (PyCFunction)(void (*)(void))bid1_ImGui_RadioButtonIntPtr, METH_VARARGS | METH_KEYWORDS, "radio_button(label, active) -> ImGui::RadioButton\nradio_button(label, v, v_button) -> ImGui::RadioButton" },
{ "progress_bar", (PyCFunction)(void (*)(void))bid_ImGui_progress_bar, METH_VARARGS | METH_KEYWORDS, "progress_bar(fraction, size_arg=ImVec2(- FLT_MIN, 0), overlay=NULL) -> ImGui::ProgressBar" },
{ "bullet", (PyCFunction)(void (*)(void))bid_ImGui_bullet, METH_VARARGS | METH_KEYWORDS, "bullet() -> ImGui::Bullet" },
{ "text_link", (PyCFunction)(void (*)(void))bid_ImGui_text_link, METH_VARARGS | METH_KEYWORDS, "text_link(label) -> ImGui::TextLink" },
{ "text_link_open_url", (PyCFunction)(void (*)(void))bid_ImGui_text_link_open_url, METH_VARARGS | METH_KEYWORDS, "text_link_open_url(label, url=NULL) -> ImGui::TextLinkOpenURL" },
{ "image", (PyCFunction)(void (*)(void))bid_ImGui_image, METH_VARARGS | METH_KEYWORDS, "image(tex_ref, image_size, uv0=ImVec2(0, 0), uv1=ImVec2(1, 1)) -> ImGui::Image" },
{ "image_with_bg", (PyCFunction)(void (*)(void))bid_ImGui_image_with_bg, METH_VARARGS | METH_KEYWORDS, "image_with_bg(tex_ref, image_size, uv0=ImVec2(0, 0), uv1=ImVec2(1, 1), bg_col=ImVec4(0, 0, 0, 0), tint_col=ImVec4(1, 1, 1, 1)) -> ImGui::ImageWithBg" },
{ "image_button", (PyCFunction)(void (*)(void))bid_ImGui_image_button, METH_VARARGS | METH_KEYWORDS, "image_button(str_id, tex_ref, image_size, uv0=ImVec2(0, 0), uv1=ImVec2(1, 1), bg_col=ImVec4(0, 0, 0, 0), tint_col=ImVec4(1, 1, 1, 1)) -> ImGui::ImageButton" },
{ "begin_combo", (PyCFunction)(void (*)(void))bid_ImGui_begin_combo, METH_VARARGS | METH_KEYWORDS, "begin_combo(label, preview_value, flags=0) -> ImGui::BeginCombo" },
{ "end_combo", (PyCFunction)(void (*)(void))bid_ImGui_end_combo, METH_VARARGS | METH_KEYWORDS, "end_combo() -> ImGui::EndCombo" },
{ "combo", (PyCFunction)(void (*)(void))bid_ImGui_combo, METH_VARARGS | METH_KEYWORDS, "combo(label, current_item, items, popup_max_height_in_items=- 1) -> ImGui::Combo\ncombo(label, current_item, items_separated_by_zeros, popup_max_height_in_items=- 1) -> ImGui::Combo" },
{ "combo_str", (PyCFunction)(void (*)(void))bid1_ImGui_ComboStrEx, METH_VARARGS | METH_KEYWORDS, "combo(label, current_item, items, popup_max_height_in_items=- 1) -> ImGui::Combo\ncombo(label, current_item, items_separated_by_zeros, popup_max_height_in_items=- 1) -> ImGui::Combo" },
{ "drag_float", (PyCFunction)(void (*)(void))bid_ImGui_drag_float, METH_VARARGS | METH_KEYWORDS, "drag_float(label, v, v_speed=1.0f, v_min=0.0f, v_max=0.0f, format=\"%.3f\", flags=0) -> ImGui::DragFloat" },
{ "drag_float2", (PyCFunction)(void (*)(void))bid_ImGui_drag_float2, METH_VARARGS | METH_KEYWORDS, "drag_float2(label, v, v_speed=1.0f, v_min=0.0f, v_max=0.0f, format=\"%.3f\", flags=0) -> ImGui::DragFloat2" },
{ "drag_float3", (PyCFunction)(void (*)(void))bid_ImGui_drag_float3, METH_VARARGS | METH_KEYWORDS, "drag_float3(label, v, v_speed=1.0f, v_min=0.0f, v_max=0.0f, format=\"%.3f\", flags=0) -> ImGui::DragFloat3" },
{ "drag_float4", (PyCFunction)(void (*)(void))bid_ImGui_drag_float4, METH_VARARGS | METH_KEYWORDS, "drag_float4(label, v, v_speed=1.0f, v_min=0.0f, v_max=0.0f, format=\"%.3f\", flags=0) -> ImGui::DragFloat4" },
{ "drag_float_range2", (PyCFunction)(void (*)(void))bid_ImGui_drag_float_range2, METH_VARARGS | METH_KEYWORDS, "drag_float_range2(label, v_current_min, v_current_max, v_speed=1.0f, v_min=0.0f, v_max=0.0f, format=\"%.3f\", format_max=NULL, flags=0) -> ImGui::DragFloatRange2" },
{ "drag_int", (PyCFunction)(void (*)(void))bid_ImGui_drag_int, METH_VARARGS | METH_KEYWORDS, "drag_int(label, v, v_speed=1.0f, v_min=0, v_max=0, format=\"%d\", flags=0) -> ImGui::DragInt" },
{ "drag_int2", (PyCFunction)(void (*)(void))bid_ImGui_drag_int2, METH_VARARGS | METH_KEYWORDS, "drag_int2(label, v, v_speed=1.0f, v_min=0, v_max=0, format=\"%d\", flags=0) -> ImGui::DragInt2" },
{ "drag_int3", (PyCFunction)(void (*)(void))bid_ImGui_drag_int3, METH_VARARGS | METH_KEYWORDS, "drag_int3(label, v, v_speed=1.0f, v_min=0, v_max=0, format=\"%d\", flags=0) -> ImGui::DragInt3" },
{ "drag_int4", (PyCFunction)(void (*)(void))bid_ImGui_drag_int4, METH_VARARGS | METH_KEYWORDS, "drag_int4(label, v, v_speed=1.0f, v_min=0, v_max=0, format=\"%d\", flags=0) -> ImGui::DragInt4" },
{ "drag_int_range2", (PyCFunction)(void (*)(void))bid_ImGui_drag_int_range2, METH_VARARGS | METH_KEYWORDS, "drag_int_range2(label, v_current_min, v_current_max, v_speed=1.0f, v_min=0, v_max=0, format=\"%d\", format_max=NULL, flags=0) -> ImGui::DragIntRange2" },
{ "slider_float", (PyCFunction)(void (*)(void))bid_ImGui_slider_float, METH_VARARGS | METH_KEYWORDS, "slider_float(label, v, v_min, v_max, format=\"%.3f\", flags=0) -> ImGui::SliderFloat" },
{ "slider_float2", (PyCFunction)(void (*)(void))bid_ImGui_slider_float2, METH_VARARGS | METH_KEYWORDS, "slider_float2(label, v, v_min, v_max, format=\"%.3f\", flags=0) -> ImGui::SliderFloat2" },
{ "slider_float3", (PyCFunction)(void (*)(void))bid_ImGui_slider_float3, METH_VARARGS | METH_KEYWORDS, "slider_float3(label, v, v_min, v_max, format=\"%.3f\", flags=0) -> ImGui::SliderFloat3" },
{ "slider_float4", (PyCFunction)(void (*)(void))bid_ImGui_slider_float4, METH_VARARGS | METH_KEYWORDS, "slider_float4(label, v, v_min, v_max, format=\"%.3f\", flags=0) -> ImGui::SliderFloat4" },
{ "slider_angle", (PyCFunction)(void (*)(void))bid_ImGui_slider_angle, METH_VARARGS | METH_KEYWORDS, "slider_angle(label, v_rad, v_degrees_min=- 360.0f, v_degrees_max=+ 360.0f, format=\"%.0f deg\", flags=0) -> ImGui::SliderAngle" },
{ "slider_int", (PyCFunction)(void (*)(void))bid_ImGui_slider_int, METH_VARARGS | METH_KEYWORDS, "slider_int(label, v, v_min, v_max, format=\"%d\", flags=0) -> ImGui::SliderInt" },
{ "slider_int2", (PyCFunction)(void (*)(void))bid_ImGui_slider_int2, METH_VARARGS | METH_KEYWORDS, "slider_int2(label, v, v_min, v_max, format=\"%d\", flags=0) -> ImGui::SliderInt2" },
{ "slider_int3", (PyCFunction)(void (*)(void))bid_ImGui_slider_int3, METH_VARARGS | METH_KEYWORDS, "slider_int3(label, v, v_min, v_max, format=\"%d\", flags=0) -> ImGui::SliderInt3" },
{ "slider_int4", (PyCFunction)(void (*)(void))bid_ImGui_slider_int4, METH_VARARGS | METH_KEYWORDS, "slider_int4(label, v, v_min, v_max, format=\"%d\", flags=0) -> ImGui::SliderInt4" },
{ "v_slider_float", (PyCFunction)(void (*)(void))bid_ImGui_v_slider_float, METH_VARARGS | METH_KEYWORDS, "v_slider_float(label, size, v, v_min, v_max, format=\"%.3f\", flags=0) -> ImGui::VSliderFloat" },
{ "v_slider_int", (PyCFunction)(void (*)(void))bid_ImGui_v_slider_int, METH_VARARGS | METH_KEYWORDS, "v_slider_int(label, size, v, v_min, v_max, format=\"%d\", flags=0) -> ImGui::VSliderInt" },
{ "input_text", (PyCFunction)(void (*)(void))bid_ImGui_input_text, METH_VARARGS | METH_KEYWORDS, "input_text(label, buf, flags=0) -> ImGui::InputText" },
{ "input_text_multiline", (PyCFunction)(void (*)(void))bid_ImGui_input_text_multiline, METH_VARARGS | METH_KEYWORDS, "input_text_multiline(label, buf, size=ImVec2(0, 0), flags=0) -> ImGui::InputTextMultiline" },
{ "input_text_with_hint", (PyCFunction)(void (*)(void))bid_ImGui_input_text_with_hint, METH_VARARGS | METH_KEYWORDS, "input_text_with_hint(label, hint, buf, flags=0) -> ImGui::InputTextWithHint" },
{ "input_float", (PyCFunction)(void (*)(void))bid_ImGui_input_float, METH_VARARGS | METH_KEYWORDS, "input_float(label, v, step=0.0f, step_fast=0.0f, format=\"%.3f\", flags=0) -> ImGui::InputFloat" },
{ "input_float2", (PyCFunction)(void (*)(void))bid_ImGui_input_float2, METH_VARARGS | METH_KEYWORDS, "input_float2(label, v, format=\"%.3f\", flags=0) -> ImGui::InputFloat2" },
{ "input_float3", (PyCFunction)(void (*)(void))bid_ImGui_input_float3, METH_VARARGS | METH_KEYWORDS, "input_float3(label, v, format=\"%.3f\", flags=0) -> ImGui::InputFloat3" },
{ "input_float4", (PyCFunction)(void (*)(void))bid_ImGui_input_float4, METH_VARARGS | METH_KEYWORDS, "input_float4(label, v, format=\"%.3f\", flags=0) -> ImGui::InputFloat4" },
{ "input_int", (PyCFunction)(void (*)(void))bid_ImGui_input_int, METH_VARARGS | METH_KEYWORDS, "input_int(label, v, step=1, step_fast=100, flags=0) -> ImGui::InputInt" },
{ "input_int2", (PyCFunction)(void (*)(void))bid_ImGui_input_int2, METH_VARARGS | METH_KEYWORDS, "input_int2(label, v, flags=0) -> ImGui::InputInt2" },
{ "input_int3", (PyCFunction)(void (*)(void))bid_ImGui_input_int3, METH_VARARGS | METH_KEYWORDS, "input_int3(label, v, flags=0) -> ImGui::InputInt3" },
{ "input_int4", (PyCFunction)(void (*)(void))bid_ImGui_input_int4, METH_VARARGS | METH_KEYWORDS, "input_int4(label, v, flags=0) -> ImGui::InputInt4" },
{ "input_double", (PyCFunction)(void (*)(void))bid_ImGui_input_double, METH_VARARGS | METH_KEYWORDS, "input_double(label, v, step=0.0, step_fast=0.0, format=\"%.6f\", flags=0) -> ImGui::InputDouble" },
{ "color_edit3", (PyCFunction)(void (*)(void))bid_ImGui_color_edit3, METH_VARARGS | METH_KEYWORDS, "color_edit3(label, col, flags=0) -> ImGui::ColorEdit3" },
{ "color_edit4", (PyCFunction)(void (*)(void))bid_ImGui_color_edit4, METH_VARARGS | METH_KEYWORDS, "color_edit4(label, col, flags=0) -> ImGui::ColorEdit4" },
{ "color_picker3", (PyCFunction)(void (*)(void))bid_ImGui_color_picker3, METH_VARARGS | METH_KEYWORDS, "color_picker3(label, col, flags=0) -> ImGui::ColorPicker3" },
{ "color_picker4", (PyCFunction)(void (*)(void))bid_ImGui_color_picker4, METH_VARARGS | METH_KEYWORDS, "color_picker4(label, col, flags=0) -> ImGui::ColorPicker4" },
{ "color_button", (PyCFunction)(void (*)(void))bid_ImGui_color_button, METH_VARARGS | METH_KEYWORDS, "color_button(desc_id, col, flags=0, size=ImVec2(0, 0)) -> ImGui::ColorButton" },
{ "tree_node", (PyCFunction)(void (*)(void))bid_ImGui_tree_node, METH_VARARGS | METH_KEYWORDS, "tree_node(label) -> ImGui::TreeNode\ntree_node(str_id, text) -> ImGui::TreeNode" },
{ "tree_node_str", (PyCFunction)(void (*)(void))bid1_ImGui_TreeNodeStr, METH_VARARGS | METH_KEYWORDS, "tree_node(label) -> ImGui::TreeNode\ntree_node(str_id, text) -> ImGui::TreeNode" },
{ "tree_node_ex", (PyCFunction)(void (*)(void))bid_ImGui_tree_node_ex, METH_VARARGS | METH_KEYWORDS, "tree_node_ex(label, flags=0) -> ImGui::TreeNodeEx\ntree_node_ex(str_id, flags, text) -> ImGui::TreeNodeEx" },
{ "tree_node_ex_str", (PyCFunction)(void (*)(void))bid1_ImGui_TreeNodeExStr, METH_VARARGS | METH_KEYWORDS, "tree_node_ex(label, flags=0) -> ImGui::TreeNodeEx\ntree_node_ex(str_id, flags, text) -> ImGui::TreeNodeEx" },
{ "tree_push", (PyCFunction)(void (*)(void))bid_ImGui_tree_push, METH_VARARGS | METH_KEYWORDS, "tree_push(str_id) -> ImGui::TreePush" },
{ "tree_pop", (PyCFunction)(void (*)(void))bid_ImGui_tree_pop, METH_VARARGS | METH_KEYWORDS, "tree_pop() -> ImGui::TreePop" },
{ "get_tree_node_to_label_spacing", (PyCFunction)(void (*)(void))bid_ImGui_get_tree_node_to_label_spacing, METH_VARARGS | METH_KEYWORDS, "get_tree_node_to_label_spacing() -> ImGui::GetTreeNodeToLabelSpacing" },
{ "collapsing_header", (PyCFunction)(void (*)(void))bid_ImGui_collapsing_header, METH_VARARGS | METH_KEYWORDS, "collapsing_header(label, flags=0) -> ImGui::CollapsingHeader\ncollapsing_header(label, p_visible, flags=0) -> ImGui::CollapsingHeader" },
{ "collapsing_header_bool_ptr", (PyCFunction)(void (*)(void))bid1_ImGui_CollapsingHeaderBoolPtrEx, METH_VARARGS | METH_KEYWORDS, "collapsing_header(label, flags=0) -> ImGui::CollapsingHeader\ncollapsing_header(label, p_visible, flags=0) -> ImGui::CollapsingHeader" },
{ "set_next_item_open", (PyCFunction)(void (*)(void))bid_ImGui_set_next_item_open, METH_VARARGS | METH_KEYWORDS, "set_next_item_open(is_open, cond=0) -> ImGui::SetNextItemOpen" },
{ "set_next_item_storage_id", (PyCFunction)(void (*)(void))bid_ImGui_set_next_item_storage_id, METH_VARARGS | METH_KEYWORDS, "set_next_item_storage_id(storage_id) -> ImGui::SetNextItemStorageID" },
{ "tree_node_get_open", (PyCFunction)(void (*)(void))bid_ImGui_tree_node_get_open, METH_VARARGS | METH_KEYWORDS, "tree_node_get_open(storage_id, flags=0) -> ImGui::TreeNodeGetOpen" },
{ "selectable", (PyCFunction)(void (*)(void))bid_ImGui_selectable, METH_VARARGS | METH_KEYWORDS, "selectable(label, selected=false, flags=0, size=ImVec2(0, 0)) -> ImGui::Selectable\nselectable(label, p_selected, flags=0, size=ImVec2(0, 0)) -> ImGui::Selectable" },
{ "selectable_bool_ptr", (PyCFunction)(void (*)(void))bid1_ImGui_SelectableBoolPtrEx, METH_VARARGS | METH_KEYWORDS, "selectable(label, selected=false, flags=0, size=ImVec2(0, 0)) -> ImGui::Selectable\nselectable(label, p_selected, flags=0, size=ImVec2(0, 0)) -> ImGui::Selectable" },
{ "begin_multi_select", (PyCFunction)(void (*)(void))bid_ImGui_begin_multi_select, METH_VARARGS | METH_KEYWORDS, "begin_multi_select(flags, selection_size=- 1, items_count=- 1) -> ImGui::BeginMultiSelect" },
{ "end_multi_select", (PyCFunction)(void (*)(void))bid_ImGui_end_multi_select, METH_VARARGS | METH_KEYWORDS, "end_multi_select() -> ImGui::EndMultiSelect" },
{ "set_next_item_selection_user_data", (PyCFunction)(void (*)(void))bid_ImGui_set_next_item_selection_user_data, METH_VARARGS | METH_KEYWORDS, "set_next_item_selection_user_data(selection_user_data) -> ImGui::SetNextItemSelectionUserData" },
{ "is_item_toggled_selection", (PyCFunction)(void (*)(void))bid_ImGui_is_item_toggled_selection, METH_VARARGS | METH_KEYWORDS, "is_item_toggled_selection() -> ImGui::IsItemToggledSelection" },
{ "begin_list_box", (PyCFunction)(void (*)(void))bid_ImGui_begin_list_box, METH_VARARGS | METH_KEYWORDS, "begin_list_box(label, size=ImVec2(0, 0)) -> ImGui::BeginListBox" },
{ "end_list_box", (PyCFunction)(void (*)(void))bid_ImGui_end_list_box, METH_VARARGS | METH_KEYWORDS, "end_list_box() -> ImGui::EndListBox" },
{ "list_box", (PyCFunction)(void (*)(void))bid_ImGui_list_box, METH_VARARGS | METH_KEYWORDS, "list_box(label, current_item, items, height_in_items=- 1) -> ImGui::ListBox" },
{ "plot_lines", (PyCFunction)(void (*)(void))bid_ImGui_plot_lines, METH_VARARGS | METH_KEYWORDS, "plot_lines(label, values, values_offset=0, overlay_text=NULL, scale_min=FLT_MAX, scale_max=FLT_MAX, graph_size=ImVec2(0, 0), stride=sizeof(float)) -> ImGui::PlotLines" },
{ "plot_histogram", (PyCFunction)(void (*)(void))bid_ImGui_plot_histogram, METH_VARARGS | METH_KEYWORDS, "plot_histogram(label, values, values_offset=0, overlay_text=NULL, scale_min=FLT_MAX, scale_max=FLT_MAX, graph_size=ImVec2(0, 0), stride=sizeof(float)) -> ImGui::PlotHistogram" },
{ "value", (PyCFunction)(void (*)(void))bid_ImGui_value, METH_VARARGS | METH_KEYWORDS, "value(prefix, b) -> ImGui::Value\nvalue(prefix, v) -> ImGui::Value\nvalue(prefix, v) -> ImGui::Value\nvalue(prefix, v, float_format=NULL) -> ImGui::Value" },
{ "value_int", (PyCFunction)(void (*)(void))bid1_ImGui_ValueInt, METH_VARARGS | METH_KEYWORDS, "value(prefix, b) -> ImGui::Value\nvalue(prefix, v) -> ImGui::Value\nvalue(prefix, v) -> ImGui::Value\nvalue(prefix, v, float_format=NULL) -> ImGui::Value" },
{ "value_u_int", (PyCFunction)(void (*)(void))bid1_ImGui_ValueUInt, METH_VARARGS | METH_KEYWORDS, "value(prefix, b) -> ImGui::Value\nvalue(prefix, v) -> ImGui::Value\nvalue(prefix, v) -> ImGui::Value\nvalue(prefix, v, float_format=NULL) -> ImGui::Value" },
{ "value_float", (PyCFunction)(void (*)(void))bid1_ImGui_ValueFloatEx, METH_VARARGS | METH_KEYWORDS, "value(prefix, b) -> ImGui::Value\nvalue(prefix, v) -> ImGui::Value\nvalue(prefix, v) -> ImGui::Value\nvalue(prefix, v, float_format=NULL) -> ImGui::Value" },
{ "begin_menu_bar", (PyCFunction)(void (*)(void))bid_ImGui_begin_menu_bar, METH_VARARGS | METH_KEYWORDS, "begin_menu_bar() -> ImGui::BeginMenuBar" },
{ "end_menu_bar", (PyCFunction)(void (*)(void))bid_ImGui_end_menu_bar, METH_VARARGS | METH_KEYWORDS, "end_menu_bar() -> ImGui::EndMenuBar" },
{ "begin_main_menu_bar", (PyCFunction)(void (*)(void))bid_ImGui_begin_main_menu_bar, METH_VARARGS | METH_KEYWORDS, "begin_main_menu_bar() -> ImGui::BeginMainMenuBar" },
{ "end_main_menu_bar", (PyCFunction)(void (*)(void))bid_ImGui_end_main_menu_bar, METH_VARARGS | METH_KEYWORDS, "end_main_menu_bar() -> ImGui::EndMainMenuBar" },
{ "begin_menu", (PyCFunction)(void (*)(void))bid_ImGui_begin_menu, METH_VARARGS | METH_KEYWORDS, "begin_menu(label, enabled=true) -> ImGui::BeginMenu" },
{ "end_menu", (PyCFunction)(void (*)(void))bid_ImGui_end_menu, METH_VARARGS | METH_KEYWORDS, "end_menu() -> ImGui::EndMenu" },
{ "menu_item", (PyCFunction)(void (*)(void))bid_ImGui_menu_item, METH_VARARGS | METH_KEYWORDS, "menu_item(label, shortcut=NULL, selected=false, enabled=true) -> ImGui::MenuItem\nmenu_item(label, shortcut, p_selected, enabled=true) -> ImGui::MenuItem" },
{ "menu_item_bool_ptr", (PyCFunction)(void (*)(void))bid1_ImGui_MenuItemBoolPtrEx, METH_VARARGS | METH_KEYWORDS, "menu_item(label, shortcut=NULL, selected=false, enabled=true) -> ImGui::MenuItem\nmenu_item(label, shortcut, p_selected, enabled=true) -> ImGui::MenuItem" },
{ "begin_tooltip", (PyCFunction)(void (*)(void))bid_ImGui_begin_tooltip, METH_VARARGS | METH_KEYWORDS, "begin_tooltip() -> ImGui::BeginTooltip" },
{ "end_tooltip", (PyCFunction)(void (*)(void))bid_ImGui_end_tooltip, METH_VARARGS | METH_KEYWORDS, "end_tooltip() -> ImGui::EndTooltip" },
{ "set_tooltip", (PyCFunction)(void (*)(void))bid_ImGui_set_tooltip, METH_VARARGS | METH_KEYWORDS, "set_tooltip(text) -> ImGui::SetTooltip" },
{ "begin_item_tooltip", (PyCFunction)(void (*)(void))bid_ImGui_begin_item_tooltip, METH_VARARGS | METH_KEYWORDS, "begin_item_tooltip() -> ImGui::BeginItemTooltip" },
{ "set_item_tooltip", (PyCFunction)(void (*)(void))bid_ImGui_set_item_tooltip, METH_VARARGS | METH_KEYWORDS, "set_item_tooltip(text) -> ImGui::SetItemTooltip" },
{ "begin_popup", (PyCFunction)(void (*)(void))bid_ImGui_begin_popup, METH_VARARGS | METH_KEYWORDS, "begin_popup(str_id, flags=0) -> ImGui::BeginPopup" },
{ "begin_popup_modal", (PyCFunction)(void (*)(void))bid_ImGui_begin_popup_modal, METH_VARARGS | METH_KEYWORDS, "begin_popup_modal(name, p_open=NULL, flags=0) -> ImGui::BeginPopupModal" },
{ "end_popup", (PyCFunction)(void (*)(void))bid_ImGui_end_popup, METH_VARARGS | METH_KEYWORDS, "end_popup() -> ImGui::EndPopup" },
{ "open_popup", (PyCFunction)(void (*)(void))bid_ImGui_open_popup, METH_VARARGS | METH_KEYWORDS, "open_popup(str_id, popup_flags=0) -> ImGui::OpenPopup\nopen_popup(id, popup_flags=0) -> ImGui::OpenPopup" },
{ "open_popup_id", (PyCFunction)(void (*)(void))bid1_ImGui_OpenPopupIDEx, METH_VARARGS | METH_KEYWORDS, "open_popup(str_id, popup_flags=0) -> ImGui::OpenPopup\nopen_popup(id, popup_flags=0) -> ImGui::OpenPopup" },
{ "open_popup_on_item_click", (PyCFunction)(void (*)(void))bid_ImGui_open_popup_on_item_click, METH_VARARGS | METH_KEYWORDS, "open_popup_on_item_click(str_id=NULL, popup_flags=0) -> ImGui::OpenPopupOnItemClick" },
{ "close_current_popup", (PyCFunction)(void (*)(void))bid_ImGui_close_current_popup, METH_VARARGS | METH_KEYWORDS, "close_current_popup() -> ImGui::CloseCurrentPopup" },
{ "begin_popup_context_item", (PyCFunction)(void (*)(void))bid_ImGui_begin_popup_context_item, METH_VARARGS | METH_KEYWORDS, "begin_popup_context_item(str_id=NULL, popup_flags=0) -> ImGui::BeginPopupContextItem" },
{ "begin_popup_context_window", (PyCFunction)(void (*)(void))bid_ImGui_begin_popup_context_window, METH_VARARGS | METH_KEYWORDS, "begin_popup_context_window(str_id=NULL, popup_flags=0) -> ImGui::BeginPopupContextWindow" },
{ "begin_popup_context_void", (PyCFunction)(void (*)(void))bid_ImGui_begin_popup_context_void, METH_VARARGS | METH_KEYWORDS, "begin_popup_context_void(str_id=NULL, popup_flags=0) -> ImGui::BeginPopupContextVoid" },
{ "is_popup_open", (PyCFunction)(void (*)(void))bid_ImGui_is_popup_open, METH_VARARGS | METH_KEYWORDS, "is_popup_open(str_id, flags=0) -> ImGui::IsPopupOpen" },
{ "begin_table", (PyCFunction)(void (*)(void))bid_ImGui_begin_table, METH_VARARGS | METH_KEYWORDS, "begin_table(str_id, columns, flags=0, outer_size=ImVec2(0.0f, 0.0f), inner_width=0.0f) -> ImGui::BeginTable" },
{ "end_table", (PyCFunction)(void (*)(void))bid_ImGui_end_table, METH_VARARGS | METH_KEYWORDS, "end_table() -> ImGui::EndTable" },
{ "table_next_row", (PyCFunction)(void (*)(void))bid_ImGui_table_next_row, METH_VARARGS | METH_KEYWORDS, "table_next_row(row_flags=0, min_row_height=0.0f) -> ImGui::TableNextRow" },
{ "table_next_column", (PyCFunction)(void (*)(void))bid_ImGui_table_next_column, METH_VARARGS | METH_KEYWORDS, "table_next_column() -> ImGui::TableNextColumn" },
{ "table_set_column_index", (PyCFunction)(void (*)(void))bid_ImGui_table_set_column_index, METH_VARARGS | METH_KEYWORDS, "table_set_column_index(column_n) -> ImGui::TableSetColumnIndex" },
{ "table_setup_column", (PyCFunction)(void (*)(void))bid_ImGui_table_setup_column, METH_VARARGS | METH_KEYWORDS, "table_setup_column(label, flags=0, init_width_or_weight=0.0f, user_data=0) -> ImGui::TableSetupColumn" },
{ "table_setup_scroll_freeze", (PyCFunction)(void (*)(void))bid_ImGui_table_setup_scroll_freeze, METH_VARARGS | METH_KEYWORDS, "table_setup_scroll_freeze(cols, rows) -> ImGui::TableSetupScrollFreeze" },
{ "table_header", (PyCFunction)(void (*)(void))bid_ImGui_table_header, METH_VARARGS | METH_KEYWORDS, "table_header(label) -> ImGui::TableHeader" },
{ "table_headers_row", (PyCFunction)(void (*)(void))bid_ImGui_table_headers_row, METH_VARARGS | METH_KEYWORDS, "table_headers_row() -> ImGui::TableHeadersRow" },
{ "table_angled_headers_row", (PyCFunction)(void (*)(void))bid_ImGui_table_angled_headers_row, METH_VARARGS | METH_KEYWORDS, "table_angled_headers_row() -> ImGui::TableAngledHeadersRow" },
{ "table_get_sort_specs", (PyCFunction)(void (*)(void))bid_ImGui_table_get_sort_specs, METH_VARARGS | METH_KEYWORDS, "table_get_sort_specs() -> ImGui::TableGetSortSpecs" },
{ "table_get_column_count", (PyCFunction)(void (*)(void))bid_ImGui_table_get_column_count, METH_VARARGS | METH_KEYWORDS, "table_get_column_count() -> ImGui::TableGetColumnCount" },
{ "table_get_column_index", (PyCFunction)(void (*)(void))bid_ImGui_table_get_column_index, METH_VARARGS | METH_KEYWORDS, "table_get_column_index() -> ImGui::TableGetColumnIndex" },
{ "table_get_row_index", (PyCFunction)(void (*)(void))bid_ImGui_table_get_row_index, METH_VARARGS | METH_KEYWORDS, "table_get_row_index() -> ImGui::TableGetRowIndex" },
{ "table_get_column_name", (PyCFunction)(void (*)(void))bid_ImGui_table_get_column_name, METH_VARARGS | METH_KEYWORDS, "table_get_column_name(column_n=- 1) -> ImGui::TableGetColumnName" },
{ "table_get_column_flags", (PyCFunction)(void (*)(void))bid_ImGui_table_get_column_flags, METH_VARARGS | METH_KEYWORDS, "table_get_column_flags(column_n=- 1) -> ImGui::TableGetColumnFlags" },
{ "table_set_column_enabled", (PyCFunction)(void (*)(void))bid_ImGui_table_set_column_enabled, METH_VARARGS | METH_KEYWORDS, "table_set_column_enabled(column_n, v) -> ImGui::TableSetColumnEnabled" },
{ "table_get_hovered_column", (PyCFunction)(void (*)(void))bid_ImGui_table_get_hovered_column, METH_VARARGS | METH_KEYWORDS, "table_get_hovered_column() -> ImGui::TableGetHoveredColumn" },
{ "table_set_bg_color", (PyCFunction)(void (*)(void))bid_ImGui_table_set_bg_color, METH_VARARGS | METH_KEYWORDS, "table_set_bg_color(target, color, column_n=- 1) -> ImGui::TableSetBgColor" },
{ "columns", (PyCFunction)(void (*)(void))bid_ImGui_columns, METH_VARARGS | METH_KEYWORDS, "columns(count=1, id=NULL, borders=true) -> ImGui::Columns" },
{ "next_column", (PyCFunction)(void (*)(void))bid_ImGui_next_column, METH_VARARGS | METH_KEYWORDS, "next_column() -> ImGui::NextColumn" },
{ "get_column_index", (PyCFunction)(void (*)(void))bid_ImGui_get_column_index, METH_VARARGS | METH_KEYWORDS, "get_column_index() -> ImGui::GetColumnIndex" },
{ "get_column_width", (PyCFunction)(void (*)(void))bid_ImGui_get_column_width, METH_VARARGS | METH_KEYWORDS, "get_column_width(column_index=- 1) -> ImGui::GetColumnWidth" },
{ "set_column_width", (PyCFunction)(void (*)(void))bid_ImGui_set_column_width, METH_VARARGS | METH_KEYWORDS, "set_column_width(column_index, width) -> ImGui::SetColumnWidth" },
{ "get_column_offset", (PyCFunction)(void (*)(void))bid_ImGui_get_column_offset, METH_VARARGS | METH_KEYWORDS, "get_column_offset(column_index=- 1) -> ImGui::GetColumnOffset" },
{ "set_column_offset", (PyCFunction)(void (*)(void))bid_ImGui_set_column_offset, METH_VARARGS | METH_KEYWORDS, "set_column_offset(column_index, offset_x) -> ImGui::SetColumnOffset" },
{ "get_columns_count", (PyCFunction)(void (*)(void))bid_ImGui_get_columns_count, METH_VARARGS | METH_KEYWORDS, "get_columns_count() -> ImGui::GetColumnsCount" },
{ "begin_tab_bar", (PyCFunction)(void (*)(void))bid_ImGui_begin_tab_bar, METH_VARARGS | METH_KEYWORDS, "begin_tab_bar(str_id, flags=0) -> ImGui::BeginTabBar" },
{ "end_tab_bar", (PyCFunction)(void (*)(void))bid_ImGui_end_tab_bar, METH_VARARGS | METH_KEYWORDS, "end_tab_bar() -> ImGui::EndTabBar" },
{ "begin_tab_item", (PyCFunction)(void (*)(void))bid_ImGui_begin_tab_item, METH_VARARGS | METH_KEYWORDS, "begin_tab_item(label, p_open=NULL, flags=0) -> ImGui::BeginTabItem" },
{ "end_tab_item", (PyCFunction)(void (*)(void))bid_ImGui_end_tab_item, METH_VARARGS | METH_KEYWORDS, "end_tab_item() -> ImGui::EndTabItem" },
{ "tab_item_button", (PyCFunction)(void (*)(void))bid_ImGui_tab_item_button, METH_VARARGS | METH_KEYWORDS, "tab_item_button(label, flags=0) -> ImGui::TabItemButton" },
{ "set_tab_item_closed", (PyCFunction)(void (*)(void))bid_ImGui_set_tab_item_closed, METH_VARARGS | METH_KEYWORDS, "set_tab_item_closed(tab_or_docked_window_label) -> ImGui::SetTabItemClosed" },
{ "log_to_tty", (PyCFunction)(void (*)(void))bid_ImGui_log_to_tty, METH_VARARGS | METH_KEYWORDS, "log_to_tty(auto_open_depth=- 1) -> ImGui::LogToTTY" },
{ "log_to_file", (PyCFunction)(void (*)(void))bid_ImGui_log_to_file, METH_VARARGS | METH_KEYWORDS, "log_to_file(auto_open_depth=- 1, filename=NULL) -> ImGui::LogToFile" },
{ "log_to_clipboard", (PyCFunction)(void (*)(void))bid_ImGui_log_to_clipboard, METH_VARARGS | METH_KEYWORDS, "log_to_clipboard(auto_open_depth=- 1) -> ImGui::LogToClipboard" },
{ "log_finish", (PyCFunction)(void (*)(void))bid_ImGui_log_finish, METH_VARARGS | METH_KEYWORDS, "log_finish() -> ImGui::LogFinish" },
{ "log_buttons", (PyCFunction)(void (*)(void))bid_ImGui_log_buttons, METH_VARARGS | METH_KEYWORDS, "log_buttons() -> ImGui::LogButtons" },
{ "log_text", (PyCFunction)(void (*)(void))bid_ImGui_log_text, METH_VARARGS | METH_KEYWORDS, "log_text(text) -> ImGui::LogText" },
{ "begin_drag_drop_source", (PyCFunction)(void (*)(void))bid_ImGui_begin_drag_drop_source, METH_VARARGS | METH_KEYWORDS, "begin_drag_drop_source(flags=0) -> ImGui::BeginDragDropSource" },
{ "set_drag_drop_payload", (PyCFunction)(void (*)(void))bid_ImGui_set_drag_drop_payload, METH_VARARGS | METH_KEYWORDS, "set_drag_drop_payload(type, data, cond=0) -> ImGui::SetDragDropPayload" },
{ "end_drag_drop_source", (PyCFunction)(void (*)(void))bid_ImGui_end_drag_drop_source, METH_VARARGS | METH_KEYWORDS, "end_drag_drop_source() -> ImGui::EndDragDropSource" },
{ "begin_drag_drop_target", (PyCFunction)(void (*)(void))bid_ImGui_begin_drag_drop_target, METH_VARARGS | METH_KEYWORDS, "begin_drag_drop_target() -> ImGui::BeginDragDropTarget" },
{ "accept_drag_drop_payload", (PyCFunction)(void (*)(void))bid_ImGui_accept_drag_drop_payload, METH_VARARGS | METH_KEYWORDS, "accept_drag_drop_payload(type, flags=0) -> ImGui::AcceptDragDropPayload" },
{ "end_drag_drop_target", (PyCFunction)(void (*)(void))bid_ImGui_end_drag_drop_target, METH_VARARGS | METH_KEYWORDS, "end_drag_drop_target() -> ImGui::EndDragDropTarget" },
{ "get_drag_drop_payload", (PyCFunction)(void (*)(void))bid_ImGui_get_drag_drop_payload, METH_VARARGS | METH_KEYWORDS, "get_drag_drop_payload() -> ImGui::GetDragDropPayload" },
{ "begin_disabled", (PyCFunction)(void (*)(void))bid_ImGui_begin_disabled, METH_VARARGS | METH_KEYWORDS, "begin_disabled(disabled=true) -> ImGui::BeginDisabled" },
{ "end_disabled", (PyCFunction)(void (*)(void))bid_ImGui_end_disabled, METH_VARARGS | METH_KEYWORDS, "end_disabled() -> ImGui::EndDisabled" },
{ "push_clip_rect", (PyCFunction)(void (*)(void))bid_ImGui_push_clip_rect, METH_VARARGS | METH_KEYWORDS, "push_clip_rect(clip_rect_min, clip_rect_max, intersect_with_current_clip_rect) -> ImGui::PushClipRect" },
{ "pop_clip_rect", (PyCFunction)(void (*)(void))bid_ImGui_pop_clip_rect, METH_VARARGS | METH_KEYWORDS, "pop_clip_rect() -> ImGui::PopClipRect" },
{ "set_item_default_focus", (PyCFunction)(void (*)(void))bid_ImGui_set_item_default_focus, METH_VARARGS | METH_KEYWORDS, "set_item_default_focus() -> ImGui::SetItemDefaultFocus" },
{ "set_keyboard_focus_here", (PyCFunction)(void (*)(void))bid_ImGui_set_keyboard_focus_here, METH_VARARGS | METH_KEYWORDS, "set_keyboard_focus_here(offset=0) -> ImGui::SetKeyboardFocusHere" },
{ "set_nav_cursor_visible", (PyCFunction)(void (*)(void))bid_ImGui_set_nav_cursor_visible, METH_VARARGS | METH_KEYWORDS, "set_nav_cursor_visible(visible) -> ImGui::SetNavCursorVisible" },
{ "set_next_item_allow_overlap", (PyCFunction)(void (*)(void))bid_ImGui_set_next_item_allow_overlap, METH_VARARGS | METH_KEYWORDS, "set_next_item_allow_overlap() -> ImGui::SetNextItemAllowOverlap" },
{ "is_item_hovered", (PyCFunction)(void (*)(void))bid_ImGui_is_item_hovered, METH_VARARGS | METH_KEYWORDS, "is_item_hovered(flags=0) -> ImGui::IsItemHovered" },
{ "is_item_active", (PyCFunction)(void (*)(void))bid_ImGui_is_item_active, METH_VARARGS | METH_KEYWORDS, "is_item_active() -> ImGui::IsItemActive" },
{ "is_item_focused", (PyCFunction)(void (*)(void))bid_ImGui_is_item_focused, METH_VARARGS | METH_KEYWORDS, "is_item_focused() -> ImGui::IsItemFocused" },
{ "is_item_clicked", (PyCFunction)(void (*)(void))bid_ImGui_is_item_clicked, METH_VARARGS | METH_KEYWORDS, "is_item_clicked(mouse_button=0) -> ImGui::IsItemClicked" },
{ "is_item_visible", (PyCFunction)(void (*)(void))bid_ImGui_is_item_visible, METH_VARARGS | METH_KEYWORDS, "is_item_visible() -> ImGui::IsItemVisible" },
{ "is_item_edited", (PyCFunction)(void (*)(void))bid_ImGui_is_item_edited, METH_VARARGS | METH_KEYWORDS, "is_item_edited() -> ImGui::IsItemEdited" },
{ "is_item_activated", (PyCFunction)(void (*)(void))bid_ImGui_is_item_activated, METH_VARARGS | METH_KEYWORDS, "is_item_activated() -> ImGui::IsItemActivated" },
{ "is_item_deactivated", (PyCFunction)(void (*)(void))bid_ImGui_is_item_deactivated, METH_VARARGS | METH_KEYWORDS, "is_item_deactivated() -> ImGui::IsItemDeactivated" },
{ "is_item_deactivated_after_edit", (PyCFunction)(void (*)(void))bid_ImGui_is_item_deactivated_after_edit, METH_VARARGS | METH_KEYWORDS, "is_item_deactivated_after_edit() -> ImGui::IsItemDeactivatedAfterEdit" },
{ "is_item_toggled_open", (PyCFunction)(void (*)(void))bid_ImGui_is_item_toggled_open, METH_VARARGS | METH_KEYWORDS, "is_item_toggled_open() -> ImGui::IsItemToggledOpen" },
{ "is_any_item_hovered", (PyCFunction)(void (*)(void))bid_ImGui_is_any_item_hovered, METH_VARARGS | METH_KEYWORDS, "is_any_item_hovered() -> ImGui::IsAnyItemHovered" },
{ "is_any_item_active", (PyCFunction)(void (*)(void))bid_ImGui_is_any_item_active, METH_VARARGS | METH_KEYWORDS, "is_any_item_active() -> ImGui::IsAnyItemActive" },
{ "is_any_item_focused", (PyCFunction)(void (*)(void))bid_ImGui_is_any_item_focused, METH_VARARGS | METH_KEYWORDS, "is_any_item_focused() -> ImGui::IsAnyItemFocused" },
{ "get_item_id", (PyCFunction)(void (*)(void))bid_ImGui_get_item_id, METH_VARARGS | METH_KEYWORDS, "get_item_id() -> ImGui::GetItemID" },
{ "get_item_rect_min", (PyCFunction)(void (*)(void))bid_ImGui_get_item_rect_min, METH_VARARGS | METH_KEYWORDS, "get_item_rect_min() -> ImGui::GetItemRectMin" },
{ "get_item_rect_max", (PyCFunction)(void (*)(void))bid_ImGui_get_item_rect_max, METH_VARARGS | METH_KEYWORDS, "get_item_rect_max() -> ImGui::GetItemRectMax" },
{ "get_item_rect_size", (PyCFunction)(void (*)(void))bid_ImGui_get_item_rect_size, METH_VARARGS | METH_KEYWORDS, "get_item_rect_size() -> ImGui::GetItemRectSize" },
{ "get_item_flags", (PyCFunction)(void (*)(void))bid_ImGui_get_item_flags, METH_VARARGS | METH_KEYWORDS, "get_item_flags() -> ImGui::GetItemFlags" },
{ "get_item_clicked_count_with_single_click_delay", (PyCFunction)(void (*)(void))bid_ImGui_get_item_clicked_count_with_single_click_delay, METH_VARARGS | METH_KEYWORDS, "get_item_clicked_count_with_single_click_delay(mouse_button=0, delay=- 1.0f) -> ImGui::GetItemClickedCountWithSingleClickDelay" },
{ "get_main_viewport", (PyCFunction)(void (*)(void))bid_ImGui_get_main_viewport, METH_VARARGS | METH_KEYWORDS, "get_main_viewport() -> ImGui::GetMainViewport" },
{ "get_background_draw_list", (PyCFunction)(void (*)(void))bid_ImGui_get_background_draw_list, METH_VARARGS | METH_KEYWORDS, "get_background_draw_list() -> ImGui::GetBackgroundDrawList" },
{ "get_foreground_draw_list", (PyCFunction)(void (*)(void))bid_ImGui_get_foreground_draw_list, METH_VARARGS | METH_KEYWORDS, "get_foreground_draw_list() -> ImGui::GetForegroundDrawList" },
{ "is_rect_visible", (PyCFunction)(void (*)(void))bid_ImGui_is_rect_visible, METH_VARARGS | METH_KEYWORDS, "is_rect_visible(size) -> ImGui::IsRectVisible\nis_rect_visible(rect_min, rect_max) -> ImGui::IsRectVisible" },
{ "is_rect_visible_vec2", (PyCFunction)(void (*)(void))bid1_ImGui_IsRectVisibleVec2, METH_VARARGS | METH_KEYWORDS, "is_rect_visible(size) -> ImGui::IsRectVisible\nis_rect_visible(rect_min, rect_max) -> ImGui::IsRectVisible" },
{ "get_time", (PyCFunction)(void (*)(void))bid_ImGui_get_time, METH_VARARGS | METH_KEYWORDS, "get_time() -> ImGui::GetTime" },
{ "get_frame_count", (PyCFunction)(void (*)(void))bid_ImGui_get_frame_count, METH_VARARGS | METH_KEYWORDS, "get_frame_count() -> ImGui::GetFrameCount" },
{ "get_draw_list_shared_data", (PyCFunction)(void (*)(void))bid_ImGui_get_draw_list_shared_data, METH_VARARGS | METH_KEYWORDS, "get_draw_list_shared_data() -> ImGui::GetDrawListSharedData" },
{ "get_style_color_name", (PyCFunction)(void (*)(void))bid_ImGui_get_style_color_name, METH_VARARGS | METH_KEYWORDS, "get_style_color_name(idx) -> ImGui::GetStyleColorName" },
{ "set_state_storage", (PyCFunction)(void (*)(void))bid_ImGui_set_state_storage, METH_VARARGS | METH_KEYWORDS, "set_state_storage(storage) -> ImGui::SetStateStorage" },
{ "get_state_storage", (PyCFunction)(void (*)(void))bid_ImGui_get_state_storage, METH_VARARGS | METH_KEYWORDS, "get_state_storage() -> ImGui::GetStateStorage" },
{ "calc_text_size", (PyCFunction)(void (*)(void))bid_ImGui_calc_text_size, METH_VARARGS | METH_KEYWORDS, "calc_text_size(text, text_end=NULL, hide_text_after_double_hash=false, wrap_width=- 1.0f) -> ImGui::CalcTextSize" },
{ "color_convert_u32_to_float4", (PyCFunction)(void (*)(void))bid_ImGui_color_convert_u32_to_float4, METH_VARARGS | METH_KEYWORDS, "color_convert_u32_to_float4(in_) -> ImGui::ColorConvertU32ToFloat4" },
{ "color_convert_float4_to_u32", (PyCFunction)(void (*)(void))bid_ImGui_color_convert_float4_to_u32, METH_VARARGS | METH_KEYWORDS, "color_convert_float4_to_u32(in_) -> ImGui::ColorConvertFloat4ToU32" },
{ "color_convert_rgb_to_hsv", (PyCFunction)(void (*)(void))bid_ImGui_color_convert_rgb_to_hsv, METH_VARARGS | METH_KEYWORDS, "color_convert_rgb_to_hsv(r, g, b) -> ImGui::ColorConvertRGBtoHSV" },
{ "color_convert_hsv_to_rgb", (PyCFunction)(void (*)(void))bid_ImGui_color_convert_hsv_to_rgb, METH_VARARGS | METH_KEYWORDS, "color_convert_hsv_to_rgb(h, s, v) -> ImGui::ColorConvertHSVtoRGB" },
{ "is_key_down", (PyCFunction)(void (*)(void))bid_ImGui_is_key_down, METH_VARARGS | METH_KEYWORDS, "is_key_down(key) -> ImGui::IsKeyDown" },
{ "is_key_pressed", (PyCFunction)(void (*)(void))bid_ImGui_is_key_pressed, METH_VARARGS | METH_KEYWORDS, "is_key_pressed(key, repeat=true) -> ImGui::IsKeyPressed" },
{ "is_key_released", (PyCFunction)(void (*)(void))bid_ImGui_is_key_released, METH_VARARGS | METH_KEYWORDS, "is_key_released(key) -> ImGui::IsKeyReleased" },
{ "is_key_chord_pressed", (PyCFunction)(void (*)(void))bid_ImGui_is_key_chord_pressed, METH_VARARGS | METH_KEYWORDS, "is_key_chord_pressed(key_chord) -> ImGui::IsKeyChordPressed" },
{ "get_key_pressed_amount", (PyCFunction)(void (*)(void))bid_ImGui_get_key_pressed_amount, METH_VARARGS | METH_KEYWORDS, "get_key_pressed_amount(key, repeat_delay, rate) -> ImGui::GetKeyPressedAmount" },
{ "get_key_name", (PyCFunction)(void (*)(void))bid_ImGui_get_key_name, METH_VARARGS | METH_KEYWORDS, "get_key_name(key) -> ImGui::GetKeyName" },
{ "set_next_frame_want_capture_keyboard", (PyCFunction)(void (*)(void))bid_ImGui_set_next_frame_want_capture_keyboard, METH_VARARGS | METH_KEYWORDS, "set_next_frame_want_capture_keyboard(want_capture_keyboard) -> ImGui::SetNextFrameWantCaptureKeyboard" },
{ "shortcut", (PyCFunction)(void (*)(void))bid_ImGui_shortcut, METH_VARARGS | METH_KEYWORDS, "shortcut(key_chord, flags=0) -> ImGui::Shortcut" },
{ "set_next_item_shortcut", (PyCFunction)(void (*)(void))bid_ImGui_set_next_item_shortcut, METH_VARARGS | METH_KEYWORDS, "set_next_item_shortcut(key_chord, flags=0) -> ImGui::SetNextItemShortcut" },
{ "set_item_key_owner", (PyCFunction)(void (*)(void))bid_ImGui_set_item_key_owner, METH_VARARGS | METH_KEYWORDS, "set_item_key_owner(key) -> ImGui::SetItemKeyOwner" },
{ "is_mouse_down", (PyCFunction)(void (*)(void))bid_ImGui_is_mouse_down, METH_VARARGS | METH_KEYWORDS, "is_mouse_down(button) -> ImGui::IsMouseDown" },
{ "is_mouse_clicked", (PyCFunction)(void (*)(void))bid_ImGui_is_mouse_clicked, METH_VARARGS | METH_KEYWORDS, "is_mouse_clicked(button, repeat=false) -> ImGui::IsMouseClicked" },
{ "is_mouse_released", (PyCFunction)(void (*)(void))bid_ImGui_is_mouse_released, METH_VARARGS | METH_KEYWORDS, "is_mouse_released(button) -> ImGui::IsMouseReleased" },
{ "is_mouse_double_clicked", (PyCFunction)(void (*)(void))bid_ImGui_is_mouse_double_clicked, METH_VARARGS | METH_KEYWORDS, "is_mouse_double_clicked(button) -> ImGui::IsMouseDoubleClicked" },
{ "is_mouse_released_with_delay", (PyCFunction)(void (*)(void))bid_ImGui_is_mouse_released_with_delay, METH_VARARGS | METH_KEYWORDS, "is_mouse_released_with_delay(button, delay=- 1.f) -> ImGui::IsMouseReleasedWithDelay" },
{ "get_mouse_clicked_count", (PyCFunction)(void (*)(void))bid_ImGui_get_mouse_clicked_count, METH_VARARGS | METH_KEYWORDS, "get_mouse_clicked_count(button) -> ImGui::GetMouseClickedCount" },
{ "is_mouse_hovering_rect", (PyCFunction)(void (*)(void))bid_ImGui_is_mouse_hovering_rect, METH_VARARGS | METH_KEYWORDS, "is_mouse_hovering_rect(r_min, r_max, clip=true) -> ImGui::IsMouseHoveringRect" },
{ "is_mouse_pos_valid", (PyCFunction)(void (*)(void))bid_ImGui_is_mouse_pos_valid, METH_VARARGS | METH_KEYWORDS, "is_mouse_pos_valid() -> ImGui::IsMousePosValid" },
{ "is_any_mouse_down", (PyCFunction)(void (*)(void))bid_ImGui_is_any_mouse_down, METH_VARARGS | METH_KEYWORDS, "is_any_mouse_down() -> ImGui::IsAnyMouseDown" },
{ "get_mouse_pos", (PyCFunction)(void (*)(void))bid_ImGui_get_mouse_pos, METH_VARARGS | METH_KEYWORDS, "get_mouse_pos() -> ImGui::GetMousePos" },
{ "get_mouse_pos_on_opening_current_popup", (PyCFunction)(void (*)(void))bid_ImGui_get_mouse_pos_on_opening_current_popup, METH_VARARGS | METH_KEYWORDS, "get_mouse_pos_on_opening_current_popup() -> ImGui::GetMousePosOnOpeningCurrentPopup" },
{ "is_mouse_dragging", (PyCFunction)(void (*)(void))bid_ImGui_is_mouse_dragging, METH_VARARGS | METH_KEYWORDS, "is_mouse_dragging(button, lock_threshold=- 1.0f) -> ImGui::IsMouseDragging" },
{ "get_mouse_drag_delta", (PyCFunction)(void (*)(void))bid_ImGui_get_mouse_drag_delta, METH_VARARGS | METH_KEYWORDS, "get_mouse_drag_delta(button=0, lock_threshold=- 1.0f) -> ImGui::GetMouseDragDelta" },
{ "reset_mouse_drag_delta", (PyCFunction)(void (*)(void))bid_ImGui_reset_mouse_drag_delta, METH_VARARGS | METH_KEYWORDS, "reset_mouse_drag_delta(button=0) -> ImGui::ResetMouseDragDelta" },
{ "get_mouse_cursor", (PyCFunction)(void (*)(void))bid_ImGui_get_mouse_cursor, METH_VARARGS | METH_KEYWORDS, "get_mouse_cursor() -> ImGui::GetMouseCursor" },
{ "set_mouse_cursor", (PyCFunction)(void (*)(void))bid_ImGui_set_mouse_cursor, METH_VARARGS | METH_KEYWORDS, "set_mouse_cursor(cursor_type) -> ImGui::SetMouseCursor" },
{ "set_next_frame_want_capture_mouse", (PyCFunction)(void (*)(void))bid_ImGui_set_next_frame_want_capture_mouse, METH_VARARGS | METH_KEYWORDS, "set_next_frame_want_capture_mouse(want_capture_mouse) -> ImGui::SetNextFrameWantCaptureMouse" },
{ "get_clipboard_text", (PyCFunction)(void (*)(void))bid_ImGui_get_clipboard_text, METH_VARARGS | METH_KEYWORDS, "get_clipboard_text() -> ImGui::GetClipboardText" },
{ "set_clipboard_text", (PyCFunction)(void (*)(void))bid_ImGui_set_clipboard_text, METH_VARARGS | METH_KEYWORDS, "set_clipboard_text(text) -> ImGui::SetClipboardText" },
{ "load_ini_settings_from_disk", (PyCFunction)(void (*)(void))bid_ImGui_load_ini_settings_from_disk, METH_VARARGS | METH_KEYWORDS, "load_ini_settings_from_disk(ini_filename) -> ImGui::LoadIniSettingsFromDisk" },
{ "load_ini_settings_from_memory", (PyCFunction)(void (*)(void))bid_ImGui_load_ini_settings_from_memory, METH_VARARGS | METH_KEYWORDS, "load_ini_settings_from_memory(ini_data, ini_size=0) -> ImGui::LoadIniSettingsFromMemory" },
{ "save_ini_settings_to_disk", (PyCFunction)(void (*)(void))bid_ImGui_save_ini_settings_to_disk, METH_VARARGS | METH_KEYWORDS, "save_ini_settings_to_disk(ini_filename) -> ImGui::SaveIniSettingsToDisk" },
{ "save_ini_settings_to_memory", (PyCFunction)(void (*)(void))bid_ImGui_save_ini_settings_to_memory, METH_VARARGS | METH_KEYWORDS, "save_ini_settings_to_memory(out_ini_size=NULL) -> ImGui::SaveIniSettingsToMemory" },
{ "debug_text_encoding", (PyCFunction)(void (*)(void))bid_ImGui_debug_text_encoding, METH_VARARGS | METH_KEYWORDS, "debug_text_encoding(text) -> ImGui::DebugTextEncoding" },
{ "debug_flash_style_color", (PyCFunction)(void (*)(void))bid_ImGui_debug_flash_style_color, METH_VARARGS | METH_KEYWORDS, "debug_flash_style_color(idx) -> ImGui::DebugFlashStyleColor" },
{ "debug_start_item_picker", (PyCFunction)(void (*)(void))bid_ImGui_debug_start_item_picker, METH_VARARGS | METH_KEYWORDS, "debug_start_item_picker() -> ImGui::DebugStartItemPicker" },
{ "debug_check_version_and_data_layout", (PyCFunction)(void (*)(void))bid_ImGui_debug_check_version_and_data_layout, METH_VARARGS | METH_KEYWORDS, "debug_check_version_and_data_layout(version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx) -> ImGui::DebugCheckVersionAndDataLayout" },
{ "debug_log", (PyCFunction)(void (*)(void))bid_ImGui_debug_log, METH_VARARGS | METH_KEYWORDS, "debug_log(text) -> ImGui::DebugLog" },
{ "mem_alloc", (PyCFunction)(void (*)(void))bid_ImGui_mem_alloc, METH_VARARGS | METH_KEYWORDS, "mem_alloc(size) -> ImGui::MemAlloc" },
{ nullptr, nullptr, 0, nullptr },
};
static PyMethodDef bi_methods_ImTextureRef[] = {
{ "get_tex_id", (PyCFunction)(void (*)(void))bid_ImTextureRef_get_tex_id, METH_VARARGS | METH_KEYWORDS, "get_tex_id() -> ImTextureRef::GetTexID" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImTextureRef[] = {
BI_FIELD(ImTextureRef, _TexData, "_tex_data"),
BI_FIELD(ImTextureRef, _TexData, "_TexData"),
BI_FIELD(ImTextureRef, _TexID, "_tex_id"),
BI_FIELD(ImTextureRef, _TexID, "_TexID"),
};
static BiField bi_fields_ImGuiTableSortSpecs[] = {
BI_FIELD(ImGuiTableSortSpecs, Specs, "specs"),
BI_FIELD(ImGuiTableSortSpecs, Specs, "Specs"),
BI_FIELD(ImGuiTableSortSpecs, SpecsCount, "specs_count"),
BI_FIELD(ImGuiTableSortSpecs, SpecsCount, "SpecsCount"),
BI_FIELD(ImGuiTableSortSpecs, SpecsDirty, "specs_dirty"),
BI_FIELD(ImGuiTableSortSpecs, SpecsDirty, "SpecsDirty"),
};
static BiField bi_fields_ImGuiTableColumnSortSpecs[] = {
BI_FIELD(ImGuiTableColumnSortSpecs, ColumnUserID, "column_user_id"),
BI_FIELD(ImGuiTableColumnSortSpecs, ColumnUserID, "ColumnUserID"),
BI_FIELD(ImGuiTableColumnSortSpecs, ColumnIndex, "column_index"),
BI_FIELD(ImGuiTableColumnSortSpecs, ColumnIndex, "ColumnIndex"),
BI_FIELD(ImGuiTableColumnSortSpecs, SortOrder, "sort_order"),
BI_FIELD(ImGuiTableColumnSortSpecs, SortOrder, "SortOrder"),
BI_FIELD(ImGuiTableColumnSortSpecs, SortDirection, "sort_direction"),
BI_FIELD(ImGuiTableColumnSortSpecs, SortDirection, "SortDirection"),
};
static PyMethodDef bi_methods_ImGuiStyle[] = {
{ "scale_all_sizes", (PyCFunction)(void (*)(void))bid_ImGuiStyle_scale_all_sizes, METH_VARARGS | METH_KEYWORDS, "scale_all_sizes(scale_factor) -> ImGuiStyle::ScaleAllSizes" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiStyle[] = {
BI_FIELD(ImGuiStyle, FontSizeBase, "font_size_base"),
BI_FIELD(ImGuiStyle, FontSizeBase, "FontSizeBase"),
BI_FIELD(ImGuiStyle, FontScaleMain, "font_scale_main"),
BI_FIELD(ImGuiStyle, FontScaleMain, "FontScaleMain"),
BI_FIELD(ImGuiStyle, FontScaleDpi, "font_scale_dpi"),
BI_FIELD(ImGuiStyle, FontScaleDpi, "FontScaleDpi"),
BI_FIELD(ImGuiStyle, Alpha, "alpha"),
BI_FIELD(ImGuiStyle, Alpha, "Alpha"),
BI_FIELD(ImGuiStyle, DisabledAlpha, "disabled_alpha"),
BI_FIELD(ImGuiStyle, DisabledAlpha, "DisabledAlpha"),
BI_FIELD(ImGuiStyle, WindowPadding, "window_padding"),
BI_FIELD(ImGuiStyle, WindowPadding, "WindowPadding"),
BI_FIELD(ImGuiStyle, WindowRounding, "window_rounding"),
BI_FIELD(ImGuiStyle, WindowRounding, "WindowRounding"),
BI_FIELD(ImGuiStyle, WindowBorderSize, "window_border_size"),
BI_FIELD(ImGuiStyle, WindowBorderSize, "WindowBorderSize"),
BI_FIELD(ImGuiStyle, WindowBorderHoverPadding, "window_border_hover_padding"),
BI_FIELD(ImGuiStyle, WindowBorderHoverPadding, "WindowBorderHoverPadding"),
BI_FIELD(ImGuiStyle, WindowMinSize, "window_min_size"),
BI_FIELD(ImGuiStyle, WindowMinSize, "WindowMinSize"),
BI_FIELD(ImGuiStyle, WindowTitleAlign, "window_title_align"),
BI_FIELD(ImGuiStyle, WindowTitleAlign, "WindowTitleAlign"),
BI_FIELD(ImGuiStyle, WindowMenuButtonPosition, "window_menu_button_position"),
BI_FIELD(ImGuiStyle, WindowMenuButtonPosition, "WindowMenuButtonPosition"),
BI_FIELD(ImGuiStyle, ChildRounding, "child_rounding"),
BI_FIELD(ImGuiStyle, ChildRounding, "ChildRounding"),
BI_FIELD(ImGuiStyle, ChildBorderSize, "child_border_size"),
BI_FIELD(ImGuiStyle, ChildBorderSize, "ChildBorderSize"),
BI_FIELD(ImGuiStyle, PopupRounding, "popup_rounding"),
BI_FIELD(ImGuiStyle, PopupRounding, "PopupRounding"),
BI_FIELD(ImGuiStyle, PopupBorderSize, "popup_border_size"),
BI_FIELD(ImGuiStyle, PopupBorderSize, "PopupBorderSize"),
BI_FIELD(ImGuiStyle, FramePadding, "frame_padding"),
BI_FIELD(ImGuiStyle, FramePadding, "FramePadding"),
BI_FIELD(ImGuiStyle, FrameRounding, "frame_rounding"),
BI_FIELD(ImGuiStyle, FrameRounding, "FrameRounding"),
BI_FIELD(ImGuiStyle, FrameBorderSize, "frame_border_size"),
BI_FIELD(ImGuiStyle, FrameBorderSize, "FrameBorderSize"),
BI_FIELD(ImGuiStyle, ItemSpacing, "item_spacing"),
BI_FIELD(ImGuiStyle, ItemSpacing, "ItemSpacing"),
BI_FIELD(ImGuiStyle, ItemInnerSpacing, "item_inner_spacing"),
BI_FIELD(ImGuiStyle, ItemInnerSpacing, "ItemInnerSpacing"),
BI_FIELD(ImGuiStyle, CellPadding, "cell_padding"),
BI_FIELD(ImGuiStyle, CellPadding, "CellPadding"),
BI_FIELD(ImGuiStyle, TouchExtraPadding, "touch_extra_padding"),
BI_FIELD(ImGuiStyle, TouchExtraPadding, "TouchExtraPadding"),
BI_FIELD(ImGuiStyle, IndentSpacing, "indent_spacing"),
BI_FIELD(ImGuiStyle, IndentSpacing, "IndentSpacing"),
BI_FIELD(ImGuiStyle, ColumnsMinSpacing, "columns_min_spacing"),
BI_FIELD(ImGuiStyle, ColumnsMinSpacing, "ColumnsMinSpacing"),
BI_FIELD(ImGuiStyle, ScrollbarSize, "scrollbar_size"),
BI_FIELD(ImGuiStyle, ScrollbarSize, "ScrollbarSize"),
BI_FIELD(ImGuiStyle, ScrollbarRounding, "scrollbar_rounding"),
BI_FIELD(ImGuiStyle, ScrollbarRounding, "ScrollbarRounding"),
BI_FIELD(ImGuiStyle, ScrollbarPadding, "scrollbar_padding"),
BI_FIELD(ImGuiStyle, ScrollbarPadding, "ScrollbarPadding"),
BI_FIELD(ImGuiStyle, GrabMinSize, "grab_min_size"),
BI_FIELD(ImGuiStyle, GrabMinSize, "GrabMinSize"),
BI_FIELD(ImGuiStyle, GrabRounding, "grab_rounding"),
BI_FIELD(ImGuiStyle, GrabRounding, "GrabRounding"),
BI_FIELD(ImGuiStyle, LogSliderDeadzone, "log_slider_deadzone"),
BI_FIELD(ImGuiStyle, LogSliderDeadzone, "LogSliderDeadzone"),
BI_FIELD(ImGuiStyle, ImageRounding, "image_rounding"),
BI_FIELD(ImGuiStyle, ImageRounding, "ImageRounding"),
BI_FIELD(ImGuiStyle, ImageBorderSize, "image_border_size"),
BI_FIELD(ImGuiStyle, ImageBorderSize, "ImageBorderSize"),
BI_FIELD(ImGuiStyle, TabRounding, "tab_rounding"),
BI_FIELD(ImGuiStyle, TabRounding, "TabRounding"),
BI_FIELD(ImGuiStyle, TabBorderSize, "tab_border_size"),
BI_FIELD(ImGuiStyle, TabBorderSize, "TabBorderSize"),
BI_FIELD(ImGuiStyle, TabMinWidthBase, "tab_min_width_base"),
BI_FIELD(ImGuiStyle, TabMinWidthBase, "TabMinWidthBase"),
BI_FIELD(ImGuiStyle, TabMinWidthShrink, "tab_min_width_shrink"),
BI_FIELD(ImGuiStyle, TabMinWidthShrink, "TabMinWidthShrink"),
BI_FIELD(ImGuiStyle, TabCloseButtonMinWidthSelected, "tab_close_button_min_width_selected"),
BI_FIELD(ImGuiStyle, TabCloseButtonMinWidthSelected, "TabCloseButtonMinWidthSelected"),
BI_FIELD(ImGuiStyle, TabCloseButtonMinWidthUnselected, "tab_close_button_min_width_unselected"),
BI_FIELD(ImGuiStyle, TabCloseButtonMinWidthUnselected, "TabCloseButtonMinWidthUnselected"),
BI_FIELD(ImGuiStyle, TabBarBorderSize, "tab_bar_border_size"),
BI_FIELD(ImGuiStyle, TabBarBorderSize, "TabBarBorderSize"),
BI_FIELD(ImGuiStyle, TabBarOverlineSize, "tab_bar_overline_size"),
BI_FIELD(ImGuiStyle, TabBarOverlineSize, "TabBarOverlineSize"),
BI_FIELD(ImGuiStyle, TableAngledHeadersAngle, "table_angled_headers_angle"),
BI_FIELD(ImGuiStyle, TableAngledHeadersAngle, "TableAngledHeadersAngle"),
BI_FIELD(ImGuiStyle, TableAngledHeadersTextAlign, "table_angled_headers_text_align"),
BI_FIELD(ImGuiStyle, TableAngledHeadersTextAlign, "TableAngledHeadersTextAlign"),
BI_FIELD(ImGuiStyle, TreeLinesFlags, "tree_lines_flags"),
BI_FIELD(ImGuiStyle, TreeLinesFlags, "TreeLinesFlags"),
BI_FIELD(ImGuiStyle, TreeLinesSize, "tree_lines_size"),
BI_FIELD(ImGuiStyle, TreeLinesSize, "TreeLinesSize"),
BI_FIELD(ImGuiStyle, TreeLinesRounding, "tree_lines_rounding"),
BI_FIELD(ImGuiStyle, TreeLinesRounding, "TreeLinesRounding"),
BI_FIELD(ImGuiStyle, MenuItemRounding, "menu_item_rounding"),
BI_FIELD(ImGuiStyle, MenuItemRounding, "MenuItemRounding"),
BI_FIELD(ImGuiStyle, SelectableRounding, "selectable_rounding"),
BI_FIELD(ImGuiStyle, SelectableRounding, "SelectableRounding"),
BI_FIELD(ImGuiStyle, DragDropTargetRounding, "drag_drop_target_rounding"),
BI_FIELD(ImGuiStyle, DragDropTargetRounding, "DragDropTargetRounding"),
BI_FIELD(ImGuiStyle, DragDropTargetBorderSize, "drag_drop_target_border_size"),
BI_FIELD(ImGuiStyle, DragDropTargetBorderSize, "DragDropTargetBorderSize"),
BI_FIELD(ImGuiStyle, DragDropTargetPadding, "drag_drop_target_padding"),
BI_FIELD(ImGuiStyle, DragDropTargetPadding, "DragDropTargetPadding"),
BI_FIELD(ImGuiStyle, ColorMarkerSize, "color_marker_size"),
BI_FIELD(ImGuiStyle, ColorMarkerSize, "ColorMarkerSize"),
BI_FIELD(ImGuiStyle, ColorButtonPosition, "color_button_position"),
BI_FIELD(ImGuiStyle, ColorButtonPosition, "ColorButtonPosition"),
BI_FIELD(ImGuiStyle, ButtonTextAlign, "button_text_align"),
BI_FIELD(ImGuiStyle, ButtonTextAlign, "ButtonTextAlign"),
BI_FIELD(ImGuiStyle, SelectableTextAlign, "selectable_text_align"),
BI_FIELD(ImGuiStyle, SelectableTextAlign, "SelectableTextAlign"),
BI_FIELD(ImGuiStyle, InputTextCursorSize, "input_text_cursor_size"),
BI_FIELD(ImGuiStyle, InputTextCursorSize, "InputTextCursorSize"),
BI_FIELD(ImGuiStyle, SeparatorSize, "separator_size"),
BI_FIELD(ImGuiStyle, SeparatorSize, "SeparatorSize"),
BI_FIELD(ImGuiStyle, SeparatorTextBorderSize, "separator_text_border_size"),
BI_FIELD(ImGuiStyle, SeparatorTextBorderSize, "SeparatorTextBorderSize"),
BI_FIELD(ImGuiStyle, SeparatorTextAlign, "separator_text_align"),
BI_FIELD(ImGuiStyle, SeparatorTextAlign, "SeparatorTextAlign"),
BI_FIELD(ImGuiStyle, SeparatorTextPadding, "separator_text_padding"),
BI_FIELD(ImGuiStyle, SeparatorTextPadding, "SeparatorTextPadding"),
BI_FIELD(ImGuiStyle, DisplayWindowPadding, "display_window_padding"),
BI_FIELD(ImGuiStyle, DisplayWindowPadding, "DisplayWindowPadding"),
BI_FIELD(ImGuiStyle, DisplaySafeAreaPadding, "display_safe_area_padding"),
BI_FIELD(ImGuiStyle, DisplaySafeAreaPadding, "DisplaySafeAreaPadding"),
BI_FIELD(ImGuiStyle, MouseCursorScale, "mouse_cursor_scale"),
BI_FIELD(ImGuiStyle, MouseCursorScale, "MouseCursorScale"),
BI_FIELD(ImGuiStyle, SymbolArrowSizeFactor, "symbol_arrow_size_factor"),
BI_FIELD(ImGuiStyle, SymbolArrowSizeFactor, "SymbolArrowSizeFactor"),
BI_FIELD(ImGuiStyle, SymbolArrowThicknessFactor, "symbol_arrow_thickness_factor"),
BI_FIELD(ImGuiStyle, SymbolArrowThicknessFactor, "SymbolArrowThicknessFactor"),
BI_FIELD(ImGuiStyle, AntiAliasedLines, "anti_aliased_lines"),
BI_FIELD(ImGuiStyle, AntiAliasedLines, "AntiAliasedLines"),
BI_FIELD(ImGuiStyle, AntiAliasedLineEnds, "anti_aliased_line_ends"),
BI_FIELD(ImGuiStyle, AntiAliasedLineEnds, "AntiAliasedLineEnds"),
BI_FIELD(ImGuiStyle, AntiAliasedFill, "anti_aliased_fill"),
BI_FIELD(ImGuiStyle, AntiAliasedFill, "AntiAliasedFill"),
BI_FIELD(ImGuiStyle, CurveTessellationMaxError, "curve_tessellation_max_error"),
BI_FIELD(ImGuiStyle, CurveTessellationMaxError, "CurveTessellationMaxError"),
BI_FIELD(ImGuiStyle, CircleTessellationMaxError, "circle_tessellation_max_error"),
BI_FIELD(ImGuiStyle, CircleTessellationMaxError, "CircleTessellationMaxError"),
BI_FIELD(ImGuiStyle, Colors, "colors"),
BI_FIELD(ImGuiStyle, Colors, "Colors"),
BI_FIELD(ImGuiStyle, HoverStationaryDelay, "hover_stationary_delay"),
BI_FIELD(ImGuiStyle, HoverStationaryDelay, "HoverStationaryDelay"),
BI_FIELD(ImGuiStyle, HoverDelayShort, "hover_delay_short"),
BI_FIELD(ImGuiStyle, HoverDelayShort, "HoverDelayShort"),
BI_FIELD(ImGuiStyle, HoverDelayNormal, "hover_delay_normal"),
BI_FIELD(ImGuiStyle, HoverDelayNormal, "HoverDelayNormal"),
BI_FIELD(ImGuiStyle, HoverFlagsForTooltipMouse, "hover_flags_for_tooltip_mouse"),
BI_FIELD(ImGuiStyle, HoverFlagsForTooltipMouse, "HoverFlagsForTooltipMouse"),
BI_FIELD(ImGuiStyle, HoverFlagsForTooltipNav, "hover_flags_for_tooltip_nav"),
BI_FIELD(ImGuiStyle, HoverFlagsForTooltipNav, "HoverFlagsForTooltipNav"),
BI_FIELD(ImGuiStyle, _MainScale, "_main_scale"),
BI_FIELD(ImGuiStyle, _MainScale, "_MainScale"),
BI_FIELD(ImGuiStyle, _NextFrameFontSizeBase, "_next_frame_font_size_base"),
BI_FIELD(ImGuiStyle, _NextFrameFontSizeBase, "_NextFrameFontSizeBase"),
BI_FIELD(ImGuiStyle, AntiAliasedLinesUseTex, "anti_aliased_lines_use_tex"),
BI_FIELD(ImGuiStyle, AntiAliasedLinesUseTex, "AntiAliasedLinesUseTex"),
BI_FIELD(ImGuiStyle, CurveTessellationTol, "curve_tessellation_tol"),
BI_FIELD(ImGuiStyle, CurveTessellationTol, "CurveTessellationTol"),
};
static BiField bi_fields_ImGuiKeyData[] = {
BI_FIELD(ImGuiKeyData, Down, "down"),
BI_FIELD(ImGuiKeyData, Down, "Down"),
BI_FIELD(ImGuiKeyData, DownDuration, "down_duration"),
BI_FIELD(ImGuiKeyData, DownDuration, "DownDuration"),
BI_FIELD(ImGuiKeyData, DownDurationPrev, "down_duration_prev"),
BI_FIELD(ImGuiKeyData, DownDurationPrev, "DownDurationPrev"),
BI_FIELD(ImGuiKeyData, AnalogValue, "analog_value"),
BI_FIELD(ImGuiKeyData, AnalogValue, "AnalogValue"),
};
static PyMethodDef bi_methods_ImGuiIO[] = {
{ "add_key_event", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_key_event, METH_VARARGS | METH_KEYWORDS, "add_key_event(key, down) -> ImGuiIO::AddKeyEvent" },
{ "add_key_analog_event", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_key_analog_event, METH_VARARGS | METH_KEYWORDS, "add_key_analog_event(key, down, v) -> ImGuiIO::AddKeyAnalogEvent" },
{ "add_mouse_pos_event", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_mouse_pos_event, METH_VARARGS | METH_KEYWORDS, "add_mouse_pos_event(x, y) -> ImGuiIO::AddMousePosEvent" },
{ "add_mouse_button_event", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_mouse_button_event, METH_VARARGS | METH_KEYWORDS, "add_mouse_button_event(button, down) -> ImGuiIO::AddMouseButtonEvent" },
{ "add_mouse_wheel_event", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_mouse_wheel_event, METH_VARARGS | METH_KEYWORDS, "add_mouse_wheel_event(wheel_x, wheel_y) -> ImGuiIO::AddMouseWheelEvent" },
{ "add_mouse_source_event", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_mouse_source_event, METH_VARARGS | METH_KEYWORDS, "add_mouse_source_event(source) -> ImGuiIO::AddMouseSourceEvent" },
{ "add_focus_event", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_focus_event, METH_VARARGS | METH_KEYWORDS, "add_focus_event(focused) -> ImGuiIO::AddFocusEvent" },
{ "add_input_character", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_input_character, METH_VARARGS | METH_KEYWORDS, "add_input_character(c) -> ImGuiIO::AddInputCharacter" },
{ "add_input_character_utf16", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_input_character_utf16, METH_VARARGS | METH_KEYWORDS, "add_input_character_utf16(c) -> ImGuiIO::AddInputCharacterUTF16" },
{ "add_input_characters_utf8", (PyCFunction)(void (*)(void))bid_ImGuiIO_add_input_characters_utf8, METH_VARARGS | METH_KEYWORDS, "add_input_characters_utf8(str) -> ImGuiIO::AddInputCharactersUTF8" },
{ "set_key_event_native_data", (PyCFunction)(void (*)(void))bid_ImGuiIO_set_key_event_native_data, METH_VARARGS | METH_KEYWORDS, "set_key_event_native_data(key, native_keycode, native_scancode, native_legacy_index=- 1) -> ImGuiIO::SetKeyEventNativeData" },
{ "set_app_accepting_events", (PyCFunction)(void (*)(void))bid_ImGuiIO_set_app_accepting_events, METH_VARARGS | METH_KEYWORDS, "set_app_accepting_events(accepting_events) -> ImGuiIO::SetAppAcceptingEvents" },
{ "clear_events_queue", (PyCFunction)(void (*)(void))bid_ImGuiIO_clear_events_queue, METH_VARARGS | METH_KEYWORDS, "clear_events_queue() -> ImGuiIO::ClearEventsQueue" },
{ "clear_input_keys", (PyCFunction)(void (*)(void))bid_ImGuiIO_clear_input_keys, METH_VARARGS | METH_KEYWORDS, "clear_input_keys() -> ImGuiIO::ClearInputKeys" },
{ "clear_input_mouse", (PyCFunction)(void (*)(void))bid_ImGuiIO_clear_input_mouse, METH_VARARGS | METH_KEYWORDS, "clear_input_mouse() -> ImGuiIO::ClearInputMouse" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiIO[] = {
BI_FIELD(ImGuiIO, ConfigFlags, "config_flags"),
BI_FIELD(ImGuiIO, ConfigFlags, "ConfigFlags"),
BI_FIELD(ImGuiIO, BackendFlags, "backend_flags"),
BI_FIELD(ImGuiIO, BackendFlags, "BackendFlags"),
BI_FIELD(ImGuiIO, DisplaySize, "display_size"),
BI_FIELD(ImGuiIO, DisplaySize, "DisplaySize"),
BI_FIELD(ImGuiIO, DisplayFramebufferScale, "display_framebuffer_scale"),
BI_FIELD(ImGuiIO, DisplayFramebufferScale, "DisplayFramebufferScale"),
BI_FIELD(ImGuiIO, DeltaTime, "delta_time"),
BI_FIELD(ImGuiIO, DeltaTime, "DeltaTime"),
BI_FIELD(ImGuiIO, IniSavingRate, "ini_saving_rate"),
BI_FIELD(ImGuiIO, IniSavingRate, "IniSavingRate"),
BI_FIELD(ImGuiIO, IniFilename, "ini_filename"),
BI_FIELD(ImGuiIO, IniFilename, "IniFilename"),
BI_FIELD(ImGuiIO, LogFilename, "log_filename"),
BI_FIELD(ImGuiIO, LogFilename, "LogFilename"),
BI_FIELD(ImGuiIO, UserData, "user_data"),
BI_FIELD(ImGuiIO, UserData, "UserData"),
BI_FIELD(ImGuiIO, Fonts, "fonts"),
BI_FIELD(ImGuiIO, Fonts, "Fonts"),
BI_FIELD(ImGuiIO, FontDefault, "font_default"),
BI_FIELD(ImGuiIO, FontDefault, "FontDefault"),
BI_FIELD(ImGuiIO, FontAllowUserScaling, "font_allow_user_scaling"),
BI_FIELD(ImGuiIO, FontAllowUserScaling, "FontAllowUserScaling"),
BI_FIELD(ImGuiIO, ConfigNavSwapGamepadButtons, "config_nav_swap_gamepad_buttons"),
BI_FIELD(ImGuiIO, ConfigNavSwapGamepadButtons, "ConfigNavSwapGamepadButtons"),
BI_FIELD(ImGuiIO, ConfigNavMoveSetMousePos, "config_nav_move_set_mouse_pos"),
BI_FIELD(ImGuiIO, ConfigNavMoveSetMousePos, "ConfigNavMoveSetMousePos"),
BI_FIELD(ImGuiIO, ConfigNavCaptureKeyboard, "config_nav_capture_keyboard"),
BI_FIELD(ImGuiIO, ConfigNavCaptureKeyboard, "ConfigNavCaptureKeyboard"),
BI_FIELD(ImGuiIO, ConfigNavEscapeClearFocusItem, "config_nav_escape_clear_focus_item"),
BI_FIELD(ImGuiIO, ConfigNavEscapeClearFocusItem, "ConfigNavEscapeClearFocusItem"),
BI_FIELD(ImGuiIO, ConfigNavEscapeClearFocusWindow, "config_nav_escape_clear_focus_window"),
BI_FIELD(ImGuiIO, ConfigNavEscapeClearFocusWindow, "ConfigNavEscapeClearFocusWindow"),
BI_FIELD(ImGuiIO, ConfigNavCursorVisibleAuto, "config_nav_cursor_visible_auto"),
BI_FIELD(ImGuiIO, ConfigNavCursorVisibleAuto, "ConfigNavCursorVisibleAuto"),
BI_FIELD(ImGuiIO, ConfigNavCursorVisibleAlways, "config_nav_cursor_visible_always"),
BI_FIELD(ImGuiIO, ConfigNavCursorVisibleAlways, "ConfigNavCursorVisibleAlways"),
BI_FIELD(ImGuiIO, ConfigMacOSXBehaviors, "config_mac_osx_behaviors"),
BI_FIELD(ImGuiIO, ConfigMacOSXBehaviors, "ConfigMacOSXBehaviors"),
BI_FIELD(ImGuiIO, ConfigInputTrickleEventQueue, "config_input_trickle_event_queue"),
BI_FIELD(ImGuiIO, ConfigInputTrickleEventQueue, "ConfigInputTrickleEventQueue"),
BI_FIELD(ImGuiIO, ConfigInputTextCursorBlink, "config_input_text_cursor_blink"),
BI_FIELD(ImGuiIO, ConfigInputTextCursorBlink, "ConfigInputTextCursorBlink"),
BI_FIELD(ImGuiIO, ConfigInputTextEnterKeepActive, "config_input_text_enter_keep_active"),
BI_FIELD(ImGuiIO, ConfigInputTextEnterKeepActive, "ConfigInputTextEnterKeepActive"),
BI_FIELD(ImGuiIO, ConfigColorEditFlags, "config_color_edit_flags"),
BI_FIELD(ImGuiIO, ConfigColorEditFlags, "ConfigColorEditFlags"),
BI_FIELD(ImGuiIO, ConfigDragClickToInputText, "config_drag_click_to_input_text"),
BI_FIELD(ImGuiIO, ConfigDragClickToInputText, "ConfigDragClickToInputText"),
BI_FIELD(ImGuiIO, ConfigWindowsResizeFromEdges, "config_windows_resize_from_edges"),
BI_FIELD(ImGuiIO, ConfigWindowsResizeFromEdges, "ConfigWindowsResizeFromEdges"),
BI_FIELD(ImGuiIO, ConfigWindowsMoveFromTitleBarOnly, "config_windows_move_from_title_bar_only"),
BI_FIELD(ImGuiIO, ConfigWindowsMoveFromTitleBarOnly, "ConfigWindowsMoveFromTitleBarOnly"),
BI_FIELD(ImGuiIO, ConfigWindowsCopyContentsWithCtrlC, "config_windows_copy_contents_with_ctrl_c"),
BI_FIELD(ImGuiIO, ConfigWindowsCopyContentsWithCtrlC, "ConfigWindowsCopyContentsWithCtrlC"),
BI_FIELD(ImGuiIO, ConfigScrollbarScrollByPage, "config_scrollbar_scroll_by_page"),
BI_FIELD(ImGuiIO, ConfigScrollbarScrollByPage, "ConfigScrollbarScrollByPage"),
BI_FIELD(ImGuiIO, ConfigIniSettingsSaveLastUsedDate, "config_ini_settings_save_last_used_date"),
BI_FIELD(ImGuiIO, ConfigIniSettingsSaveLastUsedDate, "ConfigIniSettingsSaveLastUsedDate"),
BI_FIELD(ImGuiIO, ConfigIniSettingsAutoDiscardMonths, "config_ini_settings_auto_discard_months"),
BI_FIELD(ImGuiIO, ConfigIniSettingsAutoDiscardMonths, "ConfigIniSettingsAutoDiscardMonths"),
BI_FIELD(ImGuiIO, ConfigDebugIniSettings, "config_debug_ini_settings"),
BI_FIELD(ImGuiIO, ConfigDebugIniSettings, "ConfigDebugIniSettings"),
BI_FIELD(ImGuiIO, MouseDrawCursor, "mouse_draw_cursor"),
BI_FIELD(ImGuiIO, MouseDrawCursor, "MouseDrawCursor"),
BI_FIELD(ImGuiIO, ConfigMemoryCompactTimer, "config_memory_compact_timer"),
BI_FIELD(ImGuiIO, ConfigMemoryCompactTimer, "ConfigMemoryCompactTimer"),
BI_FIELD(ImGuiIO, MouseDoubleClickTime, "mouse_double_click_time"),
BI_FIELD(ImGuiIO, MouseDoubleClickTime, "MouseDoubleClickTime"),
BI_FIELD(ImGuiIO, MouseDoubleClickMaxDist, "mouse_double_click_max_dist"),
BI_FIELD(ImGuiIO, MouseDoubleClickMaxDist, "MouseDoubleClickMaxDist"),
BI_FIELD(ImGuiIO, MouseSingleClickDelay, "mouse_single_click_delay"),
BI_FIELD(ImGuiIO, MouseSingleClickDelay, "MouseSingleClickDelay"),
BI_FIELD(ImGuiIO, MouseDragThreshold, "mouse_drag_threshold"),
BI_FIELD(ImGuiIO, MouseDragThreshold, "MouseDragThreshold"),
BI_FIELD(ImGuiIO, KeyRepeatDelay, "key_repeat_delay"),
BI_FIELD(ImGuiIO, KeyRepeatDelay, "KeyRepeatDelay"),
BI_FIELD(ImGuiIO, KeyRepeatRate, "key_repeat_rate"),
BI_FIELD(ImGuiIO, KeyRepeatRate, "KeyRepeatRate"),
BI_FIELD(ImGuiIO, ConfigErrorRecovery, "config_error_recovery"),
BI_FIELD(ImGuiIO, ConfigErrorRecovery, "ConfigErrorRecovery"),
BI_FIELD(ImGuiIO, ConfigErrorRecoveryEnableAssert, "config_error_recovery_enable_assert"),
BI_FIELD(ImGuiIO, ConfigErrorRecoveryEnableAssert, "ConfigErrorRecoveryEnableAssert"),
BI_FIELD(ImGuiIO, ConfigErrorRecoveryEnableDebugLog, "config_error_recovery_enable_debug_log"),
BI_FIELD(ImGuiIO, ConfigErrorRecoveryEnableDebugLog, "ConfigErrorRecoveryEnableDebugLog"),
BI_FIELD(ImGuiIO, ConfigErrorRecoveryEnableTooltip, "config_error_recovery_enable_tooltip"),
BI_FIELD(ImGuiIO, ConfigErrorRecoveryEnableTooltip, "ConfigErrorRecoveryEnableTooltip"),
BI_FIELD(ImGuiIO, ConfigDebugIsDebuggerPresent, "config_debug_is_debugger_present"),
BI_FIELD(ImGuiIO, ConfigDebugIsDebuggerPresent, "ConfigDebugIsDebuggerPresent"),
BI_FIELD(ImGuiIO, ConfigDebugHighlightIdConflicts, "config_debug_highlight_id_conflicts"),
BI_FIELD(ImGuiIO, ConfigDebugHighlightIdConflicts, "ConfigDebugHighlightIdConflicts"),
BI_FIELD(ImGuiIO, ConfigDebugHighlightIdConflictsShowItemPicker, "config_debug_highlight_id_conflicts_show_item_picker"),
BI_FIELD(ImGuiIO, ConfigDebugHighlightIdConflictsShowItemPicker, "ConfigDebugHighlightIdConflictsShowItemPicker"),
BI_FIELD(ImGuiIO, ConfigDebugBeginReturnValueOnce, "config_debug_begin_return_value_once"),
BI_FIELD(ImGuiIO, ConfigDebugBeginReturnValueOnce, "ConfigDebugBeginReturnValueOnce"),
BI_FIELD(ImGuiIO, ConfigDebugBeginReturnValueLoop, "config_debug_begin_return_value_loop"),
BI_FIELD(ImGuiIO, ConfigDebugBeginReturnValueLoop, "ConfigDebugBeginReturnValueLoop"),
BI_FIELD(ImGuiIO, ConfigDebugIgnoreFocusLoss, "config_debug_ignore_focus_loss"),
BI_FIELD(ImGuiIO, ConfigDebugIgnoreFocusLoss, "ConfigDebugIgnoreFocusLoss"),
BI_FIELD(ImGuiIO, ConfigDebugDrawListDefaultsToStrokeLegacy, "config_debug_draw_list_defaults_to_stroke_legacy"),
BI_FIELD(ImGuiIO, ConfigDebugDrawListDefaultsToStrokeLegacy, "ConfigDebugDrawListDefaultsToStrokeLegacy"),
BI_FIELD(ImGuiIO, BackendPlatformName, "backend_platform_name"),
BI_FIELD(ImGuiIO, BackendPlatformName, "BackendPlatformName"),
BI_FIELD(ImGuiIO, BackendRendererName, "backend_renderer_name"),
BI_FIELD(ImGuiIO, BackendRendererName, "BackendRendererName"),
BI_FIELD(ImGuiIO, BackendPlatformUserData, "backend_platform_user_data"),
BI_FIELD(ImGuiIO, BackendPlatformUserData, "BackendPlatformUserData"),
BI_FIELD(ImGuiIO, BackendRendererUserData, "backend_renderer_user_data"),
BI_FIELD(ImGuiIO, BackendRendererUserData, "BackendRendererUserData"),
BI_FIELD(ImGuiIO, BackendLanguageUserData, "backend_language_user_data"),
BI_FIELD(ImGuiIO, BackendLanguageUserData, "BackendLanguageUserData"),
BI_FIELD(ImGuiIO, WantCaptureMouse, "want_capture_mouse"),
BI_FIELD(ImGuiIO, WantCaptureMouse, "WantCaptureMouse"),
BI_FIELD(ImGuiIO, WantCaptureKeyboard, "want_capture_keyboard"),
BI_FIELD(ImGuiIO, WantCaptureKeyboard, "WantCaptureKeyboard"),
BI_FIELD(ImGuiIO, WantTextInput, "want_text_input"),
BI_FIELD(ImGuiIO, WantTextInput, "WantTextInput"),
BI_FIELD(ImGuiIO, WantSetMousePos, "want_set_mouse_pos"),
BI_FIELD(ImGuiIO, WantSetMousePos, "WantSetMousePos"),
BI_FIELD(ImGuiIO, WantSaveIniSettings, "want_save_ini_settings"),
BI_FIELD(ImGuiIO, WantSaveIniSettings, "WantSaveIniSettings"),
BI_FIELD(ImGuiIO, NavActive, "nav_active"),
BI_FIELD(ImGuiIO, NavActive, "NavActive"),
BI_FIELD(ImGuiIO, NavVisible, "nav_visible"),
BI_FIELD(ImGuiIO, NavVisible, "NavVisible"),
BI_FIELD(ImGuiIO, Framerate, "framerate"),
BI_FIELD(ImGuiIO, Framerate, "Framerate"),
BI_FIELD(ImGuiIO, MetricsRenderVertices, "metrics_render_vertices"),
BI_FIELD(ImGuiIO, MetricsRenderVertices, "MetricsRenderVertices"),
BI_FIELD(ImGuiIO, MetricsRenderIndices, "metrics_render_indices"),
BI_FIELD(ImGuiIO, MetricsRenderIndices, "MetricsRenderIndices"),
BI_FIELD(ImGuiIO, MetricsRenderWindows, "metrics_render_windows"),
BI_FIELD(ImGuiIO, MetricsRenderWindows, "MetricsRenderWindows"),
BI_FIELD(ImGuiIO, MetricsActiveWindows, "metrics_active_windows"),
BI_FIELD(ImGuiIO, MetricsActiveWindows, "MetricsActiveWindows"),
BI_FIELD(ImGuiIO, MouseDelta, "mouse_delta"),
BI_FIELD(ImGuiIO, MouseDelta, "MouseDelta"),
BI_FIELD(ImGuiIO, Ctx, "ctx"),
BI_FIELD(ImGuiIO, Ctx, "Ctx"),
BI_FIELD(ImGuiIO, MousePos, "mouse_pos"),
BI_FIELD(ImGuiIO, MousePos, "MousePos"),
BI_FIELD(ImGuiIO, MouseDown, "mouse_down"),
BI_FIELD(ImGuiIO, MouseDown, "MouseDown"),
BI_FIELD(ImGuiIO, MouseWheel, "mouse_wheel"),
BI_FIELD(ImGuiIO, MouseWheel, "MouseWheel"),
BI_FIELD(ImGuiIO, MouseWheelH, "mouse_wheel_h"),
BI_FIELD(ImGuiIO, MouseWheelH, "MouseWheelH"),
BI_FIELD(ImGuiIO, MouseSource, "mouse_source"),
BI_FIELD(ImGuiIO, MouseSource, "MouseSource"),
BI_FIELD(ImGuiIO, KeyCtrl, "key_ctrl"),
BI_FIELD(ImGuiIO, KeyCtrl, "KeyCtrl"),
BI_FIELD(ImGuiIO, KeyShift, "key_shift"),
BI_FIELD(ImGuiIO, KeyShift, "KeyShift"),
BI_FIELD(ImGuiIO, KeyAlt, "key_alt"),
BI_FIELD(ImGuiIO, KeyAlt, "KeyAlt"),
BI_FIELD(ImGuiIO, KeySuper, "key_super"),
BI_FIELD(ImGuiIO, KeySuper, "KeySuper"),
BI_FIELD(ImGuiIO, KeyMods, "key_mods"),
BI_FIELD(ImGuiIO, KeyMods, "KeyMods"),
BI_FIELD(ImGuiIO, KeysData, "keys_data"),
BI_FIELD(ImGuiIO, KeysData, "KeysData"),
BI_FIELD(ImGuiIO, WantCaptureMouseUnlessPopupClose, "want_capture_mouse_unless_popup_close"),
BI_FIELD(ImGuiIO, WantCaptureMouseUnlessPopupClose, "WantCaptureMouseUnlessPopupClose"),
BI_FIELD(ImGuiIO, MousePosPrev, "mouse_pos_prev"),
BI_FIELD(ImGuiIO, MousePosPrev, "MousePosPrev"),
BI_FIELD(ImGuiIO, MouseClickedPos, "mouse_clicked_pos"),
BI_FIELD(ImGuiIO, MouseClickedPos, "MouseClickedPos"),
BI_FIELD(ImGuiIO, MouseClickedTime, "mouse_clicked_time"),
BI_FIELD(ImGuiIO, MouseClickedTime, "MouseClickedTime"),
BI_FIELD(ImGuiIO, MouseClicked, "mouse_clicked"),
BI_FIELD(ImGuiIO, MouseClicked, "MouseClicked"),
BI_FIELD(ImGuiIO, MouseDoubleClicked, "mouse_double_clicked"),
BI_FIELD(ImGuiIO, MouseDoubleClicked, "MouseDoubleClicked"),
BI_FIELD(ImGuiIO, MouseClickedCount, "mouse_clicked_count"),
BI_FIELD(ImGuiIO, MouseClickedCount, "MouseClickedCount"),
BI_FIELD(ImGuiIO, MouseClickedLastCount, "mouse_clicked_last_count"),
BI_FIELD(ImGuiIO, MouseClickedLastCount, "MouseClickedLastCount"),
BI_FIELD(ImGuiIO, MouseReleased, "mouse_released"),
BI_FIELD(ImGuiIO, MouseReleased, "MouseReleased"),
BI_FIELD(ImGuiIO, MouseReleasedTime, "mouse_released_time"),
BI_FIELD(ImGuiIO, MouseReleasedTime, "MouseReleasedTime"),
BI_FIELD(ImGuiIO, MouseDownOwned, "mouse_down_owned"),
BI_FIELD(ImGuiIO, MouseDownOwned, "MouseDownOwned"),
BI_FIELD(ImGuiIO, MouseDownOwnedUnlessPopupClose, "mouse_down_owned_unless_popup_close"),
BI_FIELD(ImGuiIO, MouseDownOwnedUnlessPopupClose, "MouseDownOwnedUnlessPopupClose"),
BI_FIELD(ImGuiIO, MouseWheelRequestAxisSwap, "mouse_wheel_request_axis_swap"),
BI_FIELD(ImGuiIO, MouseWheelRequestAxisSwap, "MouseWheelRequestAxisSwap"),
BI_FIELD(ImGuiIO, MouseCtrlLeftAsRightClick, "mouse_ctrl_left_as_right_click"),
BI_FIELD(ImGuiIO, MouseCtrlLeftAsRightClick, "MouseCtrlLeftAsRightClick"),
BI_FIELD(ImGuiIO, MouseDownDuration, "mouse_down_duration"),
BI_FIELD(ImGuiIO, MouseDownDuration, "MouseDownDuration"),
BI_FIELD(ImGuiIO, MouseDownDurationPrev, "mouse_down_duration_prev"),
BI_FIELD(ImGuiIO, MouseDownDurationPrev, "MouseDownDurationPrev"),
BI_FIELD(ImGuiIO, MouseDragMaxDistanceSqr, "mouse_drag_max_distance_sqr"),
BI_FIELD(ImGuiIO, MouseDragMaxDistanceSqr, "MouseDragMaxDistanceSqr"),
BI_FIELD(ImGuiIO, PenPressure, "pen_pressure"),
BI_FIELD(ImGuiIO, PenPressure, "PenPressure"),
BI_FIELD(ImGuiIO, AppFocusLost, "app_focus_lost"),
BI_FIELD(ImGuiIO, AppFocusLost, "AppFocusLost"),
BI_FIELD(ImGuiIO, AppAcceptingEvents, "app_accepting_events"),
BI_FIELD(ImGuiIO, AppAcceptingEvents, "AppAcceptingEvents"),
BI_FIELD(ImGuiIO, InputQueueSurrogate, "input_queue_surrogate"),
BI_FIELD(ImGuiIO, InputQueueSurrogate, "InputQueueSurrogate"),
BI_FIELD(ImGuiIO, InputQueueCharacters, "input_queue_characters"),
BI_FIELD(ImGuiIO, InputQueueCharacters, "InputQueueCharacters"),
BI_FIELD(ImGuiIO, FontGlobalScale, "font_global_scale"),
BI_FIELD(ImGuiIO, FontGlobalScale, "FontGlobalScale"),
};
static PyMethodDef bi_methods_ImGuiInputTextCallbackData[] = {
{ "delete_chars", (PyCFunction)(void (*)(void))bid_ImGuiInputTextCallbackData_delete_chars, METH_VARARGS | METH_KEYWORDS, "delete_chars(pos, bytes_count) -> ImGuiInputTextCallbackData::DeleteChars" },
{ "insert_chars", (PyCFunction)(void (*)(void))bid_ImGuiInputTextCallbackData_insert_chars, METH_VARARGS | METH_KEYWORDS, "insert_chars(pos, text, text_end=NULL) -> ImGuiInputTextCallbackData::InsertChars" },
{ "select_all", (PyCFunction)(void (*)(void))bid_ImGuiInputTextCallbackData_select_all, METH_VARARGS | METH_KEYWORDS, "select_all() -> ImGuiInputTextCallbackData::SelectAll" },
{ "set_selection", (PyCFunction)(void (*)(void))bid_ImGuiInputTextCallbackData_set_selection, METH_VARARGS | METH_KEYWORDS, "set_selection(s, e) -> ImGuiInputTextCallbackData::SetSelection" },
{ "clear_selection", (PyCFunction)(void (*)(void))bid_ImGuiInputTextCallbackData_clear_selection, METH_VARARGS | METH_KEYWORDS, "clear_selection() -> ImGuiInputTextCallbackData::ClearSelection" },
{ "has_selection", (PyCFunction)(void (*)(void))bid_ImGuiInputTextCallbackData_has_selection, METH_VARARGS | METH_KEYWORDS, "has_selection() -> ImGuiInputTextCallbackData::HasSelection" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiInputTextCallbackData[] = {
BI_FIELD(ImGuiInputTextCallbackData, Ctx, "ctx"),
BI_FIELD(ImGuiInputTextCallbackData, Ctx, "Ctx"),
BI_FIELD(ImGuiInputTextCallbackData, EventFlag, "event_flag"),
BI_FIELD(ImGuiInputTextCallbackData, EventFlag, "EventFlag"),
BI_FIELD(ImGuiInputTextCallbackData, Flags, "flags"),
BI_FIELD(ImGuiInputTextCallbackData, Flags, "Flags"),
BI_FIELD(ImGuiInputTextCallbackData, UserData, "user_data"),
BI_FIELD(ImGuiInputTextCallbackData, UserData, "UserData"),
BI_FIELD(ImGuiInputTextCallbackData, ID, "id"),
BI_FIELD(ImGuiInputTextCallbackData, ID, "ID"),
BI_FIELD(ImGuiInputTextCallbackData, EventKey, "event_key"),
BI_FIELD(ImGuiInputTextCallbackData, EventKey, "EventKey"),
BI_FIELD(ImGuiInputTextCallbackData, EventChar, "event_char"),
BI_FIELD(ImGuiInputTextCallbackData, EventChar, "EventChar"),
BI_FIELD(ImGuiInputTextCallbackData, EventActivated, "event_activated"),
BI_FIELD(ImGuiInputTextCallbackData, EventActivated, "EventActivated"),
BI_FIELD(ImGuiInputTextCallbackData, BufDirty, "buf_dirty"),
BI_FIELD(ImGuiInputTextCallbackData, BufDirty, "BufDirty"),
BI_FIELD(ImGuiInputTextCallbackData, Buf, "buf"),
BI_FIELD(ImGuiInputTextCallbackData, Buf, "Buf"),
BI_FIELD(ImGuiInputTextCallbackData, BufTextLen, "buf_text_len"),
BI_FIELD(ImGuiInputTextCallbackData, BufTextLen, "BufTextLen"),
BI_FIELD(ImGuiInputTextCallbackData, BufSize, "buf_size"),
BI_FIELD(ImGuiInputTextCallbackData, BufSize, "BufSize"),
BI_FIELD(ImGuiInputTextCallbackData, CursorPos, "cursor_pos"),
BI_FIELD(ImGuiInputTextCallbackData, CursorPos, "CursorPos"),
BI_FIELD(ImGuiInputTextCallbackData, SelectionStart, "selection_start"),
BI_FIELD(ImGuiInputTextCallbackData, SelectionStart, "SelectionStart"),
BI_FIELD(ImGuiInputTextCallbackData, SelectionEnd, "selection_end"),
BI_FIELD(ImGuiInputTextCallbackData, SelectionEnd, "SelectionEnd"),
};
static BiField bi_fields_ImGuiSizeCallbackData[] = {
BI_FIELD(ImGuiSizeCallbackData, UserData, "user_data"),
BI_FIELD(ImGuiSizeCallbackData, UserData, "UserData"),
BI_FIELD(ImGuiSizeCallbackData, Pos, "pos"),
BI_FIELD(ImGuiSizeCallbackData, Pos, "Pos"),
BI_FIELD(ImGuiSizeCallbackData, CurrentSize, "current_size"),
BI_FIELD(ImGuiSizeCallbackData, CurrentSize, "CurrentSize"),
BI_FIELD(ImGuiSizeCallbackData, DesiredSize, "desired_size"),
BI_FIELD(ImGuiSizeCallbackData, DesiredSize, "DesiredSize"),
};
static PyMethodDef bi_methods_ImGuiPayload[] = {
{ "clear", (PyCFunction)(void (*)(void))bid_ImGuiPayload_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImGuiPayload::Clear" },
{ "is_data_type", (PyCFunction)(void (*)(void))bid_ImGuiPayload_is_data_type, METH_VARARGS | METH_KEYWORDS, "is_data_type(type) -> ImGuiPayload::IsDataType" },
{ "is_preview", (PyCFunction)(void (*)(void))bid_ImGuiPayload_is_preview, METH_VARARGS | METH_KEYWORDS, "is_preview() -> ImGuiPayload::IsPreview" },
{ "is_delivery", (PyCFunction)(void (*)(void))bid_ImGuiPayload_is_delivery, METH_VARARGS | METH_KEYWORDS, "is_delivery() -> ImGuiPayload::IsDelivery" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiPayload[] = {
BI_FIELD(ImGuiPayload, Data, "data"),
BI_FIELD(ImGuiPayload, Data, "Data"),
BI_FIELD(ImGuiPayload, DataSize, "data_size"),
BI_FIELD(ImGuiPayload, DataSize, "DataSize"),
BI_FIELD(ImGuiPayload, SourceId, "source_id"),
BI_FIELD(ImGuiPayload, SourceId, "SourceId"),
BI_FIELD(ImGuiPayload, SourceParentId, "source_parent_id"),
BI_FIELD(ImGuiPayload, SourceParentId, "SourceParentId"),
BI_FIELD(ImGuiPayload, DataFrameCount, "data_frame_count"),
BI_FIELD(ImGuiPayload, DataFrameCount, "DataFrameCount"),
BI_FIELD(ImGuiPayload, DataType, "data_type"),
BI_FIELD(ImGuiPayload, DataType, "DataType"),
BI_FIELD(ImGuiPayload, Preview, "preview"),
BI_FIELD(ImGuiPayload, Preview, "Preview"),
BI_FIELD(ImGuiPayload, Delivery, "delivery"),
BI_FIELD(ImGuiPayload, Delivery, "Delivery"),
};
static BiField bi_fields_ImGuiOnceUponAFrame[] = {
BI_FIELD(ImGuiOnceUponAFrame, RefFrame, "ref_frame"),
BI_FIELD(ImGuiOnceUponAFrame, RefFrame, "RefFrame"),
};
static PyMethodDef bi_methods_ImGuiTextFilter[] = {
{ "pass_filter", (PyCFunction)(void (*)(void))bid_ImGuiTextFilter_pass_filter, METH_VARARGS | METH_KEYWORDS, "pass_filter(text, text_end=NULL) -> ImGuiTextFilter::PassFilter" },
{ "build", (PyCFunction)(void (*)(void))bid_ImGuiTextFilter_build, METH_VARARGS | METH_KEYWORDS, "build() -> ImGuiTextFilter::Build" },
{ "clear", (PyCFunction)(void (*)(void))bid_ImGuiTextFilter_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImGuiTextFilter::Clear" },
{ "is_active", (PyCFunction)(void (*)(void))bid_ImGuiTextFilter_is_active, METH_VARARGS | METH_KEYWORDS, "is_active() -> ImGuiTextFilter::IsActive" },
{ "draw", (PyCFunction)(void (*)(void))bid_ImGuiTextFilter_draw, METH_VARARGS | METH_KEYWORDS, "draw(label=\"Filter\") -> ImGuiTextFilter::Draw" },
{ "draw_with_hint", (PyCFunction)(void (*)(void))bid_ImGuiTextFilter_draw_with_hint, METH_VARARGS | METH_KEYWORDS, "draw_with_hint(label=\"Filter\", hint=\"incl -excl\") -> ImGuiTextFilter::DrawWithHint" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiTextFilter[] = {
BI_FIELD(ImGuiTextFilter, InputBuf, "input_buf"),
BI_FIELD(ImGuiTextFilter, InputBuf, "InputBuf"),
BI_FIELD(ImGuiTextFilter, _CountExclude, "_count_exclude"),
BI_FIELD(ImGuiTextFilter, _CountExclude, "_CountExclude"),
BI_FIELD(ImGuiTextFilter, _Items, "_items"),
BI_FIELD(ImGuiTextFilter, _Items, "_Items"),
};
static PyMethodDef bi_methods_ImGuiTextBuffer[] = {
{ "begin", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_begin, METH_VARARGS | METH_KEYWORDS, "begin() -> ImGuiTextBuffer::begin" },
{ "end", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_end, METH_VARARGS | METH_KEYWORDS, "end() -> ImGuiTextBuffer::end" },
{ "size", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_size, METH_VARARGS | METH_KEYWORDS, "size() -> ImGuiTextBuffer::size" },
{ "empty", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_empty, METH_VARARGS | METH_KEYWORDS, "empty() -> ImGuiTextBuffer::empty" },
{ "clear", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImGuiTextBuffer::clear" },
{ "resize", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_resize, METH_VARARGS | METH_KEYWORDS, "resize(size) -> ImGuiTextBuffer::resize" },
{ "reserve", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_reserve, METH_VARARGS | METH_KEYWORDS, "reserve(capacity) -> ImGuiTextBuffer::reserve" },
{ "c_str", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_c_str, METH_VARARGS | METH_KEYWORDS, "c_str() -> ImGuiTextBuffer::c_str" },
{ "append", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_append, METH_VARARGS | METH_KEYWORDS, "append(str, str_end=NULL) -> ImGuiTextBuffer::append" },
{ "appendf", (PyCFunction)(void (*)(void))bid_ImGuiTextBuffer_appendf, METH_VARARGS | METH_KEYWORDS, "appendf(text) -> ImGuiTextBuffer::appendf" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiTextBuffer[] = {
BI_FIELD(ImGuiTextBuffer, Buf, "buf"),
BI_FIELD(ImGuiTextBuffer, Buf, "Buf"),
};
static BiField bi_fields_ImGuiStoragePair[] = {
BI_FIELD(ImGuiStoragePair, key, "key"),
BI_FIELD(ImGuiStoragePair, val_i, "val_i"),
BI_FIELD(ImGuiStoragePair, val_f, "val_f"),
BI_FIELD(ImGuiStoragePair, val_p, "val_p"),
};
static PyMethodDef bi_methods_ImGuiStorage[] = {
{ "clear", (PyCFunction)(void (*)(void))bid_ImGuiStorage_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImGuiStorage::Clear" },
{ "get_int", (PyCFunction)(void (*)(void))bid_ImGuiStorage_get_int, METH_VARARGS | METH_KEYWORDS, "get_int(key, default_val=0) -> ImGuiStorage::GetInt" },
{ "set_int", (PyCFunction)(void (*)(void))bid_ImGuiStorage_set_int, METH_VARARGS | METH_KEYWORDS, "set_int(key, val) -> ImGuiStorage::SetInt" },
{ "get_bool", (PyCFunction)(void (*)(void))bid_ImGuiStorage_get_bool, METH_VARARGS | METH_KEYWORDS, "get_bool(key, default_val=false) -> ImGuiStorage::GetBool" },
{ "set_bool", (PyCFunction)(void (*)(void))bid_ImGuiStorage_set_bool, METH_VARARGS | METH_KEYWORDS, "set_bool(key, val) -> ImGuiStorage::SetBool" },
{ "get_float", (PyCFunction)(void (*)(void))bid_ImGuiStorage_get_float, METH_VARARGS | METH_KEYWORDS, "get_float(key, default_val=0.0f) -> ImGuiStorage::GetFloat" },
{ "set_float", (PyCFunction)(void (*)(void))bid_ImGuiStorage_set_float, METH_VARARGS | METH_KEYWORDS, "set_float(key, val) -> ImGuiStorage::SetFloat" },
{ "get_void_ptr", (PyCFunction)(void (*)(void))bid_ImGuiStorage_get_void_ptr, METH_VARARGS | METH_KEYWORDS, "get_void_ptr(key) -> ImGuiStorage::GetVoidPtr" },
{ "get_int_ref", (PyCFunction)(void (*)(void))bid_ImGuiStorage_get_int_ref, METH_VARARGS | METH_KEYWORDS, "get_int_ref(key, default_val=0) -> ImGuiStorage::GetIntRef" },
{ "get_bool_ref", (PyCFunction)(void (*)(void))bid_ImGuiStorage_get_bool_ref, METH_VARARGS | METH_KEYWORDS, "get_bool_ref(key, default_val=false) -> ImGuiStorage::GetBoolRef" },
{ "get_float_ref", (PyCFunction)(void (*)(void))bid_ImGuiStorage_get_float_ref, METH_VARARGS | METH_KEYWORDS, "get_float_ref(key, default_val=0.0f) -> ImGuiStorage::GetFloatRef" },
{ "get_void_ptr_ref", (PyCFunction)(void (*)(void))bid_ImGuiStorage_get_void_ptr_ref, METH_VARARGS | METH_KEYWORDS, "get_void_ptr_ref(key) -> ImGuiStorage::GetVoidPtrRef" },
{ "build_sort_by_key", (PyCFunction)(void (*)(void))bid_ImGuiStorage_build_sort_by_key, METH_VARARGS | METH_KEYWORDS, "build_sort_by_key() -> ImGuiStorage::BuildSortByKey" },
{ "set_all_int", (PyCFunction)(void (*)(void))bid_ImGuiStorage_set_all_int, METH_VARARGS | METH_KEYWORDS, "set_all_int(val) -> ImGuiStorage::SetAllInt" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiStorage[] = {
BI_FIELD(ImGuiStorage, Data, "data"),
BI_FIELD(ImGuiStorage, Data, "Data"),
};
static PyMethodDef bi_methods_ImGuiListClipper[] = {
{ "begin", (PyCFunction)(void (*)(void))bid_ImGuiListClipper_begin, METH_VARARGS | METH_KEYWORDS, "begin(items_count, items_height=- 1.0f) -> ImGuiListClipper::Begin" },
{ "end", (PyCFunction)(void (*)(void))bid_ImGuiListClipper_end, METH_VARARGS | METH_KEYWORDS, "end() -> ImGuiListClipper::End" },
{ "step", (PyCFunction)(void (*)(void))bid_ImGuiListClipper_step, METH_VARARGS | METH_KEYWORDS, "step() -> ImGuiListClipper::Step" },
{ "include_item_by_index", (PyCFunction)(void (*)(void))bid_ImGuiListClipper_include_item_by_index, METH_VARARGS | METH_KEYWORDS, "include_item_by_index(item_index) -> ImGuiListClipper::IncludeItemByIndex" },
{ "include_items_by_index", (PyCFunction)(void (*)(void))bid_ImGuiListClipper_include_items_by_index, METH_VARARGS | METH_KEYWORDS, "include_items_by_index(item_begin, item_end) -> ImGuiListClipper::IncludeItemsByIndex" },
{ "seek_cursor_for_item", (PyCFunction)(void (*)(void))bid_ImGuiListClipper_seek_cursor_for_item, METH_VARARGS | METH_KEYWORDS, "seek_cursor_for_item(item_index) -> ImGuiListClipper::SeekCursorForItem" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiListClipper[] = {
BI_FIELD(ImGuiListClipper, DisplayStart, "display_start"),
BI_FIELD(ImGuiListClipper, DisplayStart, "DisplayStart"),
BI_FIELD(ImGuiListClipper, DisplayEnd, "display_end"),
BI_FIELD(ImGuiListClipper, DisplayEnd, "DisplayEnd"),
BI_FIELD(ImGuiListClipper, UserIndex, "user_index"),
BI_FIELD(ImGuiListClipper, UserIndex, "UserIndex"),
BI_FIELD(ImGuiListClipper, ItemsCount, "items_count"),
BI_FIELD(ImGuiListClipper, ItemsCount, "ItemsCount"),
BI_FIELD(ImGuiListClipper, ItemsHeight, "items_height"),
BI_FIELD(ImGuiListClipper, ItemsHeight, "ItemsHeight"),
BI_FIELD(ImGuiListClipper, Flags, "flags"),
BI_FIELD(ImGuiListClipper, Flags, "Flags"),
BI_FIELD(ImGuiListClipper, StartPosY, "start_pos_y"),
BI_FIELD(ImGuiListClipper, StartPosY, "StartPosY"),
BI_FIELD(ImGuiListClipper, StartSeekOffsetY, "start_seek_offset_y"),
BI_FIELD(ImGuiListClipper, StartSeekOffsetY, "StartSeekOffsetY"),
BI_FIELD(ImGuiListClipper, Ctx, "ctx"),
BI_FIELD(ImGuiListClipper, Ctx, "Ctx"),
BI_FIELD(ImGuiListClipper, TempData, "temp_data"),
BI_FIELD(ImGuiListClipper, TempData, "TempData"),
};
static PyMethodDef bi_methods_ImColor[] = {
{ "set_hsv", (PyCFunction)(void (*)(void))bid_ImColor_set_hsv, METH_VARARGS | METH_KEYWORDS, "set_hsv(h, s, v, a=1.0f) -> ImColor::SetHSV" },
{ "hsv", (PyCFunction)(void (*)(void))bid_ImColor_hsv, METH_VARARGS | METH_KEYWORDS | METH_STATIC, "hsv(h, s, v, a=1.0f) -> ImColor::HSV" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImColor[] = {
BI_FIELD(ImColor, Value, "value"),
BI_FIELD(ImColor, Value, "Value"),
};
static BiField bi_fields_ImGuiMultiSelectIO[] = {
BI_FIELD(ImGuiMultiSelectIO, Requests, "requests"),
BI_FIELD(ImGuiMultiSelectIO, Requests, "Requests"),
BI_FIELD(ImGuiMultiSelectIO, RangeSrcItem, "range_src_item"),
BI_FIELD(ImGuiMultiSelectIO, RangeSrcItem, "RangeSrcItem"),
BI_FIELD(ImGuiMultiSelectIO, NavIdItem, "nav_id_item"),
BI_FIELD(ImGuiMultiSelectIO, NavIdItem, "NavIdItem"),
BI_FIELD(ImGuiMultiSelectIO, NavIdSelected, "nav_id_selected"),
BI_FIELD(ImGuiMultiSelectIO, NavIdSelected, "NavIdSelected"),
BI_FIELD(ImGuiMultiSelectIO, RangeSrcReset, "range_src_reset"),
BI_FIELD(ImGuiMultiSelectIO, RangeSrcReset, "RangeSrcReset"),
BI_FIELD(ImGuiMultiSelectIO, ItemsCount, "items_count"),
BI_FIELD(ImGuiMultiSelectIO, ItemsCount, "ItemsCount"),
};
static BiField bi_fields_ImGuiSelectionRequest[] = {
BI_FIELD(ImGuiSelectionRequest, Type, "type"),
BI_FIELD(ImGuiSelectionRequest, Type, "Type"),
BI_FIELD(ImGuiSelectionRequest, Selected, "selected"),
BI_FIELD(ImGuiSelectionRequest, Selected, "Selected"),
BI_FIELD(ImGuiSelectionRequest, RangeDirection, "range_direction"),
BI_FIELD(ImGuiSelectionRequest, RangeDirection, "RangeDirection"),
BI_FIELD(ImGuiSelectionRequest, RangeFirstItem, "range_first_item"),
BI_FIELD(ImGuiSelectionRequest, RangeFirstItem, "RangeFirstItem"),
BI_FIELD(ImGuiSelectionRequest, RangeLastItem, "range_last_item"),
BI_FIELD(ImGuiSelectionRequest, RangeLastItem, "RangeLastItem"),
};
static PyMethodDef bi_methods_ImGuiSelectionBasicStorage[] = {
{ "apply_requests", (PyCFunction)(void (*)(void))bid_ImGuiSelectionBasicStorage_apply_requests, METH_VARARGS | METH_KEYWORDS, "apply_requests(ms_io) -> ImGuiSelectionBasicStorage::ApplyRequests" },
{ "contains", (PyCFunction)(void (*)(void))bid_ImGuiSelectionBasicStorage_contains, METH_VARARGS | METH_KEYWORDS, "contains(id) -> ImGuiSelectionBasicStorage::Contains" },
{ "clear", (PyCFunction)(void (*)(void))bid_ImGuiSelectionBasicStorage_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImGuiSelectionBasicStorage::Clear" },
{ "swap", (PyCFunction)(void (*)(void))bid_ImGuiSelectionBasicStorage_swap, METH_VARARGS | METH_KEYWORDS, "swap(r) -> ImGuiSelectionBasicStorage::Swap" },
{ "set_item_selected", (PyCFunction)(void (*)(void))bid_ImGuiSelectionBasicStorage_set_item_selected, METH_VARARGS | METH_KEYWORDS, "set_item_selected(id, selected) -> ImGuiSelectionBasicStorage::SetItemSelected" },
{ "get_storage_id_from_index", (PyCFunction)(void (*)(void))bid_ImGuiSelectionBasicStorage_get_storage_id_from_index, METH_VARARGS | METH_KEYWORDS, "get_storage_id_from_index(idx) -> ImGuiSelectionBasicStorage::GetStorageIdFromIndex" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiSelectionBasicStorage[] = {
BI_FIELD(ImGuiSelectionBasicStorage, Size, "size"),
BI_FIELD(ImGuiSelectionBasicStorage, Size, "Size"),
BI_FIELD(ImGuiSelectionBasicStorage, PreserveOrder, "preserve_order"),
BI_FIELD(ImGuiSelectionBasicStorage, PreserveOrder, "PreserveOrder"),
BI_FIELD(ImGuiSelectionBasicStorage, UserData, "user_data"),
BI_FIELD(ImGuiSelectionBasicStorage, UserData, "UserData"),
BI_FIELD(ImGuiSelectionBasicStorage, _SelectionOrder, "_selection_order"),
BI_FIELD(ImGuiSelectionBasicStorage, _SelectionOrder, "_SelectionOrder"),
BI_FIELD(ImGuiSelectionBasicStorage, _Storage, "_storage"),
BI_FIELD(ImGuiSelectionBasicStorage, _Storage, "_Storage"),
};
static PyMethodDef bi_methods_ImGuiSelectionExternalStorage[] = {
{ "apply_requests", (PyCFunction)(void (*)(void))bid_ImGuiSelectionExternalStorage_apply_requests, METH_VARARGS | METH_KEYWORDS, "apply_requests(ms_io) -> ImGuiSelectionExternalStorage::ApplyRequests" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiSelectionExternalStorage[] = {
BI_FIELD(ImGuiSelectionExternalStorage, UserData, "user_data"),
BI_FIELD(ImGuiSelectionExternalStorage, UserData, "UserData"),
};
static PyMethodDef bi_methods_ImDrawCmd[] = {
{ "get_tex_id", (PyCFunction)(void (*)(void))bid_ImDrawCmd_get_tex_id, METH_VARARGS | METH_KEYWORDS, "get_tex_id() -> ImDrawCmd::GetTexID" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImDrawCmd[] = {
BI_FIELD(ImDrawCmd, ClipRect, "clip_rect"),
BI_FIELD(ImDrawCmd, ClipRect, "ClipRect"),
BI_FIELD(ImDrawCmd, TexRef, "tex_ref"),
BI_FIELD(ImDrawCmd, TexRef, "TexRef"),
BI_FIELD(ImDrawCmd, VtxOffset, "vtx_offset"),
BI_FIELD(ImDrawCmd, VtxOffset, "VtxOffset"),
BI_FIELD(ImDrawCmd, IdxOffset, "idx_offset"),
BI_FIELD(ImDrawCmd, IdxOffset, "IdxOffset"),
BI_FIELD(ImDrawCmd, ElemCount, "elem_count"),
BI_FIELD(ImDrawCmd, ElemCount, "ElemCount"),
BI_FIELD(ImDrawCmd, UserCallback, "user_callback"),
BI_FIELD(ImDrawCmd, UserCallback, "UserCallback"),
BI_FIELD(ImDrawCmd, UserCallbackData, "user_callback_data"),
BI_FIELD(ImDrawCmd, UserCallbackData, "UserCallbackData"),
BI_FIELD(ImDrawCmd, UserCallbackDataSize, "user_callback_data_size"),
BI_FIELD(ImDrawCmd, UserCallbackDataSize, "UserCallbackDataSize"),
BI_FIELD(ImDrawCmd, UserCallbackDataOffset, "user_callback_data_offset"),
BI_FIELD(ImDrawCmd, UserCallbackDataOffset, "UserCallbackDataOffset"),
};
static BiField bi_fields_ImDrawVert[] = {
BI_FIELD(ImDrawVert, pos, "pos"),
BI_FIELD(ImDrawVert, uv, "uv"),
BI_FIELD(ImDrawVert, col, "col"),
};
static BiField bi_fields_ImDrawCmdHeader[] = {
BI_FIELD(ImDrawCmdHeader, ClipRect, "clip_rect"),
BI_FIELD(ImDrawCmdHeader, ClipRect, "ClipRect"),
BI_FIELD(ImDrawCmdHeader, TexRef, "tex_ref"),
BI_FIELD(ImDrawCmdHeader, TexRef, "TexRef"),
BI_FIELD(ImDrawCmdHeader, VtxOffset, "vtx_offset"),
BI_FIELD(ImDrawCmdHeader, VtxOffset, "VtxOffset"),
};
static BiField bi_fields_ImDrawChannel[] = {
BI_FIELD(ImDrawChannel, _CmdBuffer, "_cmd_buffer"),
BI_FIELD(ImDrawChannel, _CmdBuffer, "_CmdBuffer"),
BI_FIELD(ImDrawChannel, _IdxBuffer, "_idx_buffer"),
BI_FIELD(ImDrawChannel, _IdxBuffer, "_IdxBuffer"),
};
static PyMethodDef bi_methods_ImDrawListSplitter[] = {
{ "clear", (PyCFunction)(void (*)(void))bid_ImDrawListSplitter_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImDrawListSplitter::Clear" },
{ "clear_free_memory", (PyCFunction)(void (*)(void))bid_ImDrawListSplitter_clear_free_memory, METH_VARARGS | METH_KEYWORDS, "clear_free_memory() -> ImDrawListSplitter::ClearFreeMemory" },
{ "split", (PyCFunction)(void (*)(void))bid_ImDrawListSplitter_split, METH_VARARGS | METH_KEYWORDS, "split(draw_list, count) -> ImDrawListSplitter::Split" },
{ "merge", (PyCFunction)(void (*)(void))bid_ImDrawListSplitter_merge, METH_VARARGS | METH_KEYWORDS, "merge(draw_list) -> ImDrawListSplitter::Merge" },
{ "set_current_channel", (PyCFunction)(void (*)(void))bid_ImDrawListSplitter_set_current_channel, METH_VARARGS | METH_KEYWORDS, "set_current_channel(draw_list, channel_idx) -> ImDrawListSplitter::SetCurrentChannel" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImDrawListSplitter[] = {
BI_FIELD(ImDrawListSplitter, _Current, "_current"),
BI_FIELD(ImDrawListSplitter, _Current, "_Current"),
BI_FIELD(ImDrawListSplitter, _Count, "_count"),
BI_FIELD(ImDrawListSplitter, _Count, "_Count"),
BI_FIELD(ImDrawListSplitter, _Channels, "_channels"),
BI_FIELD(ImDrawListSplitter, _Channels, "_Channels"),
};
static PyMethodDef bi_methods_ImDrawList[] = {
{ "push_clip_rect", (PyCFunction)(void (*)(void))bid_ImDrawList_push_clip_rect, METH_VARARGS | METH_KEYWORDS, "push_clip_rect(clip_rect_min, clip_rect_max, intersect_with_current_clip_rect=false) -> ImDrawList::PushClipRect" },
{ "push_clip_rect_full_screen", (PyCFunction)(void (*)(void))bid_ImDrawList_push_clip_rect_full_screen, METH_VARARGS | METH_KEYWORDS, "push_clip_rect_full_screen() -> ImDrawList::PushClipRectFullScreen" },
{ "pop_clip_rect", (PyCFunction)(void (*)(void))bid_ImDrawList_pop_clip_rect, METH_VARARGS | METH_KEYWORDS, "pop_clip_rect() -> ImDrawList::PopClipRect" },
{ "push_texture", (PyCFunction)(void (*)(void))bid_ImDrawList_push_texture, METH_VARARGS | METH_KEYWORDS, "push_texture(tex_ref) -> ImDrawList::PushTexture" },
{ "pop_texture", (PyCFunction)(void (*)(void))bid_ImDrawList_pop_texture, METH_VARARGS | METH_KEYWORDS, "pop_texture() -> ImDrawList::PopTexture" },
{ "push_draw_flag", (PyCFunction)(void (*)(void))bid_ImDrawList_push_draw_flag, METH_VARARGS | METH_KEYWORDS, "push_draw_flag(flags, enabled) -> ImDrawList::PushDrawFlag" },
{ "pop_draw_flag", (PyCFunction)(void (*)(void))bid_ImDrawList_pop_draw_flag, METH_VARARGS | METH_KEYWORDS, "pop_draw_flag() -> ImDrawList::PopDrawFlag" },
{ "get_clip_rect_min", (PyCFunction)(void (*)(void))bid_ImDrawList_get_clip_rect_min, METH_VARARGS | METH_KEYWORDS, "get_clip_rect_min() -> ImDrawList::GetClipRectMin" },
{ "get_clip_rect_max", (PyCFunction)(void (*)(void))bid_ImDrawList_get_clip_rect_max, METH_VARARGS | METH_KEYWORDS, "get_clip_rect_max() -> ImDrawList::GetClipRectMax" },
{ "add_line", (PyCFunction)(void (*)(void))bid_ImDrawList_add_line, METH_VARARGS | METH_KEYWORDS, "add_line(p1, p2, col, thickness=1.0f, flags=0) -> ImDrawList::AddLine" },
{ "add_line_h", (PyCFunction)(void (*)(void))bid_ImDrawList_add_line_h, METH_VARARGS | METH_KEYWORDS, "add_line_h(min_x, max_x, y, col, thickness=1.0f, flags=0) -> ImDrawList::AddLineH" },
{ "add_line_v", (PyCFunction)(void (*)(void))bid_ImDrawList_add_line_v, METH_VARARGS | METH_KEYWORDS, "add_line_v(x, min_y, max_y, col, thickness=1.0f, flags=0) -> ImDrawList::AddLineV" },
{ "add_rect", (PyCFunction)(void (*)(void))bid_ImDrawList_add_rect, METH_VARARGS | METH_KEYWORDS, "add_rect(p_min, p_max, col, rounding=0.0f, thickness=1.0f, flags=0) -> ImDrawList::AddRect" },
{ "add_rect_filled", (PyCFunction)(void (*)(void))bid_ImDrawList_add_rect_filled, METH_VARARGS | METH_KEYWORDS, "add_rect_filled(p_min, p_max, col, rounding=0.0f, flags=0) -> ImDrawList::AddRectFilled" },
{ "add_rect_filled_multi_color", (PyCFunction)(void (*)(void))bid_ImDrawList_add_rect_filled_multi_color, METH_VARARGS | METH_KEYWORDS, "add_rect_filled_multi_color(p_min, p_max, col_upr_left, col_upr_right, col_bot_right, col_bot_left) -> ImDrawList::AddRectFilledMultiColor" },
{ "add_quad", (PyCFunction)(void (*)(void))bid_ImDrawList_add_quad, METH_VARARGS | METH_KEYWORDS, "add_quad(p1, p2, p3, p4, col, thickness=1.0f, flags=0) -> ImDrawList::AddQuad" },
{ "add_quad_filled", (PyCFunction)(void (*)(void))bid_ImDrawList_add_quad_filled, METH_VARARGS | METH_KEYWORDS, "add_quad_filled(p1, p2, p3, p4, col) -> ImDrawList::AddQuadFilled" },
{ "add_triangle", (PyCFunction)(void (*)(void))bid_ImDrawList_add_triangle, METH_VARARGS | METH_KEYWORDS, "add_triangle(p1, p2, p3, col, thickness=1.0f, flags=0) -> ImDrawList::AddTriangle" },
{ "add_triangle_filled", (PyCFunction)(void (*)(void))bid_ImDrawList_add_triangle_filled, METH_VARARGS | METH_KEYWORDS, "add_triangle_filled(p1, p2, p3, col) -> ImDrawList::AddTriangleFilled" },
{ "add_circle", (PyCFunction)(void (*)(void))bid_ImDrawList_add_circle, METH_VARARGS | METH_KEYWORDS, "add_circle(center, radius, col, num_segments=0, thickness=1.0f, flags=0) -> ImDrawList::AddCircle" },
{ "add_circle_filled", (PyCFunction)(void (*)(void))bid_ImDrawList_add_circle_filled, METH_VARARGS | METH_KEYWORDS, "add_circle_filled(center, radius, col, num_segments=0) -> ImDrawList::AddCircleFilled" },
{ "add_ngon", (PyCFunction)(void (*)(void))bid_ImDrawList_add_ngon, METH_VARARGS | METH_KEYWORDS, "add_ngon(center, radius, col, num_segments, thickness=1.0f, flags=0) -> ImDrawList::AddNgon" },
{ "add_ngon_filled", (PyCFunction)(void (*)(void))bid_ImDrawList_add_ngon_filled, METH_VARARGS | METH_KEYWORDS, "add_ngon_filled(center, radius, col, num_segments) -> ImDrawList::AddNgonFilled" },
{ "add_ellipse", (PyCFunction)(void (*)(void))bid_ImDrawList_add_ellipse, METH_VARARGS | METH_KEYWORDS, "add_ellipse(center, radius, col, rot=0.0f, num_segments=0, thickness=1.0f, flags=0) -> ImDrawList::AddEllipse" },
{ "add_ellipse_filled", (PyCFunction)(void (*)(void))bid_ImDrawList_add_ellipse_filled, METH_VARARGS | METH_KEYWORDS, "add_ellipse_filled(center, radius, col, rot=0.0f, num_segments=0) -> ImDrawList::AddEllipseFilled" },
{ "add_text", (PyCFunction)(void (*)(void))bid_ImDrawList_add_text, METH_VARARGS | METH_KEYWORDS, "add_text(pos, col, text_begin, text_end=NULL) -> ImDrawList::AddText\nadd_text(font, font_size, pos, col, text_begin, text_end=NULL, wrap_width=0.0f) -> ImDrawList::AddText" },
{ "add_text_font_ptr", (PyCFunction)(void (*)(void))bid1_ImDrawList_AddTextFontPtrEx, METH_VARARGS | METH_KEYWORDS, "add_text(pos, col, text_begin, text_end=NULL) -> ImDrawList::AddText\nadd_text(font, font_size, pos, col, text_begin, text_end=NULL, wrap_width=0.0f) -> ImDrawList::AddText" },
{ "add_bezier_cubic", (PyCFunction)(void (*)(void))bid_ImDrawList_add_bezier_cubic, METH_VARARGS | METH_KEYWORDS, "add_bezier_cubic(p1, p2, p3, p4, col, thickness, num_segments=0, flags=0) -> ImDrawList::AddBezierCubic" },
{ "add_bezier_quadratic", (PyCFunction)(void (*)(void))bid_ImDrawList_add_bezier_quadratic, METH_VARARGS | METH_KEYWORDS, "add_bezier_quadratic(p1, p2, p3, col, thickness, num_segments=0, flags=0) -> ImDrawList::AddBezierQuadratic" },
{ "add_polyline", (PyCFunction)(void (*)(void))bid_ImDrawList_add_polyline, METH_VARARGS | METH_KEYWORDS, "add_polyline(points, col, thickness, flags=0) -> ImDrawList::AddPolyline" },
{ "add_convex_poly_filled", (PyCFunction)(void (*)(void))bid_ImDrawList_add_convex_poly_filled, METH_VARARGS | METH_KEYWORDS, "add_convex_poly_filled(points, col, flags=0) -> ImDrawList::AddConvexPolyFilled" },
{ "add_concave_poly_filled", (PyCFunction)(void (*)(void))bid_ImDrawList_add_concave_poly_filled, METH_VARARGS | METH_KEYWORDS, "add_concave_poly_filled(points, col) -> ImDrawList::AddConcavePolyFilled" },
{ "add_image", (PyCFunction)(void (*)(void))bid_ImDrawList_add_image, METH_VARARGS | METH_KEYWORDS, "add_image(tex_ref, p_min, p_max, uv_min=ImVec2(0, 0), uv_max=ImVec2(1, 1), col=IM_COL32_WHITE) -> ImDrawList::AddImage" },
{ "add_image_quad", (PyCFunction)(void (*)(void))bid_ImDrawList_add_image_quad, METH_VARARGS | METH_KEYWORDS, "add_image_quad(tex_ref, p1, p2, p3, p4, uv1=ImVec2(0, 0), uv2=ImVec2(1, 0), uv3=ImVec2(1, 1), uv4=ImVec2(0, 1), col=IM_COL32_WHITE) -> ImDrawList::AddImageQuad" },
{ "add_image_rounded", (PyCFunction)(void (*)(void))bid_ImDrawList_add_image_rounded, METH_VARARGS | METH_KEYWORDS, "add_image_rounded(tex_ref, p_min, p_max, uv_min, uv_max, col, rounding, flags=0) -> ImDrawList::AddImageRounded" },
{ "path_clear", (PyCFunction)(void (*)(void))bid_ImDrawList_path_clear, METH_VARARGS | METH_KEYWORDS, "path_clear() -> ImDrawList::PathClear" },
{ "path_line_to", (PyCFunction)(void (*)(void))bid_ImDrawList_path_line_to, METH_VARARGS | METH_KEYWORDS, "path_line_to(pos) -> ImDrawList::PathLineTo" },
{ "path_line_to_merge_duplicate", (PyCFunction)(void (*)(void))bid_ImDrawList_path_line_to_merge_duplicate, METH_VARARGS | METH_KEYWORDS, "path_line_to_merge_duplicate(pos) -> ImDrawList::PathLineToMergeDuplicate" },
{ "path_fill_convex", (PyCFunction)(void (*)(void))bid_ImDrawList_path_fill_convex, METH_VARARGS | METH_KEYWORDS, "path_fill_convex(col, flags=0) -> ImDrawList::PathFillConvex" },
{ "path_fill_concave", (PyCFunction)(void (*)(void))bid_ImDrawList_path_fill_concave, METH_VARARGS | METH_KEYWORDS, "path_fill_concave(col) -> ImDrawList::PathFillConcave" },
{ "path_stroke", (PyCFunction)(void (*)(void))bid_ImDrawList_path_stroke, METH_VARARGS | METH_KEYWORDS, "path_stroke(col, thickness=1.0f, flags=0) -> ImDrawList::PathStroke" },
{ "path_arc_to", (PyCFunction)(void (*)(void))bid_ImDrawList_path_arc_to, METH_VARARGS | METH_KEYWORDS, "path_arc_to(center, radius, a_min, a_max, num_segments=0) -> ImDrawList::PathArcTo" },
{ "path_arc_to_fast", (PyCFunction)(void (*)(void))bid_ImDrawList_path_arc_to_fast, METH_VARARGS | METH_KEYWORDS, "path_arc_to_fast(center, radius, a_min_of_12, a_max_of_12) -> ImDrawList::PathArcToFast" },
{ "path_elliptical_arc_to", (PyCFunction)(void (*)(void))bid_ImDrawList_path_elliptical_arc_to, METH_VARARGS | METH_KEYWORDS, "path_elliptical_arc_to(center, radius, rot, a_min, a_max, num_segments=0) -> ImDrawList::PathEllipticalArcTo" },
{ "path_bezier_cubic_curve_to", (PyCFunction)(void (*)(void))bid_ImDrawList_path_bezier_cubic_curve_to, METH_VARARGS | METH_KEYWORDS, "path_bezier_cubic_curve_to(p2, p3, p4, num_segments=0) -> ImDrawList::PathBezierCubicCurveTo" },
{ "path_bezier_quadratic_curve_to", (PyCFunction)(void (*)(void))bid_ImDrawList_path_bezier_quadratic_curve_to, METH_VARARGS | METH_KEYWORDS, "path_bezier_quadratic_curve_to(p2, p3, num_segments=0) -> ImDrawList::PathBezierQuadraticCurveTo" },
{ "path_rect", (PyCFunction)(void (*)(void))bid_ImDrawList_path_rect, METH_VARARGS | METH_KEYWORDS, "path_rect(rect_min, rect_max, rounding=0.0f, flags=0) -> ImDrawList::PathRect" },
{ "add_draw_cmd", (PyCFunction)(void (*)(void))bid_ImDrawList_add_draw_cmd, METH_VARARGS | METH_KEYWORDS, "add_draw_cmd() -> ImDrawList::AddDrawCmd" },
{ "clone_output", (PyCFunction)(void (*)(void))bid_ImDrawList_clone_output, METH_VARARGS | METH_KEYWORDS, "clone_output() -> ImDrawList::CloneOutput" },
{ "channels_split", (PyCFunction)(void (*)(void))bid_ImDrawList_channels_split, METH_VARARGS | METH_KEYWORDS, "channels_split(count) -> ImDrawList::ChannelsSplit" },
{ "channels_merge", (PyCFunction)(void (*)(void))bid_ImDrawList_channels_merge, METH_VARARGS | METH_KEYWORDS, "channels_merge() -> ImDrawList::ChannelsMerge" },
{ "channels_set_current", (PyCFunction)(void (*)(void))bid_ImDrawList_channels_set_current, METH_VARARGS | METH_KEYWORDS, "channels_set_current(n) -> ImDrawList::ChannelsSetCurrent" },
{ "prim_reserve", (PyCFunction)(void (*)(void))bid_ImDrawList_prim_reserve, METH_VARARGS | METH_KEYWORDS, "prim_reserve(idx_count, vtx_count) -> ImDrawList::PrimReserve" },
{ "prim_unreserve", (PyCFunction)(void (*)(void))bid_ImDrawList_prim_unreserve, METH_VARARGS | METH_KEYWORDS, "prim_unreserve(idx_count, vtx_count) -> ImDrawList::PrimUnreserve" },
{ "prim_rect", (PyCFunction)(void (*)(void))bid_ImDrawList_prim_rect, METH_VARARGS | METH_KEYWORDS, "prim_rect(a, b, col) -> ImDrawList::PrimRect" },
{ "prim_rect_uv", (PyCFunction)(void (*)(void))bid_ImDrawList_prim_rect_uv, METH_VARARGS | METH_KEYWORDS, "prim_rect_uv(a, b, uv_a, uv_b, col) -> ImDrawList::PrimRectUV" },
{ "prim_quad_uv", (PyCFunction)(void (*)(void))bid_ImDrawList_prim_quad_uv, METH_VARARGS | METH_KEYWORDS, "prim_quad_uv(a, b, c, d, uv_a, uv_b, uv_c, uv_d, col) -> ImDrawList::PrimQuadUV" },
{ "prim_write_vtx", (PyCFunction)(void (*)(void))bid_ImDrawList_prim_write_vtx, METH_VARARGS | METH_KEYWORDS, "prim_write_vtx(pos, uv, col) -> ImDrawList::PrimWriteVtx" },
{ "prim_write_idx", (PyCFunction)(void (*)(void))bid_ImDrawList_prim_write_idx, METH_VARARGS | METH_KEYWORDS, "prim_write_idx(idx) -> ImDrawList::PrimWriteIdx" },
{ "prim_vtx", (PyCFunction)(void (*)(void))bid_ImDrawList_prim_vtx, METH_VARARGS | METH_KEYWORDS, "prim_vtx(pos, uv, col) -> ImDrawList::PrimVtx" },
{ "_set_draw_list_shared_data", (PyCFunction)(void (*)(void))bid_ImDrawList__set_draw_list_shared_data, METH_VARARGS | METH_KEYWORDS, "_set_draw_list_shared_data(data) -> ImDrawList::_SetDrawListSharedData" },
{ "_reset_for_new_frame", (PyCFunction)(void (*)(void))bid_ImDrawList__reset_for_new_frame, METH_VARARGS | METH_KEYWORDS, "_reset_for_new_frame() -> ImDrawList::_ResetForNewFrame" },
{ "_set_pixel_density", (PyCFunction)(void (*)(void))bid_ImDrawList__set_pixel_density, METH_VARARGS | METH_KEYWORDS, "_set_pixel_density(pixel_density) -> ImDrawList::_SetPixelDensity" },
{ "_clear_free_memory", (PyCFunction)(void (*)(void))bid_ImDrawList__clear_free_memory, METH_VARARGS | METH_KEYWORDS, "_clear_free_memory() -> ImDrawList::_ClearFreeMemory" },
{ "_pop_unused_draw_cmd", (PyCFunction)(void (*)(void))bid_ImDrawList__pop_unused_draw_cmd, METH_VARARGS | METH_KEYWORDS, "_pop_unused_draw_cmd() -> ImDrawList::_PopUnusedDrawCmd" },
{ "_try_merge_draw_cmds", (PyCFunction)(void (*)(void))bid_ImDrawList__try_merge_draw_cmds, METH_VARARGS | METH_KEYWORDS, "_try_merge_draw_cmds() -> ImDrawList::_TryMergeDrawCmds" },
{ "_on_changed_clip_rect", (PyCFunction)(void (*)(void))bid_ImDrawList__on_changed_clip_rect, METH_VARARGS | METH_KEYWORDS, "_on_changed_clip_rect() -> ImDrawList::_OnChangedClipRect" },
{ "_on_changed_texture", (PyCFunction)(void (*)(void))bid_ImDrawList__on_changed_texture, METH_VARARGS | METH_KEYWORDS, "_on_changed_texture() -> ImDrawList::_OnChangedTexture" },
{ "_on_changed_vtx_offset", (PyCFunction)(void (*)(void))bid_ImDrawList__on_changed_vtx_offset, METH_VARARGS | METH_KEYWORDS, "_on_changed_vtx_offset() -> ImDrawList::_OnChangedVtxOffset" },
{ "_set_texture", (PyCFunction)(void (*)(void))bid_ImDrawList__set_texture, METH_VARARGS | METH_KEYWORDS, "_set_texture(tex_ref) -> ImDrawList::_SetTexture" },
{ "_calc_circle_auto_segment_count", (PyCFunction)(void (*)(void))bid_ImDrawList__calc_circle_auto_segment_count, METH_VARARGS | METH_KEYWORDS, "_calc_circle_auto_segment_count(radius) -> ImDrawList::_CalcCircleAutoSegmentCount" },
{ "_path_arc_to_fast_ex", (PyCFunction)(void (*)(void))bid_ImDrawList__path_arc_to_fast_ex, METH_VARARGS | METH_KEYWORDS, "_path_arc_to_fast_ex(center, radius, a_min_sample, a_max_sample, a_step) -> ImDrawList::_PathArcToFastEx" },
{ "_path_arc_to_n", (PyCFunction)(void (*)(void))bid_ImDrawList__path_arc_to_n, METH_VARARGS | METH_KEYWORDS, "_path_arc_to_n(center, radius, a_min, a_max, num_segments) -> ImDrawList::_PathArcToN" },
{ "_add_rect_filled_baked", (PyCFunction)(void (*)(void))bid_ImDrawList__add_rect_filled_baked, METH_VARARGS | METH_KEYWORDS, "_add_rect_filled_baked(p_min, p_max, col, r, tex_uvs, flags) -> ImDrawList::_AddRectFilledBaked" },
{ "_add_rect_baked", (PyCFunction)(void (*)(void))bid_ImDrawList__add_rect_baked, METH_VARARGS | METH_KEYWORDS, "_add_rect_baked(p_min, p_max, col, r, t, tex_uvs, flags) -> ImDrawList::_AddRectBaked" },
{ "_add_line", (PyCFunction)(void (*)(void))bid_ImDrawList__add_line, METH_VARARGS | METH_KEYWORDS, "_add_line(p1, p2, col, thickness, flags) -> ImDrawList::_AddLine" },
{ "_add_rect_tiny_rounding", (PyCFunction)(void (*)(void))bid_ImDrawList__add_rect_tiny_rounding, METH_VARARGS | METH_KEYWORDS, "_add_rect_tiny_rounding(p_min, p_max, col, rounding, thickness, flags) -> ImDrawList::_AddRectTinyRounding" },
{ "_select_line_texture", (PyCFunction)(void (*)(void))bid_ImDrawList__select_line_texture, METH_VARARGS | METH_KEYWORDS, "_select_line_texture(screen_thickness, out_uv0, out_uv1, out_fringe, flags) -> ImDrawList::_SelectLineTexture" },
{ "_calculate_center_biased_offset", (PyCFunction)(void (*)(void))bid_ImDrawList__calculate_center_biased_offset, METH_VARARGS | METH_KEYWORDS, "_calculate_center_biased_offset(thickness) -> ImDrawList::_CalculateCenterBiasedOffset" },
{ "_add_polyline", (PyCFunction)(void (*)(void))bid_ImDrawList__add_polyline, METH_VARARGS | METH_KEYWORDS, "_add_polyline(points, col, thickness, flags, max_inner_offset) -> ImDrawList::_AddPolyline" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImDrawList[] = {
BI_FIELD(ImDrawList, CmdBuffer, "cmd_buffer"),
BI_FIELD(ImDrawList, CmdBuffer, "CmdBuffer"),
BI_FIELD(ImDrawList, IdxBuffer, "idx_buffer"),
BI_FIELD(ImDrawList, IdxBuffer, "IdxBuffer"),
BI_FIELD(ImDrawList, VtxBuffer, "vtx_buffer"),
BI_FIELD(ImDrawList, VtxBuffer, "VtxBuffer"),
BI_FIELD(ImDrawList, Flags, "flags"),
BI_FIELD(ImDrawList, Flags, "Flags"),
BI_FIELD(ImDrawList, _VtxCurrentIdx, "_vtx_current_idx"),
BI_FIELD(ImDrawList, _VtxCurrentIdx, "_VtxCurrentIdx"),
BI_FIELD(ImDrawList, _Data, "_data"),
BI_FIELD(ImDrawList, _Data, "_Data"),
BI_FIELD(ImDrawList, _VtxWritePtr, "_vtx_write_ptr"),
BI_FIELD(ImDrawList, _VtxWritePtr, "_VtxWritePtr"),
BI_FIELD(ImDrawList, _IdxWritePtr, "_idx_write_ptr"),
BI_FIELD(ImDrawList, _IdxWritePtr, "_IdxWritePtr"),
BI_FIELD(ImDrawList, _Path, "_path"),
BI_FIELD(ImDrawList, _Path, "_Path"),
BI_FIELD(ImDrawList, _CmdHeader, "_cmd_header"),
BI_FIELD(ImDrawList, _CmdHeader, "_CmdHeader"),
BI_FIELD(ImDrawList, _Splitter, "_splitter"),
BI_FIELD(ImDrawList, _Splitter, "_Splitter"),
BI_FIELD(ImDrawList, _ClipRectStack, "_clip_rect_stack"),
BI_FIELD(ImDrawList, _ClipRectStack, "_ClipRectStack"),
BI_FIELD(ImDrawList, _TextureStack, "_texture_stack"),
BI_FIELD(ImDrawList, _TextureStack, "_TextureStack"),
BI_FIELD(ImDrawList, _CallbacksDataBuf, "_callbacks_data_buf"),
BI_FIELD(ImDrawList, _CallbacksDataBuf, "_CallbacksDataBuf"),
BI_FIELD(ImDrawList, _DrawFlagsStack, "_draw_flags_stack"),
BI_FIELD(ImDrawList, _DrawFlagsStack, "_DrawFlagsStack"),
BI_FIELD(ImDrawList, _FringeScale, "_fringe_scale"),
BI_FIELD(ImDrawList, _FringeScale, "_FringeScale"),
BI_FIELD(ImDrawList, _InvFringeScale, "_inv_fringe_scale"),
BI_FIELD(ImDrawList, _InvFringeScale, "_InvFringeScale"),
BI_FIELD(ImDrawList, _FringeScaleIsInteger, "_fringe_scale_is_integer"),
BI_FIELD(ImDrawList, _FringeScaleIsInteger, "_FringeScaleIsInteger"),
BI_FIELD(ImDrawList, _OwnerName, "_owner_name"),
BI_FIELD(ImDrawList, _OwnerName, "_OwnerName"),
};
static PyMethodDef bi_methods_ImDrawData[] = {
{ "clear", (PyCFunction)(void (*)(void))bid_ImDrawData_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImDrawData::Clear" },
{ "add_draw_list", (PyCFunction)(void (*)(void))bid_ImDrawData_add_draw_list, METH_VARARGS | METH_KEYWORDS, "add_draw_list(draw_list) -> ImDrawData::AddDrawList" },
{ "de_index_all_buffers", (PyCFunction)(void (*)(void))bid_ImDrawData_de_index_all_buffers, METH_VARARGS | METH_KEYWORDS, "de_index_all_buffers() -> ImDrawData::DeIndexAllBuffers" },
{ "scale_clip_rects", (PyCFunction)(void (*)(void))bid_ImDrawData_scale_clip_rects, METH_VARARGS | METH_KEYWORDS, "scale_clip_rects(fb_scale) -> ImDrawData::ScaleClipRects" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImDrawData[] = {
BI_FIELD(ImDrawData, Valid, "valid"),
BI_FIELD(ImDrawData, Valid, "Valid"),
BI_FIELD(ImDrawData, FrameCount, "frame_count"),
BI_FIELD(ImDrawData, FrameCount, "FrameCount"),
BI_FIELD(ImDrawData, TotalIdxCount, "total_idx_count"),
BI_FIELD(ImDrawData, TotalIdxCount, "TotalIdxCount"),
BI_FIELD(ImDrawData, TotalVtxCount, "total_vtx_count"),
BI_FIELD(ImDrawData, TotalVtxCount, "TotalVtxCount"),
BI_FIELD(ImDrawData, CmdLists, "cmd_lists"),
BI_FIELD(ImDrawData, CmdLists, "CmdLists"),
BI_FIELD(ImDrawData, DisplayPos, "display_pos"),
BI_FIELD(ImDrawData, DisplayPos, "DisplayPos"),
BI_FIELD(ImDrawData, DisplaySize, "display_size"),
BI_FIELD(ImDrawData, DisplaySize, "DisplaySize"),
BI_FIELD(ImDrawData, FramebufferScale, "framebuffer_scale"),
BI_FIELD(ImDrawData, FramebufferScale, "FramebufferScale"),
BI_FIELD(ImDrawData, OwnerViewport, "owner_viewport"),
BI_FIELD(ImDrawData, OwnerViewport, "OwnerViewport"),
BI_FIELD(ImDrawData, Textures, "textures"),
BI_FIELD(ImDrawData, Textures, "Textures"),
BI_FIELD(ImDrawData, CmdListsCount, "cmd_lists_count"),
BI_FIELD(ImDrawData, CmdListsCount, "CmdListsCount"),
};
static BiField bi_fields_ImTextureRect[] = {
BI_FIELD(ImTextureRect, x, "x"),
BI_FIELD(ImTextureRect, y, "y"),
BI_FIELD(ImTextureRect, w, "w"),
BI_FIELD(ImTextureRect, h, "h"),
};
static PyMethodDef bi_methods_ImTextureData[] = {
{ "create", (PyCFunction)(void (*)(void))bid_ImTextureData_create, METH_VARARGS | METH_KEYWORDS, "create(format, w, h) -> ImTextureData::Create" },
{ "destroy_pixels", (PyCFunction)(void (*)(void))bid_ImTextureData_destroy_pixels, METH_VARARGS | METH_KEYWORDS, "destroy_pixels() -> ImTextureData::DestroyPixels" },
{ "get_pixels", (PyCFunction)(void (*)(void))bid_ImTextureData_get_pixels, METH_VARARGS | METH_KEYWORDS, "get_pixels() -> ImTextureData::GetPixels" },
{ "get_pixels_at", (PyCFunction)(void (*)(void))bid_ImTextureData_get_pixels_at, METH_VARARGS | METH_KEYWORDS, "get_pixels_at(x, y) -> ImTextureData::GetPixelsAt" },
{ "get_size_in_bytes", (PyCFunction)(void (*)(void))bid_ImTextureData_get_size_in_bytes, METH_VARARGS | METH_KEYWORDS, "get_size_in_bytes() -> ImTextureData::GetSizeInBytes" },
{ "get_pitch", (PyCFunction)(void (*)(void))bid_ImTextureData_get_pitch, METH_VARARGS | METH_KEYWORDS, "get_pitch() -> ImTextureData::GetPitch" },
{ "get_tex_ref", (PyCFunction)(void (*)(void))bid_ImTextureData_get_tex_ref, METH_VARARGS | METH_KEYWORDS, "get_tex_ref() -> ImTextureData::GetTexRef" },
{ "get_tex_id", (PyCFunction)(void (*)(void))bid_ImTextureData_get_tex_id, METH_VARARGS | METH_KEYWORDS, "get_tex_id() -> ImTextureData::GetTexID" },
{ "set_tex_id", (PyCFunction)(void (*)(void))bid_ImTextureData_set_tex_id, METH_VARARGS | METH_KEYWORDS, "set_tex_id(tex_id) -> ImTextureData::SetTexID" },
{ "set_status", (PyCFunction)(void (*)(void))bid_ImTextureData_set_status, METH_VARARGS | METH_KEYWORDS, "set_status(status) -> ImTextureData::SetStatus" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImTextureData[] = {
BI_FIELD(ImTextureData, UniqueID, "unique_id"),
BI_FIELD(ImTextureData, UniqueID, "UniqueID"),
BI_FIELD(ImTextureData, Status, "status"),
BI_FIELD(ImTextureData, Status, "Status"),
BI_FIELD(ImTextureData, BackendUserData, "backend_user_data"),
BI_FIELD(ImTextureData, BackendUserData, "BackendUserData"),
BI_FIELD(ImTextureData, QueueUserData, "queue_user_data"),
BI_FIELD(ImTextureData, QueueUserData, "QueueUserData"),
BI_FIELD(ImTextureData, TexID, "tex_id"),
BI_FIELD(ImTextureData, TexID, "TexID"),
BI_FIELD(ImTextureData, Format, "format"),
BI_FIELD(ImTextureData, Format, "Format"),
BI_FIELD(ImTextureData, Width, "width"),
BI_FIELD(ImTextureData, Width, "Width"),
BI_FIELD(ImTextureData, Height, "height"),
BI_FIELD(ImTextureData, Height, "Height"),
BI_FIELD(ImTextureData, BytesPerPixel, "bytes_per_pixel"),
BI_FIELD(ImTextureData, BytesPerPixel, "BytesPerPixel"),
BI_FIELD(ImTextureData, Pixels, "pixels"),
BI_FIELD(ImTextureData, Pixels, "Pixels"),
BI_FIELD(ImTextureData, UsedRect, "used_rect"),
BI_FIELD(ImTextureData, UsedRect, "UsedRect"),
BI_FIELD(ImTextureData, UpdateRect, "update_rect"),
BI_FIELD(ImTextureData, UpdateRect, "UpdateRect"),
BI_FIELD(ImTextureData, Updates, "updates"),
BI_FIELD(ImTextureData, Updates, "Updates"),
BI_FIELD(ImTextureData, UnusedFrames, "unused_frames"),
BI_FIELD(ImTextureData, UnusedFrames, "UnusedFrames"),
BI_FIELD(ImTextureData, RefCount, "ref_count"),
BI_FIELD(ImTextureData, RefCount, "RefCount"),
BI_FIELD(ImTextureData, UseColors, "use_colors"),
BI_FIELD(ImTextureData, UseColors, "UseColors"),
BI_FIELD(ImTextureData, WantDestroyNextFrame, "want_destroy_next_frame"),
BI_FIELD(ImTextureData, WantDestroyNextFrame, "WantDestroyNextFrame"),
};
static BiField bi_fields_ImFontConfig[] = {
BI_FIELD(ImFontConfig, Name, "name"),
BI_FIELD(ImFontConfig, Name, "Name"),
BI_FIELD(ImFontConfig, FontData, "font_data"),
BI_FIELD(ImFontConfig, FontData, "FontData"),
BI_FIELD(ImFontConfig, FontDataSize, "font_data_size"),
BI_FIELD(ImFontConfig, FontDataSize, "FontDataSize"),
BI_FIELD(ImFontConfig, FontDataOwnedByAtlas, "font_data_owned_by_atlas"),
BI_FIELD(ImFontConfig, FontDataOwnedByAtlas, "FontDataOwnedByAtlas"),
BI_FIELD(ImFontConfig, MergeMode, "merge_mode"),
BI_FIELD(ImFontConfig, MergeMode, "MergeMode"),
BI_FIELD(ImFontConfig, PixelSnapH, "pixel_snap_h"),
BI_FIELD(ImFontConfig, PixelSnapH, "PixelSnapH"),
BI_FIELD(ImFontConfig, OversampleH, "oversample_h"),
BI_FIELD(ImFontConfig, OversampleH, "OversampleH"),
BI_FIELD(ImFontConfig, OversampleV, "oversample_v"),
BI_FIELD(ImFontConfig, OversampleV, "OversampleV"),
BI_FIELD(ImFontConfig, EllipsisChar, "ellipsis_char"),
BI_FIELD(ImFontConfig, EllipsisChar, "EllipsisChar"),
BI_FIELD(ImFontConfig, SizePixels, "size_pixels"),
BI_FIELD(ImFontConfig, SizePixels, "SizePixels"),
BI_FIELD(ImFontConfig, GlyphRanges, "glyph_ranges"),
BI_FIELD(ImFontConfig, GlyphRanges, "GlyphRanges"),
BI_FIELD(ImFontConfig, GlyphExcludeRanges, "glyph_exclude_ranges"),
BI_FIELD(ImFontConfig, GlyphExcludeRanges, "GlyphExcludeRanges"),
BI_FIELD(ImFontConfig, GlyphOffset, "glyph_offset"),
BI_FIELD(ImFontConfig, GlyphOffset, "GlyphOffset"),
BI_FIELD(ImFontConfig, GlyphMinAdvanceX, "glyph_min_advance_x"),
BI_FIELD(ImFontConfig, GlyphMinAdvanceX, "GlyphMinAdvanceX"),
BI_FIELD(ImFontConfig, GlyphMaxAdvanceX, "glyph_max_advance_x"),
BI_FIELD(ImFontConfig, GlyphMaxAdvanceX, "GlyphMaxAdvanceX"),
BI_FIELD(ImFontConfig, GlyphExtraAdvanceX, "glyph_extra_advance_x"),
BI_FIELD(ImFontConfig, GlyphExtraAdvanceX, "GlyphExtraAdvanceX"),
BI_FIELD(ImFontConfig, FontNo, "font_no"),
BI_FIELD(ImFontConfig, FontNo, "FontNo"),
BI_FIELD(ImFontConfig, FontLoaderFlags, "font_loader_flags"),
BI_FIELD(ImFontConfig, FontLoaderFlags, "FontLoaderFlags"),
BI_FIELD(ImFontConfig, RasterizerMultiply, "rasterizer_multiply"),
BI_FIELD(ImFontConfig, RasterizerMultiply, "RasterizerMultiply"),
BI_FIELD(ImFontConfig, RasterizerDensity, "rasterizer_density"),
BI_FIELD(ImFontConfig, RasterizerDensity, "RasterizerDensity"),
BI_FIELD(ImFontConfig, ExtraSizeScale, "extra_size_scale"),
BI_FIELD(ImFontConfig, ExtraSizeScale, "ExtraSizeScale"),
BI_FIELD(ImFontConfig, Flags, "flags"),
BI_FIELD(ImFontConfig, Flags, "Flags"),
BI_FIELD(ImFontConfig, DstFont, "dst_font"),
BI_FIELD(ImFontConfig, DstFont, "DstFont"),
BI_FIELD(ImFontConfig, FontLoader, "font_loader"),
BI_FIELD(ImFontConfig, FontLoader, "FontLoader"),
BI_FIELD(ImFontConfig, FontLoaderData, "font_loader_data"),
BI_FIELD(ImFontConfig, FontLoaderData, "FontLoaderData"),
BI_FIELD(ImFontConfig, PixelSnapV, "pixel_snap_v"),
BI_FIELD(ImFontConfig, PixelSnapV, "PixelSnapV"),
};
static BiField bi_fields_ImFontGlyph[] = {
BI_FIELD(ImFontGlyph, AdvanceX, "advance_x"),
BI_FIELD(ImFontGlyph, AdvanceX, "AdvanceX"),
BI_FIELD(ImFontGlyph, X0, "x0"),
BI_FIELD(ImFontGlyph, X0, "X0"),
BI_FIELD(ImFontGlyph, Y0, "y0"),
BI_FIELD(ImFontGlyph, Y0, "Y0"),
BI_FIELD(ImFontGlyph, X1, "x1"),
BI_FIELD(ImFontGlyph, X1, "X1"),
BI_FIELD(ImFontGlyph, Y1, "y1"),
BI_FIELD(ImFontGlyph, Y1, "Y1"),
BI_FIELD(ImFontGlyph, U0, "u0"),
BI_FIELD(ImFontGlyph, U0, "U0"),
BI_FIELD(ImFontGlyph, V0, "v0"),
BI_FIELD(ImFontGlyph, V0, "V0"),
BI_FIELD(ImFontGlyph, U1, "u1"),
BI_FIELD(ImFontGlyph, U1, "U1"),
BI_FIELD(ImFontGlyph, V1, "v1"),
BI_FIELD(ImFontGlyph, V1, "V1"),
BI_FIELD(ImFontGlyph, PackId, "pack_id"),
BI_FIELD(ImFontGlyph, PackId, "PackId"),
};
static PyMethodDef bi_methods_ImFontGlyphRangesBuilder[] = {
{ "clear", (PyCFunction)(void (*)(void))bid_ImFontGlyphRangesBuilder_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImFontGlyphRangesBuilder::Clear" },
{ "get_bit", (PyCFunction)(void (*)(void))bid_ImFontGlyphRangesBuilder_get_bit, METH_VARARGS | METH_KEYWORDS, "get_bit(n) -> ImFontGlyphRangesBuilder::GetBit" },
{ "set_bit", (PyCFunction)(void (*)(void))bid_ImFontGlyphRangesBuilder_set_bit, METH_VARARGS | METH_KEYWORDS, "set_bit(n) -> ImFontGlyphRangesBuilder::SetBit" },
{ "add_char", (PyCFunction)(void (*)(void))bid_ImFontGlyphRangesBuilder_add_char, METH_VARARGS | METH_KEYWORDS, "add_char(c) -> ImFontGlyphRangesBuilder::AddChar" },
{ "add_text", (PyCFunction)(void (*)(void))bid_ImFontGlyphRangesBuilder_add_text, METH_VARARGS | METH_KEYWORDS, "add_text(text, text_end=NULL) -> ImFontGlyphRangesBuilder::AddText" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImFontGlyphRangesBuilder[] = {
BI_FIELD(ImFontGlyphRangesBuilder, UsedChars, "used_chars"),
BI_FIELD(ImFontGlyphRangesBuilder, UsedChars, "UsedChars"),
};
static BiField bi_fields_ImFontAtlasRect[] = {
BI_FIELD(ImFontAtlasRect, x, "x"),
BI_FIELD(ImFontAtlasRect, y, "y"),
BI_FIELD(ImFontAtlasRect, w, "w"),
BI_FIELD(ImFontAtlasRect, h, "h"),
BI_FIELD(ImFontAtlasRect, uv0, "uv0"),
BI_FIELD(ImFontAtlasRect, uv1, "uv1"),
};
static PyMethodDef bi_methods_ImFontAtlas[] = {
{ "add_font", (PyCFunction)(void (*)(void))bid_ImFontAtlas_add_font, METH_VARARGS | METH_KEYWORDS, "add_font(font_cfg) -> ImFontAtlas::AddFont" },
{ "add_font_default", (PyCFunction)(void (*)(void))bid_ImFontAtlas_add_font_default, METH_VARARGS | METH_KEYWORDS, "add_font_default(font_cfg=NULL) -> ImFontAtlas::AddFontDefault" },
{ "add_font_default_vector", (PyCFunction)(void (*)(void))bid_ImFontAtlas_add_font_default_vector, METH_VARARGS | METH_KEYWORDS, "add_font_default_vector(font_cfg=NULL) -> ImFontAtlas::AddFontDefaultVector" },
{ "add_font_default_bitmap", (PyCFunction)(void (*)(void))bid_ImFontAtlas_add_font_default_bitmap, METH_VARARGS | METH_KEYWORDS, "add_font_default_bitmap(font_cfg=NULL) -> ImFontAtlas::AddFontDefaultBitmap" },
{ "add_font_from_file_ttf", (PyCFunction)(void (*)(void))bid_ImFontAtlas_add_font_from_file_ttf, METH_VARARGS | METH_KEYWORDS, "add_font_from_file_ttf(filename, size_pixels=0.0f, font_cfg=NULL) -> ImFontAtlas::AddFontFromFileTTF" },
{ "add_font_from_memory_compressed_base85_ttf", (PyCFunction)(void (*)(void))bid_ImFontAtlas_add_font_from_memory_compressed_base85_ttf, METH_VARARGS | METH_KEYWORDS, "add_font_from_memory_compressed_base85_ttf(compressed_font_data_base85, size_pixels=0.0f, font_cfg=NULL) -> ImFontAtlas::AddFontFromMemoryCompressedBase85TTF" },
{ "remove_font", (PyCFunction)(void (*)(void))bid_ImFontAtlas_remove_font, METH_VARARGS | METH_KEYWORDS, "remove_font(font) -> ImFontAtlas::RemoveFont" },
{ "compact_cache", (PyCFunction)(void (*)(void))bid_ImFontAtlas_compact_cache, METH_VARARGS | METH_KEYWORDS, "compact_cache() -> ImFontAtlas::CompactCache" },
{ "set_font_loader", (PyCFunction)(void (*)(void))bid_ImFontAtlas_set_font_loader, METH_VARARGS | METH_KEYWORDS, "set_font_loader(font_loader) -> ImFontAtlas::SetFontLoader" },
{ "clear", (PyCFunction)(void (*)(void))bid_ImFontAtlas_clear, METH_VARARGS | METH_KEYWORDS, "clear() -> ImFontAtlas::Clear" },
{ "clear_fonts", (PyCFunction)(void (*)(void))bid_ImFontAtlas_clear_fonts, METH_VARARGS | METH_KEYWORDS, "clear_fonts() -> ImFontAtlas::ClearFonts" },
{ "clear_input_data", (PyCFunction)(void (*)(void))bid_ImFontAtlas_clear_input_data, METH_VARARGS | METH_KEYWORDS, "clear_input_data() -> ImFontAtlas::ClearInputData" },
{ "clear_tex_data", (PyCFunction)(void (*)(void))bid_ImFontAtlas_clear_tex_data, METH_VARARGS | METH_KEYWORDS, "clear_tex_data() -> ImFontAtlas::ClearTexData" },
{ "get_glyph_ranges_default", (PyCFunction)(void (*)(void))bid_ImFontAtlas_get_glyph_ranges_default, METH_VARARGS | METH_KEYWORDS, "get_glyph_ranges_default() -> ImFontAtlas::GetGlyphRangesDefault" },
{ "add_custom_rect", (PyCFunction)(void (*)(void))bid_ImFontAtlas_add_custom_rect, METH_VARARGS | METH_KEYWORDS, "add_custom_rect(width, height, out_r=NULL) -> ImFontAtlas::AddCustomRect" },
{ "remove_custom_rect", (PyCFunction)(void (*)(void))bid_ImFontAtlas_remove_custom_rect, METH_VARARGS | METH_KEYWORDS, "remove_custom_rect(id) -> ImFontAtlas::RemoveCustomRect" },
{ "get_custom_rect", (PyCFunction)(void (*)(void))bid_ImFontAtlas_get_custom_rect, METH_VARARGS | METH_KEYWORDS, "get_custom_rect(id, out_r) -> ImFontAtlas::GetCustomRect" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImFontAtlas[] = {
BI_FIELD(ImFontAtlas, Flags, "flags"),
BI_FIELD(ImFontAtlas, Flags, "Flags"),
BI_FIELD(ImFontAtlas, TexDesiredFormat, "tex_desired_format"),
BI_FIELD(ImFontAtlas, TexDesiredFormat, "TexDesiredFormat"),
BI_FIELD(ImFontAtlas, TexGlyphPadding, "tex_glyph_padding"),
BI_FIELD(ImFontAtlas, TexGlyphPadding, "TexGlyphPadding"),
BI_FIELD(ImFontAtlas, TexMinWidth, "tex_min_width"),
BI_FIELD(ImFontAtlas, TexMinWidth, "TexMinWidth"),
BI_FIELD(ImFontAtlas, TexMinHeight, "tex_min_height"),
BI_FIELD(ImFontAtlas, TexMinHeight, "TexMinHeight"),
BI_FIELD(ImFontAtlas, TexMaxWidth, "tex_max_width"),
BI_FIELD(ImFontAtlas, TexMaxWidth, "TexMaxWidth"),
BI_FIELD(ImFontAtlas, TexMaxHeight, "tex_max_height"),
BI_FIELD(ImFontAtlas, TexMaxHeight, "TexMaxHeight"),
BI_FIELD(ImFontAtlas, UserData, "user_data"),
BI_FIELD(ImFontAtlas, UserData, "UserData"),
BI_FIELD(ImFontAtlas, TexRef, "tex_ref"),
BI_FIELD(ImFontAtlas, TexRef, "TexRef"),
BI_FIELD(ImFontAtlas, TexID, "tex_id"),
BI_FIELD(ImFontAtlas, TexID, "TexID"),
BI_FIELD(ImFontAtlas, TexData, "tex_data"),
BI_FIELD(ImFontAtlas, TexData, "TexData"),
BI_FIELD(ImFontAtlas, TexList, "tex_list"),
BI_FIELD(ImFontAtlas, TexList, "TexList"),
BI_FIELD(ImFontAtlas, Locked, "locked"),
BI_FIELD(ImFontAtlas, Locked, "Locked"),
BI_FIELD(ImFontAtlas, RendererHasTextures, "renderer_has_textures"),
BI_FIELD(ImFontAtlas, RendererHasTextures, "RendererHasTextures"),
BI_FIELD(ImFontAtlas, TexIsBuilt, "tex_is_built"),
BI_FIELD(ImFontAtlas, TexIsBuilt, "TexIsBuilt"),
BI_FIELD(ImFontAtlas, TexPixelsUseColors, "tex_pixels_use_colors"),
BI_FIELD(ImFontAtlas, TexPixelsUseColors, "TexPixelsUseColors"),
BI_FIELD(ImFontAtlas, TexUvScale, "tex_uv_scale"),
BI_FIELD(ImFontAtlas, TexUvScale, "TexUvScale"),
BI_FIELD(ImFontAtlas, TexUvWhitePixel, "tex_uv_white_pixel"),
BI_FIELD(ImFontAtlas, TexUvWhitePixel, "TexUvWhitePixel"),
BI_FIELD(ImFontAtlas, Fonts, "fonts"),
BI_FIELD(ImFontAtlas, Fonts, "Fonts"),
BI_FIELD(ImFontAtlas, Sources, "sources"),
BI_FIELD(ImFontAtlas, Sources, "Sources"),
BI_FIELD(ImFontAtlas, TexNextUniqueID, "tex_next_unique_id"),
BI_FIELD(ImFontAtlas, TexNextUniqueID, "TexNextUniqueID"),
BI_FIELD(ImFontAtlas, FontNextUniqueID, "font_next_unique_id"),
BI_FIELD(ImFontAtlas, FontNextUniqueID, "FontNextUniqueID"),
BI_FIELD(ImFontAtlas, DrawListSharedDatas, "draw_list_shared_datas"),
BI_FIELD(ImFontAtlas, DrawListSharedDatas, "DrawListSharedDatas"),
BI_FIELD(ImFontAtlas, Builder, "builder"),
BI_FIELD(ImFontAtlas, Builder, "Builder"),
BI_FIELD(ImFontAtlas, FontLoader, "font_loader"),
BI_FIELD(ImFontAtlas, FontLoader, "FontLoader"),
BI_FIELD(ImFontAtlas, FontLoaderName, "font_loader_name"),
BI_FIELD(ImFontAtlas, FontLoaderName, "FontLoaderName"),
BI_FIELD(ImFontAtlas, FontLoaderData, "font_loader_data"),
BI_FIELD(ImFontAtlas, FontLoaderData, "FontLoaderData"),
BI_FIELD(ImFontAtlas, FontLoaderFlags, "font_loader_flags"),
BI_FIELD(ImFontAtlas, FontLoaderFlags, "FontLoaderFlags"),
BI_FIELD(ImFontAtlas, RefCount, "ref_count"),
BI_FIELD(ImFontAtlas, RefCount, "RefCount"),
BI_FIELD(ImFontAtlas, OwnerContext, "owner_context"),
BI_FIELD(ImFontAtlas, OwnerContext, "OwnerContext"),
BI_FIELD(ImFontAtlas, TempRect, "temp_rect"),
BI_FIELD(ImFontAtlas, TempRect, "TempRect"),
};
static PyMethodDef bi_methods_ImFontBaked[] = {
{ "clear_output_data", (PyCFunction)(void (*)(void))bid_ImFontBaked_clear_output_data, METH_VARARGS | METH_KEYWORDS, "clear_output_data() -> ImFontBaked::ClearOutputData" },
{ "find_glyph", (PyCFunction)(void (*)(void))bid_ImFontBaked_find_glyph, METH_VARARGS | METH_KEYWORDS, "find_glyph(c) -> ImFontBaked::FindGlyph" },
{ "find_glyph_no_fallback", (PyCFunction)(void (*)(void))bid_ImFontBaked_find_glyph_no_fallback, METH_VARARGS | METH_KEYWORDS, "find_glyph_no_fallback(c) -> ImFontBaked::FindGlyphNoFallback" },
{ "get_char_advance", (PyCFunction)(void (*)(void))bid_ImFontBaked_get_char_advance, METH_VARARGS | METH_KEYWORDS, "get_char_advance(c) -> ImFontBaked::GetCharAdvance" },
{ "is_glyph_loaded", (PyCFunction)(void (*)(void))bid_ImFontBaked_is_glyph_loaded, METH_VARARGS | METH_KEYWORDS, "is_glyph_loaded(c) -> ImFontBaked::IsGlyphLoaded" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImFontBaked[] = {
BI_FIELD(ImFontBaked, IndexAdvanceX, "index_advance_x"),
BI_FIELD(ImFontBaked, IndexAdvanceX, "IndexAdvanceX"),
BI_FIELD(ImFontBaked, FallbackAdvanceX, "fallback_advance_x"),
BI_FIELD(ImFontBaked, FallbackAdvanceX, "FallbackAdvanceX"),
BI_FIELD(ImFontBaked, Size, "size"),
BI_FIELD(ImFontBaked, Size, "Size"),
BI_FIELD(ImFontBaked, RasterizerDensity, "rasterizer_density"),
BI_FIELD(ImFontBaked, RasterizerDensity, "RasterizerDensity"),
BI_FIELD(ImFontBaked, IndexLookup, "index_lookup"),
BI_FIELD(ImFontBaked, IndexLookup, "IndexLookup"),
BI_FIELD(ImFontBaked, Glyphs, "glyphs"),
BI_FIELD(ImFontBaked, Glyphs, "Glyphs"),
BI_FIELD(ImFontBaked, FallbackGlyphIndex, "fallback_glyph_index"),
BI_FIELD(ImFontBaked, FallbackGlyphIndex, "FallbackGlyphIndex"),
BI_FIELD(ImFontBaked, Ascent, "ascent"),
BI_FIELD(ImFontBaked, Ascent, "Ascent"),
BI_FIELD(ImFontBaked, Descent, "descent"),
BI_FIELD(ImFontBaked, Descent, "Descent"),
BI_FIELD(ImFontBaked, LastUsedFrame, "last_used_frame"),
BI_FIELD(ImFontBaked, LastUsedFrame, "LastUsedFrame"),
BI_FIELD(ImFontBaked, BakedId, "baked_id"),
BI_FIELD(ImFontBaked, BakedId, "BakedId"),
BI_FIELD(ImFontBaked, OwnerFont, "owner_font"),
BI_FIELD(ImFontBaked, OwnerFont, "OwnerFont"),
BI_FIELD(ImFontBaked, FontLoaderDatas, "font_loader_datas"),
BI_FIELD(ImFontBaked, FontLoaderDatas, "FontLoaderDatas"),
};
static PyMethodDef bi_methods_ImFont[] = {
{ "is_glyph_in_font", (PyCFunction)(void (*)(void))bid_ImFont_is_glyph_in_font, METH_VARARGS | METH_KEYWORDS, "is_glyph_in_font(c) -> ImFont::IsGlyphInFont" },
{ "is_loaded", (PyCFunction)(void (*)(void))bid_ImFont_is_loaded, METH_VARARGS | METH_KEYWORDS, "is_loaded() -> ImFont::IsLoaded" },
{ "get_debug_name", (PyCFunction)(void (*)(void))bid_ImFont_get_debug_name, METH_VARARGS | METH_KEYWORDS, "get_debug_name() -> ImFont::GetDebugName" },
{ "get_font_baked", (PyCFunction)(void (*)(void))bid_ImFont_get_font_baked, METH_VARARGS | METH_KEYWORDS, "get_font_baked(font_size, density=- 1.0f) -> ImFont::GetFontBaked" },
{ "calc_text_size_a", (PyCFunction)(void (*)(void))bid_ImFont_calc_text_size_a, METH_VARARGS | METH_KEYWORDS, "calc_text_size_a(size, max_width, wrap_width, text_begin, text_end=NULL) -> ImFont::CalcTextSizeA" },
{ "calc_word_wrap_position", (PyCFunction)(void (*)(void))bid_ImFont_calc_word_wrap_position, METH_VARARGS | METH_KEYWORDS, "calc_word_wrap_position(size, text, text_end, wrap_width) -> ImFont::CalcWordWrapPosition" },
{ "render_char", (PyCFunction)(void (*)(void))bid_ImFont_render_char, METH_VARARGS | METH_KEYWORDS, "render_char(draw_list, size, pos, col, c) -> ImFont::RenderChar" },
{ "render_text", (PyCFunction)(void (*)(void))bid_ImFont_render_text, METH_VARARGS | METH_KEYWORDS, "render_text(draw_list, size, pos, col, clip_rect, text_begin, text_end, wrap_width=0.0f, flags=0) -> ImFont::RenderText" },
{ "clear_output_data", (PyCFunction)(void (*)(void))bid_ImFont_clear_output_data, METH_VARARGS | METH_KEYWORDS, "clear_output_data() -> ImFont::ClearOutputData" },
{ "add_remap_codepoint", (PyCFunction)(void (*)(void))bid_ImFont_add_remap_codepoint, METH_VARARGS | METH_KEYWORDS, "add_remap_codepoint(from_codepoint, to_codepoint) -> ImFont::AddRemapCodepoint" },
{ "add_remap_codepoint_to_glyph_index", (PyCFunction)(void (*)(void))bid_ImFont_add_remap_codepoint_to_glyph_index, METH_VARARGS | METH_KEYWORDS, "add_remap_codepoint_to_glyph_index(from_codepoint, font_src_idx, glyph_idx) -> ImFont::AddRemapCodepointToGlyphIndex" },
{ "is_glyph_range_unused", (PyCFunction)(void (*)(void))bid_ImFont_is_glyph_range_unused, METH_VARARGS | METH_KEYWORDS, "is_glyph_range_unused(c_begin, c_last) -> ImFont::IsGlyphRangeUnused" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImFont[] = {
BI_FIELD(ImFont, LastBaked, "last_baked"),
BI_FIELD(ImFont, LastBaked, "LastBaked"),
BI_FIELD(ImFont, OwnerAtlas, "owner_atlas"),
BI_FIELD(ImFont, OwnerAtlas, "OwnerAtlas"),
BI_FIELD(ImFont, Flags, "flags"),
BI_FIELD(ImFont, Flags, "Flags"),
BI_FIELD(ImFont, CurrentRasterizerDensity, "current_rasterizer_density"),
BI_FIELD(ImFont, CurrentRasterizerDensity, "CurrentRasterizerDensity"),
BI_FIELD(ImFont, FontId, "font_id"),
BI_FIELD(ImFont, FontId, "FontId"),
BI_FIELD(ImFont, LegacySize, "legacy_size"),
BI_FIELD(ImFont, LegacySize, "LegacySize"),
BI_FIELD(ImFont, Sources, "sources"),
BI_FIELD(ImFont, Sources, "Sources"),
BI_FIELD(ImFont, EllipsisChar, "ellipsis_char"),
BI_FIELD(ImFont, EllipsisChar, "EllipsisChar"),
BI_FIELD(ImFont, FallbackChar, "fallback_char"),
BI_FIELD(ImFont, FallbackChar, "FallbackChar"),
BI_FIELD(ImFont, Used8kPagesMap, "used8k_pages_map"),
BI_FIELD(ImFont, Used8kPagesMap, "Used8kPagesMap"),
BI_FIELD(ImFont, EllipsisAutoBake, "ellipsis_auto_bake"),
BI_FIELD(ImFont, EllipsisAutoBake, "EllipsisAutoBake"),
BI_FIELD(ImFont, RemapPairs, "remap_pairs"),
BI_FIELD(ImFont, RemapPairs, "RemapPairs"),
BI_FIELD(ImFont, Scale, "scale"),
BI_FIELD(ImFont, Scale, "Scale"),
};
static PyMethodDef bi_methods_ImGuiViewport[] = {
{ "get_center", (PyCFunction)(void (*)(void))bid_ImGuiViewport_get_center, METH_VARARGS | METH_KEYWORDS, "get_center() -> ImGuiViewport::GetCenter" },
{ "get_work_center", (PyCFunction)(void (*)(void))bid_ImGuiViewport_get_work_center, METH_VARARGS | METH_KEYWORDS, "get_work_center() -> ImGuiViewport::GetWorkCenter" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiViewport[] = {
BI_FIELD(ImGuiViewport, ID, "id"),
BI_FIELD(ImGuiViewport, ID, "ID"),
BI_FIELD(ImGuiViewport, Flags, "flags"),
BI_FIELD(ImGuiViewport, Flags, "Flags"),
BI_FIELD(ImGuiViewport, Pos, "pos"),
BI_FIELD(ImGuiViewport, Pos, "Pos"),
BI_FIELD(ImGuiViewport, Size, "size"),
BI_FIELD(ImGuiViewport, Size, "Size"),
BI_FIELD(ImGuiViewport, FramebufferScale, "framebuffer_scale"),
BI_FIELD(ImGuiViewport, FramebufferScale, "FramebufferScale"),
BI_FIELD(ImGuiViewport, WorkPos, "work_pos"),
BI_FIELD(ImGuiViewport, WorkPos, "WorkPos"),
BI_FIELD(ImGuiViewport, WorkSize, "work_size"),
BI_FIELD(ImGuiViewport, WorkSize, "WorkSize"),
BI_FIELD(ImGuiViewport, PlatformHandle, "platform_handle"),
BI_FIELD(ImGuiViewport, PlatformHandle, "PlatformHandle"),
BI_FIELD(ImGuiViewport, PlatformHandleRaw, "platform_handle_raw"),
BI_FIELD(ImGuiViewport, PlatformHandleRaw, "PlatformHandleRaw"),
};
static PyMethodDef bi_methods_ImGuiPlatformIO[] = {
{ "clear_platform_handlers", (PyCFunction)(void (*)(void))bid_ImGuiPlatformIO_clear_platform_handlers, METH_VARARGS | METH_KEYWORDS, "clear_platform_handlers() -> ImGuiPlatformIO::ClearPlatformHandlers" },
{ "clear_renderer_handlers", (PyCFunction)(void (*)(void))bid_ImGuiPlatformIO_clear_renderer_handlers, METH_VARARGS | METH_KEYWORDS, "clear_renderer_handlers() -> ImGuiPlatformIO::ClearRendererHandlers" },
{ nullptr, nullptr, 0, nullptr },
};
static BiField bi_fields_ImGuiPlatformIO[] = {
BI_FIELD(ImGuiPlatformIO, Platform_ClipboardUserData, "platform_clipboard_user_data"),
BI_FIELD(ImGuiPlatformIO, Platform_ClipboardUserData, "Platform_ClipboardUserData"),
BI_FIELD(ImGuiPlatformIO, Platform_OpenInShellUserData, "platform_open_in_shell_user_data"),
BI_FIELD(ImGuiPlatformIO, Platform_OpenInShellUserData, "Platform_OpenInShellUserData"),
BI_FIELD(ImGuiPlatformIO, Platform_ImeUserData, "platform_ime_user_data"),
BI_FIELD(ImGuiPlatformIO, Platform_ImeUserData, "Platform_ImeUserData"),
BI_FIELD(ImGuiPlatformIO, Platform_LocaleDecimalPoint, "platform_locale_decimal_point"),
BI_FIELD(ImGuiPlatformIO, Platform_LocaleDecimalPoint, "Platform_LocaleDecimalPoint"),
BI_FIELD(ImGuiPlatformIO, Platform_SessionDate, "platform_session_date"),
BI_FIELD(ImGuiPlatformIO, Platform_SessionDate, "Platform_SessionDate"),
BI_FIELD(ImGuiPlatformIO, Renderer_TextureMaxWidth, "renderer_texture_max_width"),
BI_FIELD(ImGuiPlatformIO, Renderer_TextureMaxWidth, "Renderer_TextureMaxWidth"),
BI_FIELD(ImGuiPlatformIO, Renderer_TextureMaxHeight, "renderer_texture_max_height"),
BI_FIELD(ImGuiPlatformIO, Renderer_TextureMaxHeight, "Renderer_TextureMaxHeight"),
BI_FIELD(ImGuiPlatformIO, Renderer_RenderState, "renderer_render_state"),
BI_FIELD(ImGuiPlatformIO, Renderer_RenderState, "Renderer_RenderState"),
BI_FIELD(ImGuiPlatformIO, DrawCallback_ResetRenderState, "draw_callback_reset_render_state"),
BI_FIELD(ImGuiPlatformIO, DrawCallback_ResetRenderState, "DrawCallback_ResetRenderState"),
BI_FIELD(ImGuiPlatformIO, DrawCallback_SetSamplerLinear, "draw_callback_set_sampler_linear"),
BI_FIELD(ImGuiPlatformIO, DrawCallback_SetSamplerLinear, "DrawCallback_SetSamplerLinear"),
BI_FIELD(ImGuiPlatformIO, DrawCallback_SetSamplerNearest, "draw_callback_set_sampler_nearest"),
BI_FIELD(ImGuiPlatformIO, DrawCallback_SetSamplerNearest, "DrawCallback_SetSamplerNearest"),
BI_FIELD(ImGuiPlatformIO, DrawCallback_SetSamplerFromTex, "draw_callback_set_sampler_from_tex"),
BI_FIELD(ImGuiPlatformIO, DrawCallback_SetSamplerFromTex, "DrawCallback_SetSamplerFromTex"),
BI_FIELD(ImGuiPlatformIO, Textures, "textures"),
BI_FIELD(ImGuiPlatformIO, Textures, "Textures"),
};
static BiField bi_fields_ImGuiPlatformImeData[] = {
BI_FIELD(ImGuiPlatformImeData, WantVisible, "want_visible"),
BI_FIELD(ImGuiPlatformImeData, WantVisible, "WantVisible"),
BI_FIELD(ImGuiPlatformImeData, WantTextInput, "want_text_input"),
BI_FIELD(ImGuiPlatformImeData, WantTextInput, "WantTextInput"),
BI_FIELD(ImGuiPlatformImeData, InputPos, "input_pos"),
BI_FIELD(ImGuiPlatformImeData, InputPos, "InputPos"),
BI_FIELD(ImGuiPlatformImeData, InputLineHeight, "input_line_height"),
BI_FIELD(ImGuiPlatformImeData, InputLineHeight, "InputLineHeight"),
BI_FIELD(ImGuiPlatformImeData, ViewportId, "viewport_id"),
BI_FIELD(ImGuiPlatformImeData, ViewportId, "ViewportId"),
};
static BiStructInfo bi_structs[] = {
{ "ImDrawListSharedData", &BiType<ImDrawListSharedData>::type, nullptr, nullptr, 0, nullptr },
{ "ImFontAtlasBuilder", &BiType<ImFontAtlasBuilder>::type, nullptr, nullptr, 0, nullptr },
{ "ImFontLoader", &BiType<ImFontLoader>::type, nullptr, nullptr, 0, nullptr },
{ "ImGuiContext", &BiType<ImGuiContext>::type, nullptr, nullptr, 0, nullptr },
{ "ImGuiTextFilterItem", &BiType<ImGuiTextFilterItem>::type, nullptr, nullptr, 0, nullptr },
{ "ImTextureRef", &BiType<ImTextureRef>::type, bi_methods_ImTextureRef, bi_fields_ImTextureRef, (int)(sizeof(bi_fields_ImTextureRef) / sizeof(BiField)), (newfunc)bid_ImTextureRef_new },
{ "ImGuiTableSortSpecs", &BiType<ImGuiTableSortSpecs>::type, nullptr, bi_fields_ImGuiTableSortSpecs, (int)(sizeof(bi_fields_ImGuiTableSortSpecs) / sizeof(BiField)), (newfunc)bid_ImGuiTableSortSpecs_new },
{ "ImGuiTableColumnSortSpecs", &BiType<ImGuiTableColumnSortSpecs>::type, nullptr, bi_fields_ImGuiTableColumnSortSpecs, (int)(sizeof(bi_fields_ImGuiTableColumnSortSpecs) / sizeof(BiField)), (newfunc)bid_ImGuiTableColumnSortSpecs_new },
{ "ImGuiStyle", &BiType<ImGuiStyle>::type, bi_methods_ImGuiStyle, bi_fields_ImGuiStyle, (int)(sizeof(bi_fields_ImGuiStyle) / sizeof(BiField)), (newfunc)bid_ImGuiStyle_new },
{ "ImGuiKeyData", &BiType<ImGuiKeyData>::type, nullptr, bi_fields_ImGuiKeyData, (int)(sizeof(bi_fields_ImGuiKeyData) / sizeof(BiField)), (newfunc)bid_ImGuiKeyData_new },
{ "ImGuiIO", &BiType<ImGuiIO>::type, bi_methods_ImGuiIO, bi_fields_ImGuiIO, (int)(sizeof(bi_fields_ImGuiIO) / sizeof(BiField)), (newfunc)bid_ImGuiIO_new },
{ "ImGuiInputTextCallbackData", &BiType<ImGuiInputTextCallbackData>::type, bi_methods_ImGuiInputTextCallbackData, bi_fields_ImGuiInputTextCallbackData, (int)(sizeof(bi_fields_ImGuiInputTextCallbackData) / sizeof(BiField)), (newfunc)bid_ImGuiInputTextCallbackData_new },
{ "ImGuiSizeCallbackData", &BiType<ImGuiSizeCallbackData>::type, nullptr, bi_fields_ImGuiSizeCallbackData, (int)(sizeof(bi_fields_ImGuiSizeCallbackData) / sizeof(BiField)), (newfunc)bid_ImGuiSizeCallbackData_new },
{ "ImGuiPayload", &BiType<ImGuiPayload>::type, bi_methods_ImGuiPayload, bi_fields_ImGuiPayload, (int)(sizeof(bi_fields_ImGuiPayload) / sizeof(BiField)), (newfunc)bid_ImGuiPayload_new },
{ "ImGuiOnceUponAFrame", &BiType<ImGuiOnceUponAFrame>::type, nullptr, bi_fields_ImGuiOnceUponAFrame, (int)(sizeof(bi_fields_ImGuiOnceUponAFrame) / sizeof(BiField)), (newfunc)bid_ImGuiOnceUponAFrame_new },
{ "ImGuiTextFilter", &BiType<ImGuiTextFilter>::type, bi_methods_ImGuiTextFilter, bi_fields_ImGuiTextFilter, (int)(sizeof(bi_fields_ImGuiTextFilter) / sizeof(BiField)), (newfunc)bid_ImGuiTextFilter_new },
{ "ImGuiTextBuffer", &BiType<ImGuiTextBuffer>::type, bi_methods_ImGuiTextBuffer, bi_fields_ImGuiTextBuffer, (int)(sizeof(bi_fields_ImGuiTextBuffer) / sizeof(BiField)), (newfunc)bid_ImGuiTextBuffer_new },
{ "ImGuiStoragePair", &BiType<ImGuiStoragePair>::type, nullptr, bi_fields_ImGuiStoragePair, (int)(sizeof(bi_fields_ImGuiStoragePair) / sizeof(BiField)), (newfunc)bid_ImGuiStoragePair_new },
{ "ImGuiStorage", &BiType<ImGuiStorage>::type, bi_methods_ImGuiStorage, bi_fields_ImGuiStorage, (int)(sizeof(bi_fields_ImGuiStorage) / sizeof(BiField)), (newfunc)bid_ImGuiStorage_new },
{ "ImGuiListClipper", &BiType<ImGuiListClipper>::type, bi_methods_ImGuiListClipper, bi_fields_ImGuiListClipper, (int)(sizeof(bi_fields_ImGuiListClipper) / sizeof(BiField)), (newfunc)bid_ImGuiListClipper_new },
{ "ImColor", &BiType<ImColor>::type, bi_methods_ImColor, bi_fields_ImColor, (int)(sizeof(bi_fields_ImColor) / sizeof(BiField)), (newfunc)bid_ImColor_new },
{ "ImGuiMultiSelectIO", &BiType<ImGuiMultiSelectIO>::type, nullptr, bi_fields_ImGuiMultiSelectIO, (int)(sizeof(bi_fields_ImGuiMultiSelectIO) / sizeof(BiField)), (newfunc)bid_ImGuiMultiSelectIO_new },
{ "ImGuiSelectionRequest", &BiType<ImGuiSelectionRequest>::type, nullptr, bi_fields_ImGuiSelectionRequest, (int)(sizeof(bi_fields_ImGuiSelectionRequest) / sizeof(BiField)), (newfunc)bid_ImGuiSelectionRequest_new },
{ "ImGuiSelectionBasicStorage", &BiType<ImGuiSelectionBasicStorage>::type, bi_methods_ImGuiSelectionBasicStorage, bi_fields_ImGuiSelectionBasicStorage, (int)(sizeof(bi_fields_ImGuiSelectionBasicStorage) / sizeof(BiField)), (newfunc)bid_ImGuiSelectionBasicStorage_new },
{ "ImGuiSelectionExternalStorage", &BiType<ImGuiSelectionExternalStorage>::type, bi_methods_ImGuiSelectionExternalStorage, bi_fields_ImGuiSelectionExternalStorage, (int)(sizeof(bi_fields_ImGuiSelectionExternalStorage) / sizeof(BiField)), (newfunc)bid_ImGuiSelectionExternalStorage_new },
{ "ImDrawCmd", &BiType<ImDrawCmd>::type, bi_methods_ImDrawCmd, bi_fields_ImDrawCmd, (int)(sizeof(bi_fields_ImDrawCmd) / sizeof(BiField)), (newfunc)bid_ImDrawCmd_new },
{ "ImDrawVert", &BiType<ImDrawVert>::type, nullptr, bi_fields_ImDrawVert, (int)(sizeof(bi_fields_ImDrawVert) / sizeof(BiField)), (newfunc)bid_ImDrawVert_new },
{ "ImDrawCmdHeader", &BiType<ImDrawCmdHeader>::type, nullptr, bi_fields_ImDrawCmdHeader, (int)(sizeof(bi_fields_ImDrawCmdHeader) / sizeof(BiField)), (newfunc)bid_ImDrawCmdHeader_new },
{ "ImDrawChannel", &BiType<ImDrawChannel>::type, nullptr, bi_fields_ImDrawChannel, (int)(sizeof(bi_fields_ImDrawChannel) / sizeof(BiField)), (newfunc)bid_ImDrawChannel_new },
{ "ImDrawListSplitter", &BiType<ImDrawListSplitter>::type, bi_methods_ImDrawListSplitter, bi_fields_ImDrawListSplitter, (int)(sizeof(bi_fields_ImDrawListSplitter) / sizeof(BiField)), (newfunc)bid_ImDrawListSplitter_new },
{ "ImDrawList", &BiType<ImDrawList>::type, bi_methods_ImDrawList, bi_fields_ImDrawList, (int)(sizeof(bi_fields_ImDrawList) / sizeof(BiField)), (newfunc)bid_ImDrawList_new },
{ "ImDrawData", &BiType<ImDrawData>::type, bi_methods_ImDrawData, bi_fields_ImDrawData, (int)(sizeof(bi_fields_ImDrawData) / sizeof(BiField)), (newfunc)bid_ImDrawData_new },
{ "ImTextureRect", &BiType<ImTextureRect>::type, nullptr, bi_fields_ImTextureRect, (int)(sizeof(bi_fields_ImTextureRect) / sizeof(BiField)), (newfunc)bid_ImTextureRect_new },
{ "ImTextureData", &BiType<ImTextureData>::type, bi_methods_ImTextureData, bi_fields_ImTextureData, (int)(sizeof(bi_fields_ImTextureData) / sizeof(BiField)), (newfunc)bid_ImTextureData_new },
{ "ImFontConfig", &BiType<ImFontConfig>::type, nullptr, bi_fields_ImFontConfig, (int)(sizeof(bi_fields_ImFontConfig) / sizeof(BiField)), (newfunc)bid_ImFontConfig_new },
{ "ImFontGlyph", &BiType<ImFontGlyph>::type, nullptr, bi_fields_ImFontGlyph, (int)(sizeof(bi_fields_ImFontGlyph) / sizeof(BiField)), (newfunc)bid_ImFontGlyph_new },
{ "ImFontGlyphRangesBuilder", &BiType<ImFontGlyphRangesBuilder>::type, bi_methods_ImFontGlyphRangesBuilder, bi_fields_ImFontGlyphRangesBuilder, (int)(sizeof(bi_fields_ImFontGlyphRangesBuilder) / sizeof(BiField)), (newfunc)bid_ImFontGlyphRangesBuilder_new },
{ "ImFontAtlasRect", &BiType<ImFontAtlasRect>::type, nullptr, bi_fields_ImFontAtlasRect, (int)(sizeof(bi_fields_ImFontAtlasRect) / sizeof(BiField)), (newfunc)bid_ImFontAtlasRect_new },
{ "ImFontAtlas", &BiType<ImFontAtlas>::type, bi_methods_ImFontAtlas, bi_fields_ImFontAtlas, (int)(sizeof(bi_fields_ImFontAtlas) / sizeof(BiField)), (newfunc)bid_ImFontAtlas_new },
{ "ImFontBaked", &BiType<ImFontBaked>::type, bi_methods_ImFontBaked, bi_fields_ImFontBaked, (int)(sizeof(bi_fields_ImFontBaked) / sizeof(BiField)), (newfunc)bid_ImFontBaked_new },
{ "ImFont", &BiType<ImFont>::type, bi_methods_ImFont, bi_fields_ImFont, (int)(sizeof(bi_fields_ImFont) / sizeof(BiField)), (newfunc)bid_ImFont_new },
{ "ImGuiViewport", &BiType<ImGuiViewport>::type, bi_methods_ImGuiViewport, bi_fields_ImGuiViewport, (int)(sizeof(bi_fields_ImGuiViewport) / sizeof(BiField)), (newfunc)bid_ImGuiViewport_new },
{ "ImGuiPlatformIO", &BiType<ImGuiPlatformIO>::type, bi_methods_ImGuiPlatformIO, bi_fields_ImGuiPlatformIO, (int)(sizeof(bi_fields_ImGuiPlatformIO) / sizeof(BiField)), (newfunc)bid_ImGuiPlatformIO_new },
{ "ImGuiPlatformImeData", &BiType<ImGuiPlatformImeData>::type, nullptr, bi_fields_ImGuiPlatformImeData, (int)(sizeof(bi_fields_ImGuiPlatformImeData) / sizeof(BiField)), (newfunc)bid_ImGuiPlatformImeData_new },
};
static const BiConst bi_consts[] = {
{ "ImGuiWindowFlags_None", 0LL },
{ "WINDOW_NONE", 0LL },
{ "ImGuiWindowFlags_NoTitleBar", 1LL },
{ "WINDOW_NO_TITLE_BAR", 1LL },
{ "ImGuiWindowFlags_NoResize", 2LL },
{ "WINDOW_NO_RESIZE", 2LL },
{ "ImGuiWindowFlags_NoMove", 4LL },
{ "WINDOW_NO_MOVE", 4LL },
{ "ImGuiWindowFlags_NoScrollbar", 8LL },
{ "WINDOW_NO_SCROLLBAR", 8LL },
{ "ImGuiWindowFlags_NoScrollWithMouse", 16LL },
{ "WINDOW_NO_SCROLL_WITH_MOUSE", 16LL },
{ "ImGuiWindowFlags_NoCollapse", 32LL },
{ "WINDOW_NO_COLLAPSE", 32LL },
{ "ImGuiWindowFlags_AlwaysAutoResize", 64LL },
{ "WINDOW_ALWAYS_AUTO_RESIZE", 64LL },
{ "ImGuiWindowFlags_NoBackground", 128LL },
{ "WINDOW_NO_BACKGROUND", 128LL },
{ "ImGuiWindowFlags_NoSavedSettings", 256LL },
{ "WINDOW_NO_SAVED_SETTINGS", 256LL },
{ "ImGuiWindowFlags_NoMouseInputs", 512LL },
{ "WINDOW_NO_MOUSE_INPUTS", 512LL },
{ "ImGuiWindowFlags_MenuBar", 1024LL },
{ "WINDOW_MENU_BAR", 1024LL },
{ "ImGuiWindowFlags_HorizontalScrollbar", 2048LL },
{ "WINDOW_HORIZONTAL_SCROLLBAR", 2048LL },
{ "ImGuiWindowFlags_NoFocusOnAppearing", 4096LL },
{ "WINDOW_NO_FOCUS_ON_APPEARING", 4096LL },
{ "ImGuiWindowFlags_NoBringToFrontOnFocus", 8192LL },
{ "WINDOW_NO_BRING_TO_FRONT_ON_FOCUS", 8192LL },
{ "ImGuiWindowFlags_AlwaysVerticalScrollbar", 16384LL },
{ "WINDOW_ALWAYS_VERTICAL_SCROLLBAR", 16384LL },
{ "ImGuiWindowFlags_AlwaysHorizontalScrollbar", 32768LL },
{ "WINDOW_ALWAYS_HORIZONTAL_SCROLLBAR", 32768LL },
{ "ImGuiWindowFlags_NoNavInputs", 65536LL },
{ "WINDOW_NO_NAV_INPUTS", 65536LL },
{ "ImGuiWindowFlags_NoNavFocus", 131072LL },
{ "WINDOW_NO_NAV_FOCUS", 131072LL },
{ "ImGuiWindowFlags_UnsavedDocument", 262144LL },
{ "WINDOW_UNSAVED_DOCUMENT", 262144LL },
{ "ImGuiWindowFlags_NoNav", 196608LL },
{ "WINDOW_NO_NAV", 196608LL },
{ "ImGuiWindowFlags_NoDecoration", 43LL },
{ "WINDOW_NO_DECORATION", 43LL },
{ "ImGuiWindowFlags_NoInputs", 197120LL },
{ "WINDOW_NO_INPUTS", 197120LL },
{ "ImGuiWindowFlags_ChildWindow", 16777216LL },
{ "WINDOW_CHILD_WINDOW", 16777216LL },
{ "ImGuiWindowFlags_Tooltip", 33554432LL },
{ "WINDOW_TOOLTIP", 33554432LL },
{ "ImGuiWindowFlags_Popup", 67108864LL },
{ "WINDOW_POPUP", 67108864LL },
{ "ImGuiWindowFlags_Modal", 134217728LL },
{ "WINDOW_MODAL", 134217728LL },
{ "ImGuiWindowFlags_ChildMenu", 268435456LL },
{ "WINDOW_CHILD_MENU", 268435456LL },
{ "ImGuiChildFlags_None", 0LL },
{ "CHILD_NONE", 0LL },
{ "ImGuiChildFlags_Borders", 1LL },
{ "CHILD_BORDERS", 1LL },
{ "ImGuiChildFlags_AlwaysUseWindowPadding", 2LL },
{ "CHILD_ALWAYS_USE_WINDOW_PADDING", 2LL },
{ "ImGuiChildFlags_ResizeX", 4LL },
{ "CHILD_RESIZE_X", 4LL },
{ "ImGuiChildFlags_ResizeY", 8LL },
{ "CHILD_RESIZE_Y", 8LL },
{ "ImGuiChildFlags_AutoResizeX", 16LL },
{ "CHILD_AUTO_RESIZE_X", 16LL },
{ "ImGuiChildFlags_AutoResizeY", 32LL },
{ "CHILD_AUTO_RESIZE_Y", 32LL },
{ "ImGuiChildFlags_AlwaysAutoResize", 64LL },
{ "CHILD_ALWAYS_AUTO_RESIZE", 64LL },
{ "ImGuiChildFlags_FrameStyle", 128LL },
{ "CHILD_FRAME_STYLE", 128LL },
{ "ImGuiChildFlags_NavFlattened", 256LL },
{ "CHILD_NAV_FLATTENED", 256LL },
{ "ImGuiItemFlags_None", 0LL },
{ "ITEM_NONE", 0LL },
{ "ImGuiItemFlags_NoTabStop", 1LL },
{ "ITEM_NO_TAB_STOP", 1LL },
{ "ImGuiItemFlags_NoNav", 2LL },
{ "ITEM_NO_NAV", 2LL },
{ "ImGuiItemFlags_NoNavDefaultFocus", 4LL },
{ "ITEM_NO_NAV_DEFAULT_FOCUS", 4LL },
{ "ImGuiItemFlags_ButtonRepeat", 8LL },
{ "ITEM_BUTTON_REPEAT", 8LL },
{ "ImGuiItemFlags_AutoClosePopups", 16LL },
{ "ITEM_AUTO_CLOSE_POPUPS", 16LL },
{ "ImGuiItemFlags_AllowDuplicateId", 32LL },
{ "ITEM_ALLOW_DUPLICATE_ID", 32LL },
{ "ImGuiItemFlags_Disabled", 64LL },
{ "ITEM_DISABLED", 64LL },
{ "ImGuiItemFlags_LiveEditOnInputText", 128LL },
{ "ITEM_LIVE_EDIT_ON_INPUT_TEXT", 128LL },
{ "ImGuiItemFlags_LiveEditOnInputScalar", 256LL },
{ "ITEM_LIVE_EDIT_ON_INPUT_SCALAR", 256LL },
{ "ImGuiItemFlags_LiveEditOnInput", 384LL },
{ "ITEM_LIVE_EDIT_ON_INPUT", 384LL },
{ "ImGuiItemFlags_MixedValue", 512LL },
{ "ITEM_MIXED_VALUE", 512LL },
{ "ImGuiInputTextFlags_None", 0LL },
{ "INPUT_TEXT_NONE", 0LL },
{ "ImGuiInputTextFlags_CharsDecimal", 1LL },
{ "INPUT_TEXT_CHARS_DECIMAL", 1LL },
{ "ImGuiInputTextFlags_CharsHexadecimal", 2LL },
{ "INPUT_TEXT_CHARS_HEXADECIMAL", 2LL },
{ "ImGuiInputTextFlags_CharsScientific", 4LL },
{ "INPUT_TEXT_CHARS_SCIENTIFIC", 4LL },
{ "ImGuiInputTextFlags_CharsUppercase", 8LL },
{ "INPUT_TEXT_CHARS_UPPERCASE", 8LL },
{ "ImGuiInputTextFlags_CharsNoBlank", 16LL },
{ "INPUT_TEXT_CHARS_NO_BLANK", 16LL },
{ "ImGuiInputTextFlags_AllowTabInput", 32LL },
{ "INPUT_TEXT_ALLOW_TAB_INPUT", 32LL },
{ "ImGuiInputTextFlags_EnterReturnsTrue", 64LL },
{ "INPUT_TEXT_ENTER_RETURNS_TRUE", 64LL },
{ "ImGuiInputTextFlags_EscapeClearsAll", 128LL },
{ "INPUT_TEXT_ESCAPE_CLEARS_ALL", 128LL },
{ "ImGuiInputTextFlags_CtrlEnterForNewLine", 256LL },
{ "INPUT_TEXT_CTRL_ENTER_FOR_NEW_LINE", 256LL },
{ "ImGuiInputTextFlags_ReadOnly", 512LL },
{ "INPUT_TEXT_READ_ONLY", 512LL },
{ "ImGuiInputTextFlags_Password", 1024LL },
{ "INPUT_TEXT_PASSWORD", 1024LL },
{ "ImGuiInputTextFlags_AlwaysOverwrite", 2048LL },
{ "INPUT_TEXT_ALWAYS_OVERWRITE", 2048LL },
{ "ImGuiInputTextFlags_AutoSelectAll", 4096LL },
{ "INPUT_TEXT_AUTO_SELECT_ALL", 4096LL },
{ "ImGuiInputTextFlags_ParseEmptyRefVal", 8192LL },
{ "INPUT_TEXT_PARSE_EMPTY_REF_VAL", 8192LL },
{ "ImGuiInputTextFlags_DisplayEmptyRefVal", 16384LL },
{ "INPUT_TEXT_DISPLAY_EMPTY_REF_VAL", 16384LL },
{ "ImGuiInputTextFlags_NoHorizontalScroll", 32768LL },
{ "INPUT_TEXT_NO_HORIZONTAL_SCROLL", 32768LL },
{ "ImGuiInputTextFlags_NoUndoRedo", 65536LL },
{ "INPUT_TEXT_NO_UNDO_REDO", 65536LL },
{ "ImGuiInputTextFlags_ElideLeft", 131072LL },
{ "INPUT_TEXT_ELIDE_LEFT", 131072LL },
{ "ImGuiInputTextFlags_CallbackCompletion", 262144LL },
{ "INPUT_TEXT_CALLBACK_COMPLETION", 262144LL },
{ "ImGuiInputTextFlags_CallbackHistory", 524288LL },
{ "INPUT_TEXT_CALLBACK_HISTORY", 524288LL },
{ "ImGuiInputTextFlags_CallbackAlways", 1048576LL },
{ "INPUT_TEXT_CALLBACK_ALWAYS", 1048576LL },
{ "ImGuiInputTextFlags_CallbackCharFilter", 2097152LL },
{ "INPUT_TEXT_CALLBACK_CHAR_FILTER", 2097152LL },
{ "ImGuiInputTextFlags_CallbackResize", 4194304LL },
{ "INPUT_TEXT_CALLBACK_RESIZE", 4194304LL },
{ "ImGuiInputTextFlags_CallbackEdit", 8388608LL },
{ "INPUT_TEXT_CALLBACK_EDIT", 8388608LL },
{ "ImGuiInputTextFlags_WordWrap", 16777216LL },
{ "INPUT_TEXT_WORD_WRAP", 16777216LL },
{ "ImGuiTreeNodeFlags_None", 0LL },
{ "TREE_NODE_NONE", 0LL },
{ "ImGuiTreeNodeFlags_Selected", 1LL },
{ "TREE_NODE_SELECTED", 1LL },
{ "ImGuiTreeNodeFlags_Framed", 2LL },
{ "TREE_NODE_FRAMED", 2LL },
{ "ImGuiTreeNodeFlags_AllowOverlap", 4LL },
{ "TREE_NODE_ALLOW_OVERLAP", 4LL },
{ "ImGuiTreeNodeFlags_NoTreePushOnOpen", 8LL },
{ "TREE_NODE_NO_TREE_PUSH_ON_OPEN", 8LL },
{ "ImGuiTreeNodeFlags_NoAutoOpenOnLog", 16LL },
{ "TREE_NODE_NO_AUTO_OPEN_ON_LOG", 16LL },
{ "ImGuiTreeNodeFlags_DefaultOpen", 32LL },
{ "TREE_NODE_DEFAULT_OPEN", 32LL },
{ "ImGuiTreeNodeFlags_OpenOnDoubleClick", 64LL },
{ "TREE_NODE_OPEN_ON_DOUBLE_CLICK", 64LL },
{ "ImGuiTreeNodeFlags_OpenOnArrow", 128LL },
{ "TREE_NODE_OPEN_ON_ARROW", 128LL },
{ "ImGuiTreeNodeFlags_Leaf", 256LL },
{ "TREE_NODE_LEAF", 256LL },
{ "ImGuiTreeNodeFlags_Bullet", 512LL },
{ "TREE_NODE_BULLET", 512LL },
{ "ImGuiTreeNodeFlags_FramePadding", 1024LL },
{ "TREE_NODE_FRAME_PADDING", 1024LL },
{ "ImGuiTreeNodeFlags_SpanAvailWidth", 2048LL },
{ "TREE_NODE_SPAN_AVAIL_WIDTH", 2048LL },
{ "ImGuiTreeNodeFlags_SpanFullWidth", 4096LL },
{ "TREE_NODE_SPAN_FULL_WIDTH", 4096LL },
{ "ImGuiTreeNodeFlags_SpanLabelWidth", 8192LL },
{ "TREE_NODE_SPAN_LABEL_WIDTH", 8192LL },
{ "ImGuiTreeNodeFlags_SpanAllColumns", 16384LL },
{ "TREE_NODE_SPAN_ALL_COLUMNS", 16384LL },
{ "ImGuiTreeNodeFlags_LabelSpanAllColumns", 32768LL },
{ "TREE_NODE_LABEL_SPAN_ALL_COLUMNS", 32768LL },
{ "ImGuiTreeNodeFlags_NavLeftJumpsToParent", 131072LL },
{ "TREE_NODE_NAV_LEFT_JUMPS_TO_PARENT", 131072LL },
{ "ImGuiTreeNodeFlags_CollapsingHeader", 26LL },
{ "TREE_NODE_COLLAPSING_HEADER", 26LL },
{ "ImGuiTreeNodeFlags_DrawLinesNone", 262144LL },
{ "TREE_NODE_DRAW_LINES_NONE", 262144LL },
{ "ImGuiTreeNodeFlags_DrawLinesFull", 524288LL },
{ "TREE_NODE_DRAW_LINES_FULL", 524288LL },
{ "ImGuiTreeNodeFlags_DrawLinesToNodes", 1048576LL },
{ "TREE_NODE_DRAW_LINES_TO_NODES", 1048576LL },
{ "ImGuiPopupFlags_None", 0LL },
{ "POPUP_NONE", 0LL },
{ "ImGuiPopupFlags_MouseButtonLeft", 4LL },
{ "POPUP_MOUSE_BUTTON_LEFT", 4LL },
{ "ImGuiPopupFlags_MouseButtonRight", 8LL },
{ "POPUP_MOUSE_BUTTON_RIGHT", 8LL },
{ "ImGuiPopupFlags_MouseButtonMiddle", 12LL },
{ "POPUP_MOUSE_BUTTON_MIDDLE", 12LL },
{ "ImGuiPopupFlags_NoReopen", 32LL },
{ "POPUP_NO_REOPEN", 32LL },
{ "ImGuiPopupFlags_NoOpenOverExistingPopup", 128LL },
{ "POPUP_NO_OPEN_OVER_EXISTING_POPUP", 128LL },
{ "ImGuiPopupFlags_NoOpenOverItems", 256LL },
{ "POPUP_NO_OPEN_OVER_ITEMS", 256LL },
{ "ImGuiPopupFlags_AnyPopupId", 1024LL },
{ "POPUP_ANY_POPUP_ID", 1024LL },
{ "ImGuiPopupFlags_AnyPopupLevel", 2048LL },
{ "POPUP_ANY_POPUP_LEVEL", 2048LL },
{ "ImGuiPopupFlags_AnyPopup", 3072LL },
{ "POPUP_ANY_POPUP", 3072LL },
{ "ImGuiPopupFlags_MouseButtonShift_", 2LL },
{ "POPUP_MOUSE_BUTTON_SHIFT_", 2LL },
{ "ImGuiPopupFlags_MouseButtonMask_", 12LL },
{ "POPUP_MOUSE_BUTTON_MASK_", 12LL },
{ "ImGuiPopupFlags_InvalidMask_", 3LL },
{ "POPUP_INVALID_MASK_", 3LL },
{ "ImGuiSelectableFlags_None", 0LL },
{ "SELECTABLE_NONE", 0LL },
{ "ImGuiSelectableFlags_NoAutoClosePopups", 1LL },
{ "SELECTABLE_NO_AUTO_CLOSE_POPUPS", 1LL },
{ "ImGuiSelectableFlags_SpanAllColumns", 2LL },
{ "SELECTABLE_SPAN_ALL_COLUMNS", 2LL },
{ "ImGuiSelectableFlags_AllowDoubleClick", 4LL },
{ "SELECTABLE_ALLOW_DOUBLE_CLICK", 4LL },
{ "ImGuiSelectableFlags_Disabled", 8LL },
{ "SELECTABLE_DISABLED", 8LL },
{ "ImGuiSelectableFlags_AllowOverlap", 16LL },
{ "SELECTABLE_ALLOW_OVERLAP", 16LL },
{ "ImGuiSelectableFlags_Highlight", 32LL },
{ "SELECTABLE_HIGHLIGHT", 32LL },
{ "ImGuiSelectableFlags_SelectOnNav", 64LL },
{ "SELECTABLE_SELECT_ON_NAV", 64LL },
{ "ImGuiComboFlags_None", 0LL },
{ "COMBO_NONE", 0LL },
{ "ImGuiComboFlags_PopupAlignLeft", 1LL },
{ "COMBO_POPUP_ALIGN_LEFT", 1LL },
{ "ImGuiComboFlags_HeightSmall", 2LL },
{ "COMBO_HEIGHT_SMALL", 2LL },
{ "ImGuiComboFlags_HeightRegular", 4LL },
{ "COMBO_HEIGHT_REGULAR", 4LL },
{ "ImGuiComboFlags_HeightLarge", 8LL },
{ "COMBO_HEIGHT_LARGE", 8LL },
{ "ImGuiComboFlags_HeightLargest", 16LL },
{ "COMBO_HEIGHT_LARGEST", 16LL },
{ "ImGuiComboFlags_NoArrowButton", 32LL },
{ "COMBO_NO_ARROW_BUTTON", 32LL },
{ "ImGuiComboFlags_NoPreview", 64LL },
{ "COMBO_NO_PREVIEW", 64LL },
{ "ImGuiComboFlags_WidthFitPreview", 128LL },
{ "COMBO_WIDTH_FIT_PREVIEW", 128LL },
{ "ImGuiComboFlags_HeightMask_", 30LL },
{ "COMBO_HEIGHT_MASK_", 30LL },
{ "ImGuiTabBarFlags_None", 0LL },
{ "TAB_BAR_NONE", 0LL },
{ "ImGuiTabBarFlags_Reorderable", 1LL },
{ "TAB_BAR_REORDERABLE", 1LL },
{ "ImGuiTabBarFlags_AutoSelectNewTabs", 2LL },
{ "TAB_BAR_AUTO_SELECT_NEW_TABS", 2LL },
{ "ImGuiTabBarFlags_TabListPopupButton", 4LL },
{ "TAB_BAR_TAB_LIST_POPUP_BUTTON", 4LL },
{ "ImGuiTabBarFlags_NoCloseWithMiddleMouseButton", 8LL },
{ "TAB_BAR_NO_CLOSE_WITH_MIDDLE_MOUSE_BUTTON", 8LL },
{ "ImGuiTabBarFlags_NoTabListScrollingButtons", 16LL },
{ "TAB_BAR_NO_TAB_LIST_SCROLLING_BUTTONS", 16LL },
{ "ImGuiTabBarFlags_NoTooltip", 32LL },
{ "TAB_BAR_NO_TOOLTIP", 32LL },
{ "ImGuiTabBarFlags_DrawSelectedOverline", 64LL },
{ "TAB_BAR_DRAW_SELECTED_OVERLINE", 64LL },
{ "ImGuiTabBarFlags_FittingPolicyMixed", 128LL },
{ "TAB_BAR_FITTING_POLICY_MIXED", 128LL },
{ "ImGuiTabBarFlags_FittingPolicyShrink", 256LL },
{ "TAB_BAR_FITTING_POLICY_SHRINK", 256LL },
{ "ImGuiTabBarFlags_FittingPolicyScroll", 512LL },
{ "TAB_BAR_FITTING_POLICY_SCROLL", 512LL },
{ "ImGuiTabBarFlags_FittingPolicyMask_", 896LL },
{ "TAB_BAR_FITTING_POLICY_MASK_", 896LL },
{ "ImGuiTabBarFlags_FittingPolicyDefault_", 128LL },
{ "TAB_BAR_FITTING_POLICY_DEFAULT_", 128LL },
{ "ImGuiTabItemFlags_None", 0LL },
{ "TAB_ITEM_NONE", 0LL },
{ "ImGuiTabItemFlags_UnsavedDocument", 1LL },
{ "TAB_ITEM_UNSAVED_DOCUMENT", 1LL },
{ "ImGuiTabItemFlags_SetSelected", 2LL },
{ "TAB_ITEM_SET_SELECTED", 2LL },
{ "ImGuiTabItemFlags_NoCloseWithMiddleMouseButton", 4LL },
{ "TAB_ITEM_NO_CLOSE_WITH_MIDDLE_MOUSE_BUTTON", 4LL },
{ "ImGuiTabItemFlags_NoPushId", 8LL },
{ "TAB_ITEM_NO_PUSH_ID", 8LL },
{ "ImGuiTabItemFlags_NoTooltip", 16LL },
{ "TAB_ITEM_NO_TOOLTIP", 16LL },
{ "ImGuiTabItemFlags_NoReorder", 32LL },
{ "TAB_ITEM_NO_REORDER", 32LL },
{ "ImGuiTabItemFlags_Leading", 64LL },
{ "TAB_ITEM_LEADING", 64LL },
{ "ImGuiTabItemFlags_Trailing", 128LL },
{ "TAB_ITEM_TRAILING", 128LL },
{ "ImGuiTabItemFlags_NoAssumedClosure", 256LL },
{ "TAB_ITEM_NO_ASSUMED_CLOSURE", 256LL },
{ "ImGuiFocusedFlags_None", 0LL },
{ "FOCUSED_NONE", 0LL },
{ "ImGuiFocusedFlags_ChildWindows", 1LL },
{ "FOCUSED_CHILD_WINDOWS", 1LL },
{ "ImGuiFocusedFlags_RootWindow", 2LL },
{ "FOCUSED_ROOT_WINDOW", 2LL },
{ "ImGuiFocusedFlags_AnyWindow", 4LL },
{ "FOCUSED_ANY_WINDOW", 4LL },
{ "ImGuiFocusedFlags_NoPopupHierarchy", 8LL },
{ "FOCUSED_NO_POPUP_HIERARCHY", 8LL },
{ "ImGuiFocusedFlags_RootAndChildWindows", 3LL },
{ "FOCUSED_ROOT_AND_CHILD_WINDOWS", 3LL },
{ "ImGuiHoveredFlags_None", 0LL },
{ "HOVERED_NONE", 0LL },
{ "ImGuiHoveredFlags_ChildWindows", 1LL },
{ "HOVERED_CHILD_WINDOWS", 1LL },
{ "ImGuiHoveredFlags_RootWindow", 2LL },
{ "HOVERED_ROOT_WINDOW", 2LL },
{ "ImGuiHoveredFlags_AnyWindow", 4LL },
{ "HOVERED_ANY_WINDOW", 4LL },
{ "ImGuiHoveredFlags_NoPopupHierarchy", 8LL },
{ "HOVERED_NO_POPUP_HIERARCHY", 8LL },
{ "ImGuiHoveredFlags_AllowWhenBlockedByPopup", 32LL },
{ "HOVERED_ALLOW_WHEN_BLOCKED_BY_POPUP", 32LL },
{ "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem", 128LL },
{ "HOVERED_ALLOW_WHEN_BLOCKED_BY_ACTIVE_ITEM", 128LL },
{ "ImGuiHoveredFlags_AllowWhenOverlappedByItem", 256LL },
{ "HOVERED_ALLOW_WHEN_OVERLAPPED_BY_ITEM", 256LL },
{ "ImGuiHoveredFlags_AllowWhenOverlappedByWindow", 512LL },
{ "HOVERED_ALLOW_WHEN_OVERLAPPED_BY_WINDOW", 512LL },
{ "ImGuiHoveredFlags_AllowWhenDisabled", 1024LL },
{ "HOVERED_ALLOW_WHEN_DISABLED", 1024LL },
{ "ImGuiHoveredFlags_NoNavOverride", 2048LL },
{ "HOVERED_NO_NAV_OVERRIDE", 2048LL },
{ "ImGuiHoveredFlags_AllowWhenOverlapped", 768LL },
{ "HOVERED_ALLOW_WHEN_OVERLAPPED", 768LL },
{ "ImGuiHoveredFlags_RectOnly", 928LL },
{ "HOVERED_RECT_ONLY", 928LL },
{ "ImGuiHoveredFlags_RootAndChildWindows", 3LL },
{ "HOVERED_ROOT_AND_CHILD_WINDOWS", 3LL },
{ "ImGuiHoveredFlags_ForTooltip", 4096LL },
{ "HOVERED_FOR_TOOLTIP", 4096LL },
{ "ImGuiHoveredFlags_Stationary", 8192LL },
{ "HOVERED_STATIONARY", 8192LL },
{ "ImGuiHoveredFlags_DelayNone", 16384LL },
{ "HOVERED_DELAY_NONE", 16384LL },
{ "ImGuiHoveredFlags_DelayShort", 32768LL },
{ "HOVERED_DELAY_SHORT", 32768LL },
{ "ImGuiHoveredFlags_DelayNormal", 65536LL },
{ "HOVERED_DELAY_NORMAL", 65536LL },
{ "ImGuiHoveredFlags_NoSharedDelay", 131072LL },
{ "HOVERED_NO_SHARED_DELAY", 131072LL },
{ "ImGuiDragDropFlags_None", 0LL },
{ "DRAG_DROP_NONE", 0LL },
{ "ImGuiDragDropFlags_SourceNoPreviewTooltip", 1LL },
{ "DRAG_DROP_SOURCE_NO_PREVIEW_TOOLTIP", 1LL },
{ "ImGuiDragDropFlags_SourceNoDisableHover", 2LL },
{ "DRAG_DROP_SOURCE_NO_DISABLE_HOVER", 2LL },
{ "ImGuiDragDropFlags_SourceNoHoldToOpenOthers", 4LL },
{ "DRAG_DROP_SOURCE_NO_HOLD_TO_OPEN_OTHERS", 4LL },
{ "ImGuiDragDropFlags_SourceAllowNullID", 8LL },
{ "DRAG_DROP_SOURCE_ALLOW_NULL_ID", 8LL },
{ "ImGuiDragDropFlags_SourceExtern", 16LL },
{ "DRAG_DROP_SOURCE_EXTERN", 16LL },
{ "ImGuiDragDropFlags_PayloadAutoExpire", 32LL },
{ "DRAG_DROP_PAYLOAD_AUTO_EXPIRE", 32LL },
{ "ImGuiDragDropFlags_PayloadNoCrossContext", 64LL },
{ "DRAG_DROP_PAYLOAD_NO_CROSS_CONTEXT", 64LL },
{ "ImGuiDragDropFlags_PayloadNoCrossProcess", 128LL },
{ "DRAG_DROP_PAYLOAD_NO_CROSS_PROCESS", 128LL },
{ "ImGuiDragDropFlags_AcceptBeforeDelivery", 1024LL },
{ "DRAG_DROP_ACCEPT_BEFORE_DELIVERY", 1024LL },
{ "ImGuiDragDropFlags_AcceptNoDrawDefaultRect", 2048LL },
{ "DRAG_DROP_ACCEPT_NO_DRAW_DEFAULT_RECT", 2048LL },
{ "ImGuiDragDropFlags_AcceptNoPreviewTooltip", 4096LL },
{ "DRAG_DROP_ACCEPT_NO_PREVIEW_TOOLTIP", 4096LL },
{ "ImGuiDragDropFlags_AcceptDrawAsHovered", 8192LL },
{ "DRAG_DROP_ACCEPT_DRAW_AS_HOVERED", 8192LL },
{ "ImGuiDragDropFlags_AcceptPeekOnly", 3072LL },
{ "DRAG_DROP_ACCEPT_PEEK_ONLY", 3072LL },
{ "ImGuiDataType_S8", 0LL },
{ "DATA_TYPE_S8", 0LL },
{ "ImGuiDataType_U8", 1LL },
{ "DATA_TYPE_U8", 1LL },
{ "ImGuiDataType_S16", 2LL },
{ "DATA_TYPE_S16", 2LL },
{ "ImGuiDataType_U16", 3LL },
{ "DATA_TYPE_U16", 3LL },
{ "ImGuiDataType_S32", 4LL },
{ "DATA_TYPE_S32", 4LL },
{ "ImGuiDataType_U32", 5LL },
{ "DATA_TYPE_U32", 5LL },
{ "ImGuiDataType_S64", 6LL },
{ "DATA_TYPE_S64", 6LL },
{ "ImGuiDataType_U64", 7LL },
{ "DATA_TYPE_U64", 7LL },
{ "ImGuiDataType_Float", 8LL },
{ "DATA_TYPE_FLOAT", 8LL },
{ "ImGuiDataType_Double", 9LL },
{ "DATA_TYPE_DOUBLE", 9LL },
{ "ImGuiDataType_Bool", 10LL },
{ "DATA_TYPE_BOOL", 10LL },
{ "ImGuiDataType_String", 11LL },
{ "DATA_TYPE_STRING", 11LL },
{ "ImGuiDataType_COUNT", 12LL },
{ "DATA_TYPE_COUNT", 12LL },
{ "ImGuiDir_None", -1LL },
{ "DIR_NONE", -1LL },
{ "ImGuiDir_Left", 0LL },
{ "DIR_LEFT", 0LL },
{ "ImGuiDir_Right", 1LL },
{ "DIR_RIGHT", 1LL },
{ "ImGuiDir_Up", 2LL },
{ "DIR_UP", 2LL },
{ "ImGuiDir_Down", 3LL },
{ "DIR_DOWN", 3LL },
{ "ImGuiDir_COUNT", 4LL },
{ "DIR_COUNT", 4LL },
{ "ImGuiSortDirection_None", 0LL },
{ "SORT_DIRECTION_NONE", 0LL },
{ "ImGuiSortDirection_Ascending", 1LL },
{ "SORT_DIRECTION_ASCENDING", 1LL },
{ "ImGuiSortDirection_Descending", 2LL },
{ "SORT_DIRECTION_DESCENDING", 2LL },
{ "ImGuiKey_None", 0LL },
{ "KEY_NONE", 0LL },
{ "ImGuiKey_NamedKey_BEGIN", 512LL },
{ "KEY_NAMED_KEY_BEGIN", 512LL },
{ "ImGuiKey_Tab", 512LL },
{ "KEY_TAB", 512LL },
{ "ImGuiKey_LeftArrow", 513LL },
{ "KEY_LEFT_ARROW", 513LL },
{ "ImGuiKey_RightArrow", 514LL },
{ "KEY_RIGHT_ARROW", 514LL },
{ "ImGuiKey_UpArrow", 515LL },
{ "KEY_UP_ARROW", 515LL },
{ "ImGuiKey_DownArrow", 516LL },
{ "KEY_DOWN_ARROW", 516LL },
{ "ImGuiKey_PageUp", 517LL },
{ "KEY_PAGE_UP", 517LL },
{ "ImGuiKey_PageDown", 518LL },
{ "KEY_PAGE_DOWN", 518LL },
{ "ImGuiKey_Home", 519LL },
{ "KEY_HOME", 519LL },
{ "ImGuiKey_End", 520LL },
{ "KEY_END", 520LL },
{ "ImGuiKey_Insert", 521LL },
{ "KEY_INSERT", 521LL },
{ "ImGuiKey_Delete", 522LL },
{ "KEY_DELETE", 522LL },
{ "ImGuiKey_Backspace", 523LL },
{ "KEY_BACKSPACE", 523LL },
{ "ImGuiKey_Space", 524LL },
{ "KEY_SPACE", 524LL },
{ "ImGuiKey_Enter", 525LL },
{ "KEY_ENTER", 525LL },
{ "ImGuiKey_Escape", 526LL },
{ "KEY_ESCAPE", 526LL },
{ "ImGuiKey_LeftCtrl", 527LL },
{ "KEY_LEFT_CTRL", 527LL },
{ "ImGuiKey_LeftShift", 528LL },
{ "KEY_LEFT_SHIFT", 528LL },
{ "ImGuiKey_LeftAlt", 529LL },
{ "KEY_LEFT_ALT", 529LL },
{ "ImGuiKey_LeftSuper", 530LL },
{ "KEY_LEFT_SUPER", 530LL },
{ "ImGuiKey_RightCtrl", 531LL },
{ "KEY_RIGHT_CTRL", 531LL },
{ "ImGuiKey_RightShift", 532LL },
{ "KEY_RIGHT_SHIFT", 532LL },
{ "ImGuiKey_RightAlt", 533LL },
{ "KEY_RIGHT_ALT", 533LL },
{ "ImGuiKey_RightSuper", 534LL },
{ "KEY_RIGHT_SUPER", 534LL },
{ "ImGuiKey_Menu", 535LL },
{ "KEY_MENU", 535LL },
{ "ImGuiKey_0", 536LL },
{ "KEY_0", 536LL },
{ "ImGuiKey_1", 537LL },
{ "KEY_1", 537LL },
{ "ImGuiKey_2", 538LL },
{ "KEY_2", 538LL },
{ "ImGuiKey_3", 539LL },
{ "KEY_3", 539LL },
{ "ImGuiKey_4", 540LL },
{ "KEY_4", 540LL },
{ "ImGuiKey_5", 541LL },
{ "KEY_5", 541LL },
{ "ImGuiKey_6", 542LL },
{ "KEY_6", 542LL },
{ "ImGuiKey_7", 543LL },
{ "KEY_7", 543LL },
{ "ImGuiKey_8", 544LL },
{ "KEY_8", 544LL },
{ "ImGuiKey_9", 545LL },
{ "KEY_9", 545LL },
{ "ImGuiKey_A", 546LL },
{ "KEY_A", 546LL },
{ "ImGuiKey_B", 547LL },
{ "KEY_B", 547LL },
{ "ImGuiKey_C", 548LL },
{ "KEY_C", 548LL },
{ "ImGuiKey_D", 549LL },
{ "KEY_D", 549LL },
{ "ImGuiKey_E", 550LL },
{ "KEY_E", 550LL },
{ "ImGuiKey_F", 551LL },
{ "KEY_F", 551LL },
{ "ImGuiKey_G", 552LL },
{ "KEY_G", 552LL },
{ "ImGuiKey_H", 553LL },
{ "KEY_H", 553LL },
{ "ImGuiKey_I", 554LL },
{ "KEY_I", 554LL },
{ "ImGuiKey_J", 555LL },
{ "KEY_J", 555LL },
{ "ImGuiKey_K", 556LL },
{ "KEY_K", 556LL },
{ "ImGuiKey_L", 557LL },
{ "KEY_L", 557LL },
{ "ImGuiKey_M", 558LL },
{ "KEY_M", 558LL },
{ "ImGuiKey_N", 559LL },
{ "KEY_N", 559LL },
{ "ImGuiKey_O", 560LL },
{ "KEY_O", 560LL },
{ "ImGuiKey_P", 561LL },
{ "KEY_P", 561LL },
{ "ImGuiKey_Q", 562LL },
{ "KEY_Q", 562LL },
{ "ImGuiKey_R", 563LL },
{ "KEY_R", 563LL },
{ "ImGuiKey_S", 564LL },
{ "KEY_S", 564LL },
{ "ImGuiKey_T", 565LL },
{ "KEY_T", 565LL },
{ "ImGuiKey_U", 566LL },
{ "KEY_U", 566LL },
{ "ImGuiKey_V", 567LL },
{ "KEY_V", 567LL },
{ "ImGuiKey_W", 568LL },
{ "KEY_W", 568LL },
{ "ImGuiKey_X", 569LL },
{ "KEY_X", 569LL },
{ "ImGuiKey_Y", 570LL },
{ "KEY_Y", 570LL },
{ "ImGuiKey_Z", 571LL },
{ "KEY_Z", 571LL },
{ "ImGuiKey_F1", 572LL },
{ "KEY_F1", 572LL },
{ "ImGuiKey_F2", 573LL },
{ "KEY_F2", 573LL },
{ "ImGuiKey_F3", 574LL },
{ "KEY_F3", 574LL },
{ "ImGuiKey_F4", 575LL },
{ "KEY_F4", 575LL },
{ "ImGuiKey_F5", 576LL },
{ "KEY_F5", 576LL },
{ "ImGuiKey_F6", 577LL },
{ "KEY_F6", 577LL },
{ "ImGuiKey_F7", 578LL },
{ "KEY_F7", 578LL },
{ "ImGuiKey_F8", 579LL },
{ "KEY_F8", 579LL },
{ "ImGuiKey_F9", 580LL },
{ "KEY_F9", 580LL },
{ "ImGuiKey_F10", 581LL },
{ "KEY_F10", 581LL },
{ "ImGuiKey_F11", 582LL },
{ "KEY_F11", 582LL },
{ "ImGuiKey_F12", 583LL },
{ "KEY_F12", 583LL },
{ "ImGuiKey_F13", 584LL },
{ "KEY_F13", 584LL },
{ "ImGuiKey_F14", 585LL },
{ "KEY_F14", 585LL },
{ "ImGuiKey_F15", 586LL },
{ "KEY_F15", 586LL },
{ "ImGuiKey_F16", 587LL },
{ "KEY_F16", 587LL },
{ "ImGuiKey_F17", 588LL },
{ "KEY_F17", 588LL },
{ "ImGuiKey_F18", 589LL },
{ "KEY_F18", 589LL },
{ "ImGuiKey_F19", 590LL },
{ "KEY_F19", 590LL },
{ "ImGuiKey_F20", 591LL },
{ "KEY_F20", 591LL },
{ "ImGuiKey_F21", 592LL },
{ "KEY_F21", 592LL },
{ "ImGuiKey_F22", 593LL },
{ "KEY_F22", 593LL },
{ "ImGuiKey_F23", 594LL },
{ "KEY_F23", 594LL },
{ "ImGuiKey_F24", 595LL },
{ "KEY_F24", 595LL },
{ "ImGuiKey_Apostrophe", 596LL },
{ "KEY_APOSTROPHE", 596LL },
{ "ImGuiKey_Comma", 597LL },
{ "KEY_COMMA", 597LL },
{ "ImGuiKey_Minus", 598LL },
{ "KEY_MINUS", 598LL },
{ "ImGuiKey_Period", 599LL },
{ "KEY_PERIOD", 599LL },
{ "ImGuiKey_Slash", 600LL },
{ "KEY_SLASH", 600LL },
{ "ImGuiKey_Semicolon", 601LL },
{ "KEY_SEMICOLON", 601LL },
{ "ImGuiKey_Equal", 602LL },
{ "KEY_EQUAL", 602LL },
{ "ImGuiKey_LeftBracket", 603LL },
{ "KEY_LEFT_BRACKET", 603LL },
{ "ImGuiKey_Backslash", 604LL },
{ "KEY_BACKSLASH", 604LL },
{ "ImGuiKey_RightBracket", 605LL },
{ "KEY_RIGHT_BRACKET", 605LL },
{ "ImGuiKey_GraveAccent", 606LL },
{ "KEY_GRAVE_ACCENT", 606LL },
{ "ImGuiKey_CapsLock", 607LL },
{ "KEY_CAPS_LOCK", 607LL },
{ "ImGuiKey_ScrollLock", 608LL },
{ "KEY_SCROLL_LOCK", 608LL },
{ "ImGuiKey_NumLock", 609LL },
{ "KEY_NUM_LOCK", 609LL },
{ "ImGuiKey_PrintScreen", 610LL },
{ "KEY_PRINT_SCREEN", 610LL },
{ "ImGuiKey_Pause", 611LL },
{ "KEY_PAUSE", 611LL },
{ "ImGuiKey_Keypad0", 612LL },
{ "KEY_KEYPAD0", 612LL },
{ "ImGuiKey_Keypad1", 613LL },
{ "KEY_KEYPAD1", 613LL },
{ "ImGuiKey_Keypad2", 614LL },
{ "KEY_KEYPAD2", 614LL },
{ "ImGuiKey_Keypad3", 615LL },
{ "KEY_KEYPAD3", 615LL },
{ "ImGuiKey_Keypad4", 616LL },
{ "KEY_KEYPAD4", 616LL },
{ "ImGuiKey_Keypad5", 617LL },
{ "KEY_KEYPAD5", 617LL },
{ "ImGuiKey_Keypad6", 618LL },
{ "KEY_KEYPAD6", 618LL },
{ "ImGuiKey_Keypad7", 619LL },
{ "KEY_KEYPAD7", 619LL },
{ "ImGuiKey_Keypad8", 620LL },
{ "KEY_KEYPAD8", 620LL },
{ "ImGuiKey_Keypad9", 621LL },
{ "KEY_KEYPAD9", 621LL },
{ "ImGuiKey_KeypadDecimal", 622LL },
{ "KEY_KEYPAD_DECIMAL", 622LL },
{ "ImGuiKey_KeypadDivide", 623LL },
{ "KEY_KEYPAD_DIVIDE", 623LL },
{ "ImGuiKey_KeypadMultiply", 624LL },
{ "KEY_KEYPAD_MULTIPLY", 624LL },
{ "ImGuiKey_KeypadSubtract", 625LL },
{ "KEY_KEYPAD_SUBTRACT", 625LL },
{ "ImGuiKey_KeypadAdd", 626LL },
{ "KEY_KEYPAD_ADD", 626LL },
{ "ImGuiKey_KeypadEnter", 627LL },
{ "KEY_KEYPAD_ENTER", 627LL },
{ "ImGuiKey_KeypadEqual", 628LL },
{ "KEY_KEYPAD_EQUAL", 628LL },
{ "ImGuiKey_AppBack", 629LL },
{ "KEY_APP_BACK", 629LL },
{ "ImGuiKey_AppForward", 630LL },
{ "KEY_APP_FORWARD", 630LL },
{ "ImGuiKey_Oem102", 631LL },
{ "KEY_OEM102", 631LL },
{ "ImGuiKey_GamepadStart", 632LL },
{ "KEY_GAMEPAD_START", 632LL },
{ "ImGuiKey_GamepadBack", 633LL },
{ "KEY_GAMEPAD_BACK", 633LL },
{ "ImGuiKey_GamepadFaceLeft", 634LL },
{ "KEY_GAMEPAD_FACE_LEFT", 634LL },
{ "ImGuiKey_GamepadFaceRight", 635LL },
{ "KEY_GAMEPAD_FACE_RIGHT", 635LL },
{ "ImGuiKey_GamepadFaceUp", 636LL },
{ "KEY_GAMEPAD_FACE_UP", 636LL },
{ "ImGuiKey_GamepadFaceDown", 637LL },
{ "KEY_GAMEPAD_FACE_DOWN", 637LL },
{ "ImGuiKey_GamepadDpadLeft", 638LL },
{ "KEY_GAMEPAD_DPAD_LEFT", 638LL },
{ "ImGuiKey_GamepadDpadRight", 639LL },
{ "KEY_GAMEPAD_DPAD_RIGHT", 639LL },
{ "ImGuiKey_GamepadDpadUp", 640LL },
{ "KEY_GAMEPAD_DPAD_UP", 640LL },
{ "ImGuiKey_GamepadDpadDown", 641LL },
{ "KEY_GAMEPAD_DPAD_DOWN", 641LL },
{ "ImGuiKey_GamepadL1", 642LL },
{ "KEY_GAMEPAD_L1", 642LL },
{ "ImGuiKey_GamepadR1", 643LL },
{ "KEY_GAMEPAD_R1", 643LL },
{ "ImGuiKey_GamepadL2", 644LL },
{ "KEY_GAMEPAD_L2", 644LL },
{ "ImGuiKey_GamepadR2", 645LL },
{ "KEY_GAMEPAD_R2", 645LL },
{ "ImGuiKey_GamepadL3", 646LL },
{ "KEY_GAMEPAD_L3", 646LL },
{ "ImGuiKey_GamepadR3", 647LL },
{ "KEY_GAMEPAD_R3", 647LL },
{ "ImGuiKey_GamepadLStickLeft", 648LL },
{ "KEY_GAMEPAD_L_STICK_LEFT", 648LL },
{ "ImGuiKey_GamepadLStickRight", 649LL },
{ "KEY_GAMEPAD_L_STICK_RIGHT", 649LL },
{ "ImGuiKey_GamepadLStickUp", 650LL },
{ "KEY_GAMEPAD_L_STICK_UP", 650LL },
{ "ImGuiKey_GamepadLStickDown", 651LL },
{ "KEY_GAMEPAD_L_STICK_DOWN", 651LL },
{ "ImGuiKey_GamepadRStickLeft", 652LL },
{ "KEY_GAMEPAD_R_STICK_LEFT", 652LL },
{ "ImGuiKey_GamepadRStickRight", 653LL },
{ "KEY_GAMEPAD_R_STICK_RIGHT", 653LL },
{ "ImGuiKey_GamepadRStickUp", 654LL },
{ "KEY_GAMEPAD_R_STICK_UP", 654LL },
{ "ImGuiKey_GamepadRStickDown", 655LL },
{ "KEY_GAMEPAD_R_STICK_DOWN", 655LL },
{ "ImGuiKey_MouseLeft", 656LL },
{ "KEY_MOUSE_LEFT", 656LL },
{ "ImGuiKey_MouseRight", 657LL },
{ "KEY_MOUSE_RIGHT", 657LL },
{ "ImGuiKey_MouseMiddle", 658LL },
{ "KEY_MOUSE_MIDDLE", 658LL },
{ "ImGuiKey_MouseX1", 659LL },
{ "KEY_MOUSE_X1", 659LL },
{ "ImGuiKey_MouseX2", 660LL },
{ "KEY_MOUSE_X2", 660LL },
{ "ImGuiKey_MouseWheelX", 661LL },
{ "KEY_MOUSE_WHEEL_X", 661LL },
{ "ImGuiKey_MouseWheelY", 662LL },
{ "KEY_MOUSE_WHEEL_Y", 662LL },
{ "ImGuiKey_ReservedForModCtrl", 663LL },
{ "KEY_RESERVED_FOR_MOD_CTRL", 663LL },
{ "ImGuiKey_ReservedForModShift", 664LL },
{ "KEY_RESERVED_FOR_MOD_SHIFT", 664LL },
{ "ImGuiKey_ReservedForModAlt", 665LL },
{ "KEY_RESERVED_FOR_MOD_ALT", 665LL },
{ "ImGuiKey_ReservedForModSuper", 666LL },
{ "KEY_RESERVED_FOR_MOD_SUPER", 666LL },
{ "ImGuiKey_NamedKey_END", 667LL },
{ "KEY_NAMED_KEY_END", 667LL },
{ "ImGuiKey_NamedKey_COUNT", 155LL },
{ "KEY_NAMED_KEY_COUNT", 155LL },
{ "ImGuiMod_None", 0LL },
{ "MOD_NONE", 0LL },
{ "ImGuiMod_Ctrl", 4096LL },
{ "MOD_CTRL", 4096LL },
{ "ImGuiMod_Shift", 8192LL },
{ "MOD_SHIFT", 8192LL },
{ "ImGuiMod_Alt", 16384LL },
{ "MOD_ALT", 16384LL },
{ "ImGuiMod_Super", 32768LL },
{ "MOD_SUPER", 32768LL },
{ "ImGuiMod_Mask_", 61440LL },
{ "MOD_MASK_", 61440LL },
{ "ImGuiInputFlags_None", 0LL },
{ "INPUT_NONE", 0LL },
{ "ImGuiInputFlags_Repeat", 1LL },
{ "INPUT_REPEAT", 1LL },
{ "ImGuiInputFlags_RouteActive", 1024LL },
{ "INPUT_ROUTE_ACTIVE", 1024LL },
{ "ImGuiInputFlags_RouteFocused", 2048LL },
{ "INPUT_ROUTE_FOCUSED", 2048LL },
{ "ImGuiInputFlags_RouteGlobal", 4096LL },
{ "INPUT_ROUTE_GLOBAL", 4096LL },
{ "ImGuiInputFlags_RouteAlways", 8192LL },
{ "INPUT_ROUTE_ALWAYS", 8192LL },
{ "ImGuiInputFlags_RouteOverFocused", 16384LL },
{ "INPUT_ROUTE_OVER_FOCUSED", 16384LL },
{ "ImGuiInputFlags_RouteOverActive", 32768LL },
{ "INPUT_ROUTE_OVER_ACTIVE", 32768LL },
{ "ImGuiInputFlags_RouteUnlessBgFocused", 65536LL },
{ "INPUT_ROUTE_UNLESS_BG_FOCUSED", 65536LL },
{ "ImGuiInputFlags_RouteFromRootWindow", 131072LL },
{ "INPUT_ROUTE_FROM_ROOT_WINDOW", 131072LL },
{ "ImGuiInputFlags_Tooltip", 262144LL },
{ "INPUT_TOOLTIP", 262144LL },
{ "ImGuiConfigFlags_None", 0LL },
{ "CONFIG_NONE", 0LL },
{ "ImGuiConfigFlags_NavEnableKeyboard", 1LL },
{ "CONFIG_NAV_ENABLE_KEYBOARD", 1LL },
{ "ImGuiConfigFlags_NavEnableGamepad", 2LL },
{ "CONFIG_NAV_ENABLE_GAMEPAD", 2LL },
{ "ImGuiConfigFlags_NoMouse", 16LL },
{ "CONFIG_NO_MOUSE", 16LL },
{ "ImGuiConfigFlags_NoMouseCursorChange", 32LL },
{ "CONFIG_NO_MOUSE_CURSOR_CHANGE", 32LL },
{ "ImGuiConfigFlags_NoKeyboard", 64LL },
{ "CONFIG_NO_KEYBOARD", 64LL },
{ "ImGuiConfigFlags_IsSRGB", 1048576LL },
{ "CONFIG_IS_SRGB", 1048576LL },
{ "ImGuiConfigFlags_IsTouchScreen", 2097152LL },
{ "CONFIG_IS_TOUCH_SCREEN", 2097152LL },
{ "ImGuiBackendFlags_None", 0LL },
{ "BACKEND_NONE", 0LL },
{ "ImGuiBackendFlags_HasGamepad", 1LL },
{ "BACKEND_HAS_GAMEPAD", 1LL },
{ "ImGuiBackendFlags_HasMouseCursors", 2LL },
{ "BACKEND_HAS_MOUSE_CURSORS", 2LL },
{ "ImGuiBackendFlags_HasSetMousePos", 4LL },
{ "BACKEND_HAS_SET_MOUSE_POS", 4LL },
{ "ImGuiBackendFlags_RendererHasVtxOffset", 8LL },
{ "BACKEND_RENDERER_HAS_VTX_OFFSET", 8LL },
{ "ImGuiBackendFlags_RendererHasTextures", 16LL },
{ "BACKEND_RENDERER_HAS_TEXTURES", 16LL },
{ "ImGuiCol_Text", 0LL },
{ "COL_TEXT", 0LL },
{ "ImGuiCol_TextDisabled", 1LL },
{ "COL_TEXT_DISABLED", 1LL },
{ "ImGuiCol_WindowBg", 2LL },
{ "COL_WINDOW_BG", 2LL },
{ "ImGuiCol_ChildBg", 3LL },
{ "COL_CHILD_BG", 3LL },
{ "ImGuiCol_PopupBg", 4LL },
{ "COL_POPUP_BG", 4LL },
{ "ImGuiCol_Border", 5LL },
{ "COL_BORDER", 5LL },
{ "ImGuiCol_BorderShadow", 6LL },
{ "COL_BORDER_SHADOW", 6LL },
{ "ImGuiCol_FrameBg", 7LL },
{ "COL_FRAME_BG", 7LL },
{ "ImGuiCol_FrameBgHovered", 8LL },
{ "COL_FRAME_BG_HOVERED", 8LL },
{ "ImGuiCol_FrameBgActive", 9LL },
{ "COL_FRAME_BG_ACTIVE", 9LL },
{ "ImGuiCol_TitleBg", 10LL },
{ "COL_TITLE_BG", 10LL },
{ "ImGuiCol_TitleBgActive", 11LL },
{ "COL_TITLE_BG_ACTIVE", 11LL },
{ "ImGuiCol_TitleBgCollapsed", 12LL },
{ "COL_TITLE_BG_COLLAPSED", 12LL },
{ "ImGuiCol_MenuBarBg", 13LL },
{ "COL_MENU_BAR_BG", 13LL },
{ "ImGuiCol_ScrollbarBg", 14LL },
{ "COL_SCROLLBAR_BG", 14LL },
{ "ImGuiCol_ScrollbarGrab", 15LL },
{ "COL_SCROLLBAR_GRAB", 15LL },
{ "ImGuiCol_ScrollbarGrabHovered", 16LL },
{ "COL_SCROLLBAR_GRAB_HOVERED", 16LL },
{ "ImGuiCol_ScrollbarGrabActive", 17LL },
{ "COL_SCROLLBAR_GRAB_ACTIVE", 17LL },
{ "ImGuiCol_CheckMark", 18LL },
{ "COL_CHECK_MARK", 18LL },
{ "ImGuiCol_CheckboxSelectedBg", 19LL },
{ "COL_CHECKBOX_SELECTED_BG", 19LL },
{ "ImGuiCol_SliderGrab", 20LL },
{ "COL_SLIDER_GRAB", 20LL },
{ "ImGuiCol_SliderGrabActive", 21LL },
{ "COL_SLIDER_GRAB_ACTIVE", 21LL },
{ "ImGuiCol_Button", 22LL },
{ "COL_BUTTON", 22LL },
{ "ImGuiCol_ButtonHovered", 23LL },
{ "COL_BUTTON_HOVERED", 23LL },
{ "ImGuiCol_ButtonActive", 24LL },
{ "COL_BUTTON_ACTIVE", 24LL },
{ "ImGuiCol_Header", 25LL },
{ "COL_HEADER", 25LL },
{ "ImGuiCol_HeaderHovered", 26LL },
{ "COL_HEADER_HOVERED", 26LL },
{ "ImGuiCol_HeaderActive", 27LL },
{ "COL_HEADER_ACTIVE", 27LL },
{ "ImGuiCol_Separator", 28LL },
{ "COL_SEPARATOR", 28LL },
{ "ImGuiCol_SeparatorHovered", 29LL },
{ "COL_SEPARATOR_HOVERED", 29LL },
{ "ImGuiCol_SeparatorActive", 30LL },
{ "COL_SEPARATOR_ACTIVE", 30LL },
{ "ImGuiCol_ResizeGrip", 31LL },
{ "COL_RESIZE_GRIP", 31LL },
{ "ImGuiCol_ResizeGripHovered", 32LL },
{ "COL_RESIZE_GRIP_HOVERED", 32LL },
{ "ImGuiCol_ResizeGripActive", 33LL },
{ "COL_RESIZE_GRIP_ACTIVE", 33LL },
{ "ImGuiCol_InputTextCursor", 34LL },
{ "COL_INPUT_TEXT_CURSOR", 34LL },
{ "ImGuiCol_TabHovered", 35LL },
{ "COL_TAB_HOVERED", 35LL },
{ "ImGuiCol_Tab", 36LL },
{ "COL_TAB", 36LL },
{ "ImGuiCol_TabSelected", 37LL },
{ "COL_TAB_SELECTED", 37LL },
{ "ImGuiCol_TabSelectedOverline", 38LL },
{ "COL_TAB_SELECTED_OVERLINE", 38LL },
{ "ImGuiCol_TabDimmed", 39LL },
{ "COL_TAB_DIMMED", 39LL },
{ "ImGuiCol_TabDimmedSelected", 40LL },
{ "COL_TAB_DIMMED_SELECTED", 40LL },
{ "ImGuiCol_TabDimmedSelectedOverline", 41LL },
{ "COL_TAB_DIMMED_SELECTED_OVERLINE", 41LL },
{ "ImGuiCol_PlotLines", 42LL },
{ "COL_PLOT_LINES", 42LL },
{ "ImGuiCol_PlotLinesHovered", 43LL },
{ "COL_PLOT_LINES_HOVERED", 43LL },
{ "ImGuiCol_PlotHistogram", 44LL },
{ "COL_PLOT_HISTOGRAM", 44LL },
{ "ImGuiCol_PlotHistogramHovered", 45LL },
{ "COL_PLOT_HISTOGRAM_HOVERED", 45LL },
{ "ImGuiCol_TableHeaderBg", 46LL },
{ "COL_TABLE_HEADER_BG", 46LL },
{ "ImGuiCol_TableBorderStrong", 47LL },
{ "COL_TABLE_BORDER_STRONG", 47LL },
{ "ImGuiCol_TableBorderLight", 48LL },
{ "COL_TABLE_BORDER_LIGHT", 48LL },
{ "ImGuiCol_TableRowBg", 49LL },
{ "COL_TABLE_ROW_BG", 49LL },
{ "ImGuiCol_TableRowBgAlt", 50LL },
{ "COL_TABLE_ROW_BG_ALT", 50LL },
{ "ImGuiCol_TextLink", 51LL },
{ "COL_TEXT_LINK", 51LL },
{ "ImGuiCol_TextSelectedBg", 52LL },
{ "COL_TEXT_SELECTED_BG", 52LL },
{ "ImGuiCol_TreeLines", 53LL },
{ "COL_TREE_LINES", 53LL },
{ "ImGuiCol_DragDropTarget", 54LL },
{ "COL_DRAG_DROP_TARGET", 54LL },
{ "ImGuiCol_DragDropTargetBg", 55LL },
{ "COL_DRAG_DROP_TARGET_BG", 55LL },
{ "ImGuiCol_UnsavedMarker", 56LL },
{ "COL_UNSAVED_MARKER", 56LL },
{ "ImGuiCol_NavCursor", 57LL },
{ "COL_NAV_CURSOR", 57LL },
{ "ImGuiCol_NavWindowingHighlight", 58LL },
{ "COL_NAV_WINDOWING_HIGHLIGHT", 58LL },
{ "ImGuiCol_NavWindowingDimBg", 59LL },
{ "COL_NAV_WINDOWING_DIM_BG", 59LL },
{ "ImGuiCol_ModalWindowDimBg", 60LL },
{ "COL_MODAL_WINDOW_DIM_BG", 60LL },
{ "ImGuiCol_COUNT", 61LL },
{ "COL_COUNT", 61LL },
{ "ImGuiStyleVar_Alpha", 0LL },
{ "STYLE_VAR_ALPHA", 0LL },
{ "ImGuiStyleVar_DisabledAlpha", 1LL },
{ "STYLE_VAR_DISABLED_ALPHA", 1LL },
{ "ImGuiStyleVar_WindowPadding", 2LL },
{ "STYLE_VAR_WINDOW_PADDING", 2LL },
{ "ImGuiStyleVar_WindowRounding", 3LL },
{ "STYLE_VAR_WINDOW_ROUNDING", 3LL },
{ "ImGuiStyleVar_WindowBorderSize", 4LL },
{ "STYLE_VAR_WINDOW_BORDER_SIZE", 4LL },
{ "ImGuiStyleVar_WindowMinSize", 5LL },
{ "STYLE_VAR_WINDOW_MIN_SIZE", 5LL },
{ "ImGuiStyleVar_WindowTitleAlign", 6LL },
{ "STYLE_VAR_WINDOW_TITLE_ALIGN", 6LL },
{ "ImGuiStyleVar_ChildRounding", 7LL },
{ "STYLE_VAR_CHILD_ROUNDING", 7LL },
{ "ImGuiStyleVar_ChildBorderSize", 8LL },
{ "STYLE_VAR_CHILD_BORDER_SIZE", 8LL },
{ "ImGuiStyleVar_PopupRounding", 9LL },
{ "STYLE_VAR_POPUP_ROUNDING", 9LL },
{ "ImGuiStyleVar_PopupBorderSize", 10LL },
{ "STYLE_VAR_POPUP_BORDER_SIZE", 10LL },
{ "ImGuiStyleVar_FramePadding", 11LL },
{ "STYLE_VAR_FRAME_PADDING", 11LL },
{ "ImGuiStyleVar_FrameRounding", 12LL },
{ "STYLE_VAR_FRAME_ROUNDING", 12LL },
{ "ImGuiStyleVar_FrameBorderSize", 13LL },
{ "STYLE_VAR_FRAME_BORDER_SIZE", 13LL },
{ "ImGuiStyleVar_ItemSpacing", 14LL },
{ "STYLE_VAR_ITEM_SPACING", 14LL },
{ "ImGuiStyleVar_ItemInnerSpacing", 15LL },
{ "STYLE_VAR_ITEM_INNER_SPACING", 15LL },
{ "ImGuiStyleVar_IndentSpacing", 16LL },
{ "STYLE_VAR_INDENT_SPACING", 16LL },
{ "ImGuiStyleVar_CellPadding", 17LL },
{ "STYLE_VAR_CELL_PADDING", 17LL },
{ "ImGuiStyleVar_ScrollbarSize", 18LL },
{ "STYLE_VAR_SCROLLBAR_SIZE", 18LL },
{ "ImGuiStyleVar_ScrollbarRounding", 19LL },
{ "STYLE_VAR_SCROLLBAR_ROUNDING", 19LL },
{ "ImGuiStyleVar_ScrollbarPadding", 20LL },
{ "STYLE_VAR_SCROLLBAR_PADDING", 20LL },
{ "ImGuiStyleVar_GrabMinSize", 21LL },
{ "STYLE_VAR_GRAB_MIN_SIZE", 21LL },
{ "ImGuiStyleVar_GrabRounding", 22LL },
{ "STYLE_VAR_GRAB_ROUNDING", 22LL },
{ "ImGuiStyleVar_ImageRounding", 23LL },
{ "STYLE_VAR_IMAGE_ROUNDING", 23LL },
{ "ImGuiStyleVar_ImageBorderSize", 24LL },
{ "STYLE_VAR_IMAGE_BORDER_SIZE", 24LL },
{ "ImGuiStyleVar_TabRounding", 25LL },
{ "STYLE_VAR_TAB_ROUNDING", 25LL },
{ "ImGuiStyleVar_TabBorderSize", 26LL },
{ "STYLE_VAR_TAB_BORDER_SIZE", 26LL },
{ "ImGuiStyleVar_TabMinWidthBase", 27LL },
{ "STYLE_VAR_TAB_MIN_WIDTH_BASE", 27LL },
{ "ImGuiStyleVar_TabMinWidthShrink", 28LL },
{ "STYLE_VAR_TAB_MIN_WIDTH_SHRINK", 28LL },
{ "ImGuiStyleVar_TabBarBorderSize", 29LL },
{ "STYLE_VAR_TAB_BAR_BORDER_SIZE", 29LL },
{ "ImGuiStyleVar_TabBarOverlineSize", 30LL },
{ "STYLE_VAR_TAB_BAR_OVERLINE_SIZE", 30LL },
{ "ImGuiStyleVar_TableAngledHeadersAngle", 31LL },
{ "STYLE_VAR_TABLE_ANGLED_HEADERS_ANGLE", 31LL },
{ "ImGuiStyleVar_TableAngledHeadersTextAlign", 32LL },
{ "STYLE_VAR_TABLE_ANGLED_HEADERS_TEXT_ALIGN", 32LL },
{ "ImGuiStyleVar_TreeLinesSize", 33LL },
{ "STYLE_VAR_TREE_LINES_SIZE", 33LL },
{ "ImGuiStyleVar_TreeLinesRounding", 34LL },
{ "STYLE_VAR_TREE_LINES_ROUNDING", 34LL },
{ "ImGuiStyleVar_MenuItemRounding", 35LL },
{ "STYLE_VAR_MENU_ITEM_ROUNDING", 35LL },
{ "ImGuiStyleVar_SelectableRounding", 36LL },
{ "STYLE_VAR_SELECTABLE_ROUNDING", 36LL },
{ "ImGuiStyleVar_DragDropTargetRounding", 37LL },
{ "STYLE_VAR_DRAG_DROP_TARGET_ROUNDING", 37LL },
{ "ImGuiStyleVar_ButtonTextAlign", 38LL },
{ "STYLE_VAR_BUTTON_TEXT_ALIGN", 38LL },
{ "ImGuiStyleVar_SelectableTextAlign", 39LL },
{ "STYLE_VAR_SELECTABLE_TEXT_ALIGN", 39LL },
{ "ImGuiStyleVar_SeparatorSize", 40LL },
{ "STYLE_VAR_SEPARATOR_SIZE", 40LL },
{ "ImGuiStyleVar_SeparatorTextBorderSize", 41LL },
{ "STYLE_VAR_SEPARATOR_TEXT_BORDER_SIZE", 41LL },
{ "ImGuiStyleVar_SeparatorTextAlign", 42LL },
{ "STYLE_VAR_SEPARATOR_TEXT_ALIGN", 42LL },
{ "ImGuiStyleVar_SeparatorTextPadding", 43LL },
{ "STYLE_VAR_SEPARATOR_TEXT_PADDING", 43LL },
{ "ImGuiStyleVar_COUNT", 44LL },
{ "STYLE_VAR_COUNT", 44LL },
{ "ImGuiButtonFlags_None", 0LL },
{ "BUTTON_NONE", 0LL },
{ "ImGuiButtonFlags_MouseButtonLeft", 1LL },
{ "BUTTON_MOUSE_BUTTON_LEFT", 1LL },
{ "ImGuiButtonFlags_MouseButtonRight", 2LL },
{ "BUTTON_MOUSE_BUTTON_RIGHT", 2LL },
{ "ImGuiButtonFlags_MouseButtonMiddle", 4LL },
{ "BUTTON_MOUSE_BUTTON_MIDDLE", 4LL },
{ "ImGuiButtonFlags_MouseButtonMask_", 7LL },
{ "BUTTON_MOUSE_BUTTON_MASK_", 7LL },
{ "ImGuiButtonFlags_EnableNav", 8LL },
{ "BUTTON_ENABLE_NAV", 8LL },
{ "ImGuiButtonFlags_AllowOverlap", 4096LL },
{ "BUTTON_ALLOW_OVERLAP", 4096LL },
{ "ImGuiColorEditFlags_None", 0LL },
{ "COLOR_EDIT_NONE", 0LL },
{ "ImGuiColorEditFlags_NoAlpha", 2LL },
{ "COLOR_EDIT_NO_ALPHA", 2LL },
{ "ImGuiColorEditFlags_NoPicker", 4LL },
{ "COLOR_EDIT_NO_PICKER", 4LL },
{ "ImGuiColorEditFlags_NoOptions", 8LL },
{ "COLOR_EDIT_NO_OPTIONS", 8LL },
{ "ImGuiColorEditFlags_NoSmallPreview", 16LL },
{ "COLOR_EDIT_NO_SMALL_PREVIEW", 16LL },
{ "ImGuiColorEditFlags_NoInputs", 32LL },
{ "COLOR_EDIT_NO_INPUTS", 32LL },
{ "ImGuiColorEditFlags_NoTooltip", 64LL },
{ "COLOR_EDIT_NO_TOOLTIP", 64LL },
{ "ImGuiColorEditFlags_NoLabel", 128LL },
{ "COLOR_EDIT_NO_LABEL", 128LL },
{ "ImGuiColorEditFlags_NoSidePreview", 256LL },
{ "COLOR_EDIT_NO_SIDE_PREVIEW", 256LL },
{ "ImGuiColorEditFlags_NoDragDrop", 512LL },
{ "COLOR_EDIT_NO_DRAG_DROP", 512LL },
{ "ImGuiColorEditFlags_NoBorder", 1024LL },
{ "COLOR_EDIT_NO_BORDER", 1024LL },
{ "ImGuiColorEditFlags_NoColorMarkers", 2048LL },
{ "COLOR_EDIT_NO_COLOR_MARKERS", 2048LL },
{ "ImGuiColorEditFlags_AlphaOpaque", 4096LL },
{ "COLOR_EDIT_ALPHA_OPAQUE", 4096LL },
{ "ImGuiColorEditFlags_AlphaNoBg", 8192LL },
{ "COLOR_EDIT_ALPHA_NO_BG", 8192LL },
{ "ImGuiColorEditFlags_AlphaPreviewHalf", 16384LL },
{ "COLOR_EDIT_ALPHA_PREVIEW_HALF", 16384LL },
{ "ImGuiColorEditFlags_AlphaBar", 262144LL },
{ "COLOR_EDIT_ALPHA_BAR", 262144LL },
{ "ImGuiColorEditFlags_HDR", 524288LL },
{ "COLOR_EDIT_HDR", 524288LL },
{ "ImGuiColorEditFlags_DisplayRGB", 1048576LL },
{ "COLOR_EDIT_DISPLAY_RGB", 1048576LL },
{ "ImGuiColorEditFlags_DisplayHSV", 2097152LL },
{ "COLOR_EDIT_DISPLAY_HSV", 2097152LL },
{ "ImGuiColorEditFlags_DisplayHex", 4194304LL },
{ "COLOR_EDIT_DISPLAY_HEX", 4194304LL },
{ "ImGuiColorEditFlags_Uint8", 8388608LL },
{ "COLOR_EDIT_UINT8", 8388608LL },
{ "ImGuiColorEditFlags_Float", 16777216LL },
{ "COLOR_EDIT_FLOAT", 16777216LL },
{ "ImGuiColorEditFlags_PickerHueBar", 33554432LL },
{ "COLOR_EDIT_PICKER_HUE_BAR", 33554432LL },
{ "ImGuiColorEditFlags_PickerHueWheel", 67108864LL },
{ "COLOR_EDIT_PICKER_HUE_WHEEL", 67108864LL },
{ "ImGuiColorEditFlags_PickerNoRotate", 134217728LL },
{ "COLOR_EDIT_PICKER_NO_ROTATE", 134217728LL },
{ "ImGuiColorEditFlags_InputRGB", 268435456LL },
{ "COLOR_EDIT_INPUT_RGB", 268435456LL },
{ "ImGuiColorEditFlags_InputHSV", 536870912LL },
{ "COLOR_EDIT_INPUT_HSV", 536870912LL },
{ "ImGuiColorEditFlags_DefaultOptions_", 311427072LL },
{ "COLOR_EDIT_DEFAULT_OPTIONS_", 311427072LL },
{ "ImGuiColorEditFlags_AlphaMask_", 28674LL },
{ "COLOR_EDIT_ALPHA_MASK_", 28674LL },
{ "ImGuiColorEditFlags_DisplayMask_", 7340032LL },
{ "COLOR_EDIT_DISPLAY_MASK_", 7340032LL },
{ "ImGuiColorEditFlags_DataTypeMask_", 25165824LL },
{ "COLOR_EDIT_DATA_TYPE_MASK_", 25165824LL },
{ "ImGuiColorEditFlags_PickerMask_", 100663296LL },
{ "COLOR_EDIT_PICKER_MASK_", 100663296LL },
{ "ImGuiColorEditFlags_InputMask_", 805306368LL },
{ "COLOR_EDIT_INPUT_MASK_", 805306368LL },
{ "ImGuiSliderFlags_None", 0LL },
{ "SLIDER_NONE", 0LL },
{ "ImGuiSliderFlags_Logarithmic", 32LL },
{ "SLIDER_LOGARITHMIC", 32LL },
{ "ImGuiSliderFlags_NoRoundToFormat", 64LL },
{ "SLIDER_NO_ROUND_TO_FORMAT", 64LL },
{ "ImGuiSliderFlags_NoInput", 128LL },
{ "SLIDER_NO_INPUT", 128LL },
{ "ImGuiSliderFlags_WrapAround", 256LL },
{ "SLIDER_WRAP_AROUND", 256LL },
{ "ImGuiSliderFlags_ClampOnInput", 512LL },
{ "SLIDER_CLAMP_ON_INPUT", 512LL },
{ "ImGuiSliderFlags_ClampZeroRange", 1024LL },
{ "SLIDER_CLAMP_ZERO_RANGE", 1024LL },
{ "ImGuiSliderFlags_NoSpeedTweaks", 2048LL },
{ "SLIDER_NO_SPEED_TWEAKS", 2048LL },
{ "ImGuiSliderFlags_ColorMarkers", 4096LL },
{ "SLIDER_COLOR_MARKERS", 4096LL },
{ "ImGuiSliderFlags_AlwaysClamp", 1536LL },
{ "SLIDER_ALWAYS_CLAMP", 1536LL },
{ "ImGuiSliderFlags_InvalidMask_", 1879048207LL },
{ "SLIDER_INVALID_MASK_", 1879048207LL },
{ "ImGuiMouseButton_Left", 0LL },
{ "MOUSE_BUTTON_LEFT", 0LL },
{ "ImGuiMouseButton_Right", 1LL },
{ "MOUSE_BUTTON_RIGHT", 1LL },
{ "ImGuiMouseButton_Middle", 2LL },
{ "MOUSE_BUTTON_MIDDLE", 2LL },
{ "ImGuiMouseButton_COUNT", 5LL },
{ "MOUSE_BUTTON_COUNT", 5LL },
{ "ImGuiMouseCursor_None", -1LL },
{ "MOUSE_CURSOR_NONE", -1LL },
{ "ImGuiMouseCursor_Arrow", 0LL },
{ "MOUSE_CURSOR_ARROW", 0LL },
{ "ImGuiMouseCursor_TextInput", 1LL },
{ "MOUSE_CURSOR_TEXT_INPUT", 1LL },
{ "ImGuiMouseCursor_ResizeAll", 2LL },
{ "MOUSE_CURSOR_RESIZE_ALL", 2LL },
{ "ImGuiMouseCursor_ResizeNS", 3LL },
{ "MOUSE_CURSOR_RESIZE_NS", 3LL },
{ "ImGuiMouseCursor_ResizeEW", 4LL },
{ "MOUSE_CURSOR_RESIZE_EW", 4LL },
{ "ImGuiMouseCursor_ResizeNESW", 5LL },
{ "MOUSE_CURSOR_RESIZE_NESW", 5LL },
{ "ImGuiMouseCursor_ResizeNWSE", 6LL },
{ "MOUSE_CURSOR_RESIZE_NWSE", 6LL },
{ "ImGuiMouseCursor_Hand", 7LL },
{ "MOUSE_CURSOR_HAND", 7LL },
{ "ImGuiMouseCursor_Wait", 8LL },
{ "MOUSE_CURSOR_WAIT", 8LL },
{ "ImGuiMouseCursor_Progress", 9LL },
{ "MOUSE_CURSOR_PROGRESS", 9LL },
{ "ImGuiMouseCursor_NotAllowed", 10LL },
{ "MOUSE_CURSOR_NOT_ALLOWED", 10LL },
{ "ImGuiMouseCursor_COUNT", 11LL },
{ "MOUSE_CURSOR_COUNT", 11LL },
{ "ImGuiMouseSource_Mouse", 0LL },
{ "MOUSE_SOURCE_MOUSE", 0LL },
{ "ImGuiMouseSource_TouchScreen", 1LL },
{ "MOUSE_SOURCE_TOUCH_SCREEN", 1LL },
{ "ImGuiMouseSource_Pen", 2LL },
{ "MOUSE_SOURCE_PEN", 2LL },
{ "ImGuiMouseSource_COUNT", 3LL },
{ "MOUSE_SOURCE_COUNT", 3LL },
{ "ImGuiCond_None", 0LL },
{ "COND_NONE", 0LL },
{ "ImGuiCond_Always", 1LL },
{ "COND_ALWAYS", 1LL },
{ "ImGuiCond_Once", 2LL },
{ "COND_ONCE", 2LL },
{ "ImGuiCond_FirstUseEver", 4LL },
{ "COND_FIRST_USE_EVER", 4LL },
{ "ImGuiCond_Appearing", 8LL },
{ "COND_APPEARING", 8LL },
{ "ImGuiTableFlags_None", 0LL },
{ "TABLE_NONE", 0LL },
{ "ImGuiTableFlags_Resizable", 1LL },
{ "TABLE_RESIZABLE", 1LL },
{ "ImGuiTableFlags_Reorderable", 2LL },
{ "TABLE_REORDERABLE", 2LL },
{ "ImGuiTableFlags_Hideable", 4LL },
{ "TABLE_HIDEABLE", 4LL },
{ "ImGuiTableFlags_Sortable", 8LL },
{ "TABLE_SORTABLE", 8LL },
{ "ImGuiTableFlags_NoSavedSettings", 16LL },
{ "TABLE_NO_SAVED_SETTINGS", 16LL },
{ "ImGuiTableFlags_ContextMenuInBody", 32LL },
{ "TABLE_CONTEXT_MENU_IN_BODY", 32LL },
{ "ImGuiTableFlags_RowBg", 64LL },
{ "TABLE_ROW_BG", 64LL },
{ "ImGuiTableFlags_BordersInnerH", 128LL },
{ "TABLE_BORDERS_INNER_H", 128LL },
{ "ImGuiTableFlags_BordersOuterH", 256LL },
{ "TABLE_BORDERS_OUTER_H", 256LL },
{ "ImGuiTableFlags_BordersInnerV", 512LL },
{ "TABLE_BORDERS_INNER_V", 512LL },
{ "ImGuiTableFlags_BordersOuterV", 1024LL },
{ "TABLE_BORDERS_OUTER_V", 1024LL },
{ "ImGuiTableFlags_BordersH", 384LL },
{ "TABLE_BORDERS_H", 384LL },
{ "ImGuiTableFlags_BordersV", 1536LL },
{ "TABLE_BORDERS_V", 1536LL },
{ "ImGuiTableFlags_BordersInner", 640LL },
{ "TABLE_BORDERS_INNER", 640LL },
{ "ImGuiTableFlags_BordersOuter", 1280LL },
{ "TABLE_BORDERS_OUTER", 1280LL },
{ "ImGuiTableFlags_Borders", 1920LL },
{ "TABLE_BORDERS", 1920LL },
{ "ImGuiTableFlags_NoBordersInBody", 2048LL },
{ "TABLE_NO_BORDERS_IN_BODY", 2048LL },
{ "ImGuiTableFlags_NoBordersInBodyUntilResize", 4096LL },
{ "TABLE_NO_BORDERS_IN_BODY_UNTIL_RESIZE", 4096LL },
{ "ImGuiTableFlags_SizingFixedFit", 8192LL },
{ "TABLE_SIZING_FIXED_FIT", 8192LL },
{ "ImGuiTableFlags_SizingFixedSame", 16384LL },
{ "TABLE_SIZING_FIXED_SAME", 16384LL },
{ "ImGuiTableFlags_SizingStretchProp", 24576LL },
{ "TABLE_SIZING_STRETCH_PROP", 24576LL },
{ "ImGuiTableFlags_SizingStretchSame", 32768LL },
{ "TABLE_SIZING_STRETCH_SAME", 32768LL },
{ "ImGuiTableFlags_NoHostExtendX", 65536LL },
{ "TABLE_NO_HOST_EXTEND_X", 65536LL },
{ "ImGuiTableFlags_NoHostExtendY", 131072LL },
{ "TABLE_NO_HOST_EXTEND_Y", 131072LL },
{ "ImGuiTableFlags_NoKeepColumnsVisible", 262144LL },
{ "TABLE_NO_KEEP_COLUMNS_VISIBLE", 262144LL },
{ "ImGuiTableFlags_PreciseWidths", 524288LL },
{ "TABLE_PRECISE_WIDTHS", 524288LL },
{ "ImGuiTableFlags_NoClip", 1048576LL },
{ "TABLE_NO_CLIP", 1048576LL },
{ "ImGuiTableFlags_PadOuterX", 2097152LL },
{ "TABLE_PAD_OUTER_X", 2097152LL },
{ "ImGuiTableFlags_NoPadOuterX", 4194304LL },
{ "TABLE_NO_PAD_OUTER_X", 4194304LL },
{ "ImGuiTableFlags_NoPadInnerX", 8388608LL },
{ "TABLE_NO_PAD_INNER_X", 8388608LL },
{ "ImGuiTableFlags_ScrollX", 16777216LL },
{ "TABLE_SCROLL_X", 16777216LL },
{ "ImGuiTableFlags_ScrollY", 33554432LL },
{ "TABLE_SCROLL_Y", 33554432LL },
{ "ImGuiTableFlags_SortMulti", 67108864LL },
{ "TABLE_SORT_MULTI", 67108864LL },
{ "ImGuiTableFlags_SortTristate", 134217728LL },
{ "TABLE_SORT_TRISTATE", 134217728LL },
{ "ImGuiTableFlags_HighlightHoveredColumn", 268435456LL },
{ "TABLE_HIGHLIGHT_HOVERED_COLUMN", 268435456LL },
{ "ImGuiTableFlags_SizingMask_", 57344LL },
{ "TABLE_SIZING_MASK_", 57344LL },
{ "ImGuiTableColumnFlags_None", 0LL },
{ "TABLE_COLUMN_NONE", 0LL },
{ "ImGuiTableColumnFlags_Disabled", 1LL },
{ "TABLE_COLUMN_DISABLED", 1LL },
{ "ImGuiTableColumnFlags_DefaultHide", 2LL },
{ "TABLE_COLUMN_DEFAULT_HIDE", 2LL },
{ "ImGuiTableColumnFlags_DefaultSort", 4LL },
{ "TABLE_COLUMN_DEFAULT_SORT", 4LL },
{ "ImGuiTableColumnFlags_WidthStretch", 8LL },
{ "TABLE_COLUMN_WIDTH_STRETCH", 8LL },
{ "ImGuiTableColumnFlags_WidthFixed", 16LL },
{ "TABLE_COLUMN_WIDTH_FIXED", 16LL },
{ "ImGuiTableColumnFlags_NoResize", 32LL },
{ "TABLE_COLUMN_NO_RESIZE", 32LL },
{ "ImGuiTableColumnFlags_NoReorder", 64LL },
{ "TABLE_COLUMN_NO_REORDER", 64LL },
{ "ImGuiTableColumnFlags_NoHide", 128LL },
{ "TABLE_COLUMN_NO_HIDE", 128LL },
{ "ImGuiTableColumnFlags_NoClip", 256LL },
{ "TABLE_COLUMN_NO_CLIP", 256LL },
{ "ImGuiTableColumnFlags_NoSort", 512LL },
{ "TABLE_COLUMN_NO_SORT", 512LL },
{ "ImGuiTableColumnFlags_NoSortAscending", 1024LL },
{ "TABLE_COLUMN_NO_SORT_ASCENDING", 1024LL },
{ "ImGuiTableColumnFlags_NoSortDescending", 2048LL },
{ "TABLE_COLUMN_NO_SORT_DESCENDING", 2048LL },
{ "ImGuiTableColumnFlags_NoHeaderLabel", 4096LL },
{ "TABLE_COLUMN_NO_HEADER_LABEL", 4096LL },
{ "ImGuiTableColumnFlags_NoHeaderWidth", 8192LL },
{ "TABLE_COLUMN_NO_HEADER_WIDTH", 8192LL },
{ "ImGuiTableColumnFlags_PreferSortAscending", 16384LL },
{ "TABLE_COLUMN_PREFER_SORT_ASCENDING", 16384LL },
{ "ImGuiTableColumnFlags_PreferSortDescending", 32768LL },
{ "TABLE_COLUMN_PREFER_SORT_DESCENDING", 32768LL },
{ "ImGuiTableColumnFlags_IndentEnable", 65536LL },
{ "TABLE_COLUMN_INDENT_ENABLE", 65536LL },
{ "ImGuiTableColumnFlags_IndentDisable", 131072LL },
{ "TABLE_COLUMN_INDENT_DISABLE", 131072LL },
{ "ImGuiTableColumnFlags_AngledHeader", 262144LL },
{ "TABLE_COLUMN_ANGLED_HEADER", 262144LL },
{ "ImGuiTableColumnFlags_IsEnabled", 16777216LL },
{ "TABLE_COLUMN_IS_ENABLED", 16777216LL },
{ "ImGuiTableColumnFlags_IsVisible", 33554432LL },
{ "TABLE_COLUMN_IS_VISIBLE", 33554432LL },
{ "ImGuiTableColumnFlags_IsSorted", 67108864LL },
{ "TABLE_COLUMN_IS_SORTED", 67108864LL },
{ "ImGuiTableColumnFlags_IsHovered", 134217728LL },
{ "TABLE_COLUMN_IS_HOVERED", 134217728LL },
{ "ImGuiTableColumnFlags_WidthMask_", 24LL },
{ "TABLE_COLUMN_WIDTH_MASK_", 24LL },
{ "ImGuiTableColumnFlags_IndentMask_", 196608LL },
{ "TABLE_COLUMN_INDENT_MASK_", 196608LL },
{ "ImGuiTableColumnFlags_StatusMask_", 251658240LL },
{ "TABLE_COLUMN_STATUS_MASK_", 251658240LL },
{ "ImGuiTableColumnFlags_NoDirectResize_", 1073741824LL },
{ "TABLE_COLUMN_NO_DIRECT_RESIZE_", 1073741824LL },
{ "ImGuiTableRowFlags_None", 0LL },
{ "TABLE_ROW_NONE", 0LL },
{ "ImGuiTableRowFlags_Headers", 1LL },
{ "TABLE_ROW_HEADERS", 1LL },
{ "ImGuiTableBgTarget_None", 0LL },
{ "TABLE_BG_TARGET_NONE", 0LL },
{ "ImGuiTableBgTarget_RowBg0", 1LL },
{ "TABLE_BG_TARGET_ROW_BG0", 1LL },
{ "ImGuiTableBgTarget_RowBg1", 2LL },
{ "TABLE_BG_TARGET_ROW_BG1", 2LL },
{ "ImGuiTableBgTarget_CellBg", 3LL },
{ "TABLE_BG_TARGET_CELL_BG", 3LL },
{ "ImGuiListClipperFlags_None", 0LL },
{ "LIST_CLIPPER_NONE", 0LL },
{ "ImGuiListClipperFlags_NoSetTableRowCounters", 1LL },
{ "LIST_CLIPPER_NO_SET_TABLE_ROW_COUNTERS", 1LL },
{ "ImGuiMultiSelectFlags_None", 0LL },
{ "MULTI_SELECT_NONE", 0LL },
{ "ImGuiMultiSelectFlags_SingleSelect", 1LL },
{ "MULTI_SELECT_SINGLE_SELECT", 1LL },
{ "ImGuiMultiSelectFlags_NoSelectAll", 2LL },
{ "MULTI_SELECT_NO_SELECT_ALL", 2LL },
{ "ImGuiMultiSelectFlags_NoRangeSelect", 4LL },
{ "MULTI_SELECT_NO_RANGE_SELECT", 4LL },
{ "ImGuiMultiSelectFlags_NoAutoSelect", 8LL },
{ "MULTI_SELECT_NO_AUTO_SELECT", 8LL },
{ "ImGuiMultiSelectFlags_NoAutoClear", 16LL },
{ "MULTI_SELECT_NO_AUTO_CLEAR", 16LL },
{ "ImGuiMultiSelectFlags_NoAutoClearOnReselect", 32LL },
{ "MULTI_SELECT_NO_AUTO_CLEAR_ON_RESELECT", 32LL },
{ "ImGuiMultiSelectFlags_BoxSelect1d", 64LL },
{ "MULTI_SELECT_BOX_SELECT1D", 64LL },
{ "ImGuiMultiSelectFlags_BoxSelect2d", 128LL },
{ "MULTI_SELECT_BOX_SELECT2D", 128LL },
{ "ImGuiMultiSelectFlags_BoxSelectNoScroll", 256LL },
{ "MULTI_SELECT_BOX_SELECT_NO_SCROLL", 256LL },
{ "ImGuiMultiSelectFlags_ClearOnEscape", 512LL },
{ "MULTI_SELECT_CLEAR_ON_ESCAPE", 512LL },
{ "ImGuiMultiSelectFlags_ClearOnClickVoid", 1024LL },
{ "MULTI_SELECT_CLEAR_ON_CLICK_VOID", 1024LL },
{ "ImGuiMultiSelectFlags_ScopeWindow", 2048LL },
{ "MULTI_SELECT_SCOPE_WINDOW", 2048LL },
{ "ImGuiMultiSelectFlags_ScopeRect", 4096LL },
{ "MULTI_SELECT_SCOPE_RECT", 4096LL },
{ "ImGuiMultiSelectFlags_SelectOnAuto", 8192LL },
{ "MULTI_SELECT_SELECT_ON_AUTO", 8192LL },
{ "ImGuiMultiSelectFlags_SelectOnClickAlways", 16384LL },
{ "MULTI_SELECT_SELECT_ON_CLICK_ALWAYS", 16384LL },
{ "ImGuiMultiSelectFlags_SelectOnClickRelease", 32768LL },
{ "MULTI_SELECT_SELECT_ON_CLICK_RELEASE", 32768LL },
{ "ImGuiMultiSelectFlags_NavWrapX", 65536LL },
{ "MULTI_SELECT_NAV_WRAP_X", 65536LL },
{ "ImGuiMultiSelectFlags_NoSelectOnRightClick", 131072LL },
{ "MULTI_SELECT_NO_SELECT_ON_RIGHT_CLICK", 131072LL },
{ "ImGuiMultiSelectFlags_SelectOnMask_", 57344LL },
{ "MULTI_SELECT_SELECT_ON_MASK_", 57344LL },
{ "ImGuiMultiSelectFlags_CheckboxMode_", 1048576LL },
{ "MULTI_SELECT_CHECKBOX_MODE_", 1048576LL },
{ "ImGuiSelectionRequestType_None", 0LL },
{ "SELECTION_REQUEST_TYPE_NONE", 0LL },
{ "ImGuiSelectionRequestType_SetAll", 1LL },
{ "SELECTION_REQUEST_TYPE_SET_ALL", 1LL },
{ "ImGuiSelectionRequestType_SetRange", 2LL },
{ "SELECTION_REQUEST_TYPE_SET_RANGE", 2LL },
{ "ImDrawFlags_None", 0LL },
{ "DRAW_NONE", 0LL },
{ "ImDrawFlags_RoundTopLeft", 16LL },
{ "DRAW_ROUND_TOP_LEFT", 16LL },
{ "ImDrawFlags_RoundTopRight", 32LL },
{ "DRAW_ROUND_TOP_RIGHT", 32LL },
{ "ImDrawFlags_RoundBottomLeft", 64LL },
{ "DRAW_ROUND_BOTTOM_LEFT", 64LL },
{ "ImDrawFlags_RoundBottomRight", 128LL },
{ "DRAW_ROUND_BOTTOM_RIGHT", 128LL },
{ "ImDrawFlags_RoundNone", 256LL },
{ "DRAW_ROUND_NONE", 256LL },
{ "ImDrawFlags_RoundAll", 240LL },
{ "DRAW_ROUND_ALL", 240LL },
{ "ImDrawFlags_RoundTop", 48LL },
{ "DRAW_ROUND_TOP", 48LL },
{ "ImDrawFlags_RoundBottom", 192LL },
{ "DRAW_ROUND_BOTTOM", 192LL },
{ "ImDrawFlags_RoundLeft", 80LL },
{ "DRAW_ROUND_LEFT", 80LL },
{ "ImDrawFlags_RoundRight", 160LL },
{ "DRAW_ROUND_RIGHT", 160LL },
{ "ImDrawFlags_Closed", 512LL },
{ "DRAW_CLOSED", 512LL },
{ "ImDrawFlags_JoinMiter", 1024LL },
{ "DRAW_JOIN_MITER", 1024LL },
{ "ImDrawFlags_CapSquare", 2048LL },
{ "DRAW_CAP_SQUARE", 2048LL },
{ "ImDrawFlags_AAFill", 4096LL },
{ "DRAW_AA_FILL", 4096LL },
{ "ImDrawFlags_AALines", 8192LL },
{ "DRAW_AA_LINES", 8192LL },
{ "ImDrawFlags_AALineEnds", 16384LL },
{ "DRAW_AA_LINE_ENDS", 16384LL },
{ "ImDrawFlags_StrokeInside", 131072LL },
{ "DRAW_STROKE_INSIDE", 131072LL },
{ "ImDrawFlags_StrokeCenter", 262144LL },
{ "DRAW_STROKE_CENTER", 262144LL },
{ "ImDrawFlags_StrokeCenterBiased", 393216LL },
{ "DRAW_STROKE_CENTER_BIASED", 393216LL },
{ "ImDrawFlags_StrokeOutside", 524288LL },
{ "DRAW_STROKE_OUTSIDE", 524288LL },
{ "ImDrawFlags_StrokeLegacy", 917504LL },
{ "DRAW_STROKE_LEGACY", 917504LL },
{ "ImDrawFlags_TextNoPixelSnap", 1048576LL },
{ "DRAW_TEXT_NO_PIXEL_SNAP", 1048576LL },
{ "ImDrawFlags_UseTexForRoundCorners", 2097152LL },
{ "DRAW_USE_TEX_FOR_ROUND_CORNERS", 2097152LL },
{ "ImDrawFlags_UseVtxOffset", 4194304LL },
{ "DRAW_USE_VTX_OFFSET", 4194304LL },
{ "ImDrawFlags_AllowTexForRoundCorners_", 8388608LL },
{ "DRAW_ALLOW_TEX_FOR_ROUND_CORNERS_", 8388608LL },
{ "ImDrawFlags_RoundMask_", 496LL },
{ "DRAW_ROUND_MASK_", 496LL },
{ "ImDrawFlags_AllowInPushScope_", 8286704LL },
{ "DRAW_ALLOW_IN_PUSH_SCOPE_", 8286704LL },
{ "ImDrawFlags_AllowInFrameScope_", 16675312LL },
{ "DRAW_ALLOW_IN_FRAME_SCOPE_", 16675312LL },
{ "ImDrawFlags_StrokeMask_", 917504LL },
{ "DRAW_STROKE_MASK_", 917504LL },
{ "ImDrawFlags_InvalidMask_", -2147483633LL },
{ "DRAW_INVALID_MASK_", -2147483633LL },
{ "ImTextureFormat_RGBA32", 0LL },
{ "TEXTURE_FORMAT_RGBA32", 0LL },
{ "ImTextureFormat_Alpha8", 1LL },
{ "TEXTURE_FORMAT_ALPHA8", 1LL },
{ "ImTextureStatus_OK", 0LL },
{ "TEXTURE_STATUS_OK", 0LL },
{ "ImTextureStatus_Destroyed", 1LL },
{ "TEXTURE_STATUS_DESTROYED", 1LL },
{ "ImTextureStatus_WantCreate", 2LL },
{ "TEXTURE_STATUS_WANT_CREATE", 2LL },
{ "ImTextureStatus_WantUpdates", 3LL },
{ "TEXTURE_STATUS_WANT_UPDATES", 3LL },
{ "ImTextureStatus_WantDestroy", 4LL },
{ "TEXTURE_STATUS_WANT_DESTROY", 4LL },
{ "ImFontAtlasFlags_None", 0LL },
{ "FONT_ATLAS_NONE", 0LL },
{ "ImFontAtlasFlags_NoPowerOfTwoHeight", 1LL },
{ "FONT_ATLAS_NO_POWER_OF_TWO_HEIGHT", 1LL },
{ "ImFontAtlasFlags_NoMouseCursors", 2LL },
{ "FONT_ATLAS_NO_MOUSE_CURSORS", 2LL },
{ "ImFontAtlasFlags_NoBakedLines", 4LL },
{ "FONT_ATLAS_NO_BAKED_LINES", 4LL },
{ "ImFontAtlasFlags_NoBakedRoundCorners", 8LL },
{ "FONT_ATLAS_NO_BAKED_ROUND_CORNERS", 8LL },
{ "ImFontFlags_None", 0LL },
{ "FONT_NONE", 0LL },
{ "ImFontFlags_NoLoadError", 2LL },
{ "FONT_NO_LOAD_ERROR", 2LL },
{ "ImFontFlags_NoLoadGlyphs", 4LL },
{ "FONT_NO_LOAD_GLYPHS", 4LL },
{ "ImFontFlags_LockBakedSizes", 8LL },
{ "FONT_LOCK_BAKED_SIZES", 8LL },
{ "ImFontFlags_ImplicitRefSize", 16LL },
{ "FONT_IMPLICIT_REF_SIZE", 16LL },
{ "ImGuiViewportFlags_None", 0LL },
{ "VIEWPORT_NONE", 0LL },
{ "ImGuiViewportFlags_IsPlatformWindow", 1LL },
{ "VIEWPORT_IS_PLATFORM_WINDOW", 1LL },
{ "ImGuiViewportFlags_IsPlatformMonitor", 2LL },
{ "VIEWPORT_IS_PLATFORM_MONITOR", 2LL },
{ "ImGuiViewportFlags_OwnedByApp", 4LL },
{ "VIEWPORT_OWNED_BY_APP", 4LL },
{ "IMGUI_VERSION_NUM", 19302LL },
{ "IM_UNICODE_CODEPOINT_INVALID", 0xFFFDLL },
{ "IM_UNICODE_CODEPOINT_MAX", 0xFFFFLL },
{ "IM_COL32_R_SHIFT", 0LL },
{ "IM_COL32_G_SHIFT", 8LL },
{ "IM_COL32_B_SHIFT", 16LL },
{ "IM_COL32_A_SHIFT", 24LL },
{ "IM_COL32_A_MASK", 0xFF000000LL },
{ nullptr, 0 },
};
static const char* const bi_str_consts[][2] = {
{ "IMGUI_VERSION", "1.93.1 WIP" },
{ "IMGUI_PAYLOAD_TYPE_COLOR_3F", "_COL3F" },
{ "IMGUI_PAYLOAD_TYPE_COLOR_4F", "_COL4F" },
{ nullptr, nullptr },
};