Lines Matching refs:ImGui
132 #define STBTT_malloc(x,u) ((void)(u), ImGui::MemAlloc(x))
133 #define STBTT_free(x,u) ((void)(u), ImGui::MemFree(x))
174 void ImGui::StyleColorsDark(ImGuiStyle* dst)
176 ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
229 void ImGui::StyleColorsClassic(ImGuiStyle* dst)
231 ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
285 void ImGui::StyleColorsLight(ImGuiStyle* dst)
287 ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
479 // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
1192 IM_ASSERT(font->ContainerAtlas->TexID == _TextureIdStack.back()); // Use high-level ImGui::PushFont() or low-level ImDrawList::PushTextureId() to change font.
1261 ImGui::ShadeVertsLinearUV(this, vert_start_idx, vert_end_idx, a, b, uv_a, uv_b, true);
1311 void ImGui::ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, ImVec2 gradient_p0, ImVec2 gradient_p1, ImU32 col0, ImU32 col1)
1329 void ImGui::ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, bool clamp)
1384 // The white texels on the top left are the ones we'll use everywhere in ImGui to render filled shapes.
1461 ImGui::MemFree(ConfigData[i].FontData);
1482 ImGui::MemFree(TexPixelsAlpha8);
1484 ImGui::MemFree(TexPixelsRGBA32);
1530 TexPixelsRGBA32 = (unsigned int*)ImGui::MemAlloc((size_t)TexWidth * (size_t)TexHeight * 4);
1554 IM_ASSERT(!Fonts.empty() && "Cannot use MergeMode for the first font"); // When using MergeMode make sure that a font has already been added before. You can use ImGui::GetIO().Fonts->AddFontDefault() to add the default imgui font.
1562 new_font_cfg.FontData = ImGui::MemAlloc(new_font_cfg.FontDataSize);
1647 unsigned char* buf_decompressed_data = (unsigned char *)ImGui::MemAlloc(buf_decompressed_size);
1659 void* compressed_ttf = ImGui::MemAlloc((size_t)compressed_ttf_size);
1662 ImGui::MemFree(compressed_ttf);
1964 atlas->TexPixelsAlpha8 = (unsigned char*)ImGui::MemAlloc(atlas->TexWidth * atlas->TexHeight);
2752 text_end = text_begin + strlen(text_begin); // ImGui functions generally already provides a valid text_end, so this is merely to handle direct calls.
2940 // (progressively moved from imgui.cpp to here when they are redesigned to stop accessing ImGui global state)
2948 void ImGui::RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor)
2974 void ImGui::RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col)
2995 void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding)
3058 void ImGui::RenderPixelEllipsis(ImDrawList* draw_list, ImVec2 pos, int count, ImU32 col)