| 382 | } |
| 383 | |
| 384 | const imgui_function_table_19040 init_imgui_function_table_19040() { return { |
| 385 | []() -> imgui_io_19040 & { |
| 386 | static imgui_io_19040 io = {}; |
| 387 | convert(g_imgui_function_table_19180.GetIO(), io); |
| 388 | return io; |
| 389 | }, |
| 390 | []() -> imgui_style_19040 & { |
| 391 | static imgui_style_19040 style = {}; |
| 392 | convert(g_imgui_function_table_19180.GetStyle(), style); |
| 393 | return style; |
| 394 | }, |
| 395 | g_imgui_function_table_19180.GetVersion, |
| 396 | [](const char *name, bool *p_open, ImGuiWindowFlags flags) -> bool { |
| 397 | return g_imgui_function_table_19180.Begin(name, p_open, convert_window_flags(flags)); |
| 398 | }, |
| 399 | g_imgui_function_table_19180.End, |
| 400 | [](const char *str_id, const ImVec2 &size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) -> bool { |
| 401 | if (window_flags & (1 << 23)) |
| 402 | child_flags |= ImGuiChildFlags_NavFlattened; |
| 403 | return g_imgui_function_table_19180.BeginChild(str_id, size, child_flags, convert_window_flags(window_flags)); |
| 404 | }, |
| 405 | [](ImGuiID id, const ImVec2 &size, ImGuiChildFlags child_flags, ImGuiWindowFlags window_flags) -> bool { |
| 406 | if (window_flags & (1 << 23)) |
| 407 | child_flags |= ImGuiChildFlags_NavFlattened; |
| 408 | return g_imgui_function_table_19180.BeginChild2(id, size, child_flags, convert_window_flags(window_flags)); |
| 409 | }, |
| 410 | g_imgui_function_table_19180.EndChild, |
| 411 | g_imgui_function_table_19180.IsWindowAppearing, |
| 412 | g_imgui_function_table_19180.IsWindowCollapsed, |
| 413 | g_imgui_function_table_19180.IsWindowFocused, |
| 414 | g_imgui_function_table_19180.IsWindowHovered, |
| 415 | []() -> imgui_draw_list_19040 * { return wrap(g_imgui_function_table_19180.GetWindowDrawList()); }, |
| 416 | g_imgui_function_table_19180.GetWindowDpiScale, |
| 417 | g_imgui_function_table_19180.GetWindowPos, |
| 418 | g_imgui_function_table_19180.GetWindowSize, |
| 419 | g_imgui_function_table_19180.GetWindowWidth, |
| 420 | g_imgui_function_table_19180.GetWindowHeight, |
| 421 | g_imgui_function_table_19180.SetNextWindowPos, |
| 422 | g_imgui_function_table_19180.SetNextWindowSize, |
| 423 | g_imgui_function_table_19180.SetNextWindowSizeConstraints, |
| 424 | g_imgui_function_table_19180.SetNextWindowContentSize, |
| 425 | g_imgui_function_table_19180.SetNextWindowCollapsed, |
| 426 | g_imgui_function_table_19180.SetNextWindowFocus, |
| 427 | g_imgui_function_table_19180.SetNextWindowScroll, |
| 428 | g_imgui_function_table_19180.SetNextWindowBgAlpha, |
| 429 | g_imgui_function_table_19180.SetWindowPos, |
| 430 | g_imgui_function_table_19180.SetWindowSize, |
| 431 | g_imgui_function_table_19180.SetWindowCollapsed, |
| 432 | g_imgui_function_table_19180.SetWindowFocus, |
| 433 | g_imgui_function_table_19180.SetWindowFontScale, |
| 434 | g_imgui_function_table_19180.SetWindowPos2, |
| 435 | g_imgui_function_table_19180.SetWindowSize2, |
| 436 | g_imgui_function_table_19180.SetWindowCollapsed2, |
| 437 | g_imgui_function_table_19180.SetWindowFocus2, |
| 438 | g_imgui_function_table_19180.GetContentRegionAvail, |
| 439 | []() -> ImVec2 { return g_imgui_function_table_19180.GetContentRegionAvail() + g_imgui_function_table_19180.GetCursorScreenPos() - g_imgui_function_table_19180.GetWindowPos(); }, |
| 440 | []() -> ImVec2 { return ImVec2(0, 0); }, |
| 441 | []() -> ImVec2 { return g_imgui_function_table_19180.GetContentRegionAvail(); }, |
no test coverage detected