Searched refs:cell_p1 (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp2956 ImVec2 cell_p1(base_pos.x + (n % 16) * (cell_size + cell_spacing), base_pos.y + (n / 16) * (cell_size + cell_spacing)); local in function:ImGui::ShowStyleEditor
2957 ImVec2 cell_p2(cell_p1.x + cell_size, cell_p1.y + cell_size);
2959 draw_list->AddRect(cell_p1, cell_p2, glyph ? IM_COL32(255, 255, 255, 100) : IM_COL32(255, 255, 255, 50));
2961 font->RenderChar(draw_list, cell_size, cell_p1, ImGui::GetColorU32(ImGuiCol_Text), (ImWchar)(base + n)); // We use ImFont::RenderChar as a shortcut because we don't have UTF-8 conversion functions available to generate a string.
2962 if (glyph && ImGui::IsMouseHoveringRect(cell_p1, cell_p2))

Completed in 9 milliseconds