| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui.h | 23 // Font API (ImFontConfig, ImFontGlyph, ImFontGlyphRangesBuilder, ImFontAtlasFlags, ImFontAtlas, ImFont) 99 struct ImFont; // Runtime data for a single font within a parent ImFontAtlas 299 IMGUI_API void PushFont(ImFont* font); // use NULL as a shortcut to push default font 308 IMGUI_API ImFont* GetFont(); // get current font 1304 ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. 1841 IMGUI_API void AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const ImVec4* cpu_fine_clip_rect = NULL); 1909 // Font API (ImFontConfig, ImFontGlyph, ImFontAtlasFlags, ImFontAtlas, ImFontGlyphRangesBuilder, ImFont) 1927 bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. 1933 ImFont* DstFon 2082 struct ImFont struct [all...] |
| H A D | imgui_draw.cpp | 17 // [SECTION] ImFont 1176 void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect) 1544 ImFont* ImFontAtlas::AddFont(const ImFontConfig* font_cfg) 1552 Fonts.push_back(IM_NEW(ImFont)); 1589 ImFont* ImFontAtlas::AddFontDefault(const ImFontConfig* font_cfg_template) 1604 ImFont* font = AddFontFromMemoryCompressedBase85TTF(ttf_compressed_base85, font_cfg.SizePixels, &font_cfg, glyph_ranges); 1609 ImFont* ImFontAtlas::AddFontFromFileTTF(const char* filename, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) 1631 ImFont* ImFontAtlas::AddFontFromMemoryTTF(void* ttf_data, int ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) 1644 ImFont* ImFontAtlas::AddFontFromMemoryCompressedTTF(const void* compressed_ttf_data, int compressed_ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) 1656 ImFont* ImFontAtla 2393 ImFont::ImFont() function in class:ImFont [all...] |
| H A D | imgui_internal.h | 670 ImFont* Font; // Current/default font (optional, for simplified AddText overload) 767 ImFont* Font; // (Shortcut) == FontStack.empty() ? IO.Font : FontStack.back() 812 ImVector<ImFont*> FontStack; // Stack for PushFont()/PopFont() 891 ImFont InputTextPasswordFont; 1340 IMGUI_API void SetCurrentFont(ImFont* font); 1341 inline ImFont* GetDefaultFont() { ImGuiContext& g = *GImGui; return g.IO.FontDefault ? g.IO.FontDefault : g.IO.Fonts->Fonts[0]; } 1508 IMGUI_API void ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent);
|
| H A D | imgui_demo.cpp | 2758 ImFont* font_current = ImGui::GetFont(); 2763 ImFont* font = io.Fonts->Fonts[n]; 2921 ImFont* font = atlas->Fonts[i]; 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.
|
| H A D | imgui.cpp | 402 - 2018/03/08 (1.60) - changed ImFont::DisplayOffset.y to default to 0 instead of +1. Fixed rounding of Ascent/Descent to match TrueType renderer. If you were adding or subtracting to ImFont::DisplayOffset check if your fonts are correctly aligned vertically. 439 - 2017/09/26 (1.52) - renamed ImFont::Glyph to ImFontGlyph. Keep redirection typedef (will obsolete). 800 ImFont* font0 = io.Fonts->AddFontDefault(); 801 ImFont* font1 = io.Fonts->AddFontFromFileTTF("myfontfile.ttf", size_in_pixels); 802 ImFont* font2 = io.Fonts->AddFontFromFileTTF("myfontfile2.ttf", size_in_pixels); 3908 ImFont* font = g.Font; 5670 void ImGui::SetCurrentFont(ImFont* font) 5685 void ImGui::PushFont(ImFont* font) 6302 ImFont* ImGu [all...] |
| H A D | imgui_widgets.cpp | 2855 ImFont* font = g.Font; 3191 ImFont* password_font = &g.InputTextPasswordFont; 3611 // without any carriage return, which would makes ImFont::RenderText() reserve too many vertices and probably crash. Avoid it altogether.
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui.h | 23 // Font API (ImFontConfig, ImFontGlyph, ImFontGlyphRangesBuilder, ImFontAtlasFlags, ImFontAtlas, ImFont) 99 struct ImFont; // Runtime data for a single font within a parent ImFontAtlas 299 IMGUI_API void PushFont(ImFont* font); // use NULL as a shortcut to push default font 308 IMGUI_API ImFont* GetFont(); // get current font 1304 ImFont* FontDefault; // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0]. 1841 IMGUI_API void AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wrap_width = 0.0f, const ImVec4* cpu_fine_clip_rect = NULL); 1909 // Font API (ImFontConfig, ImFontGlyph, ImFontAtlasFlags, ImFontAtlas, ImFontGlyphRangesBuilder, ImFont) 1927 bool MergeMode; // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights. 1933 ImFont* DstFon 2082 struct ImFont struct [all...] |
| H A D | imgui_draw.cpp | 17 // [SECTION] ImFont 1176 void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect) 1544 ImFont* ImFontAtlas::AddFont(const ImFontConfig* font_cfg) 1552 Fonts.push_back(IM_NEW(ImFont)); 1589 ImFont* ImFontAtlas::AddFontDefault(const ImFontConfig* font_cfg_template) 1604 ImFont* font = AddFontFromMemoryCompressedBase85TTF(ttf_compressed_base85, font_cfg.SizePixels, &font_cfg, glyph_ranges); 1609 ImFont* ImFontAtlas::AddFontFromFileTTF(const char* filename, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) 1631 ImFont* ImFontAtlas::AddFontFromMemoryTTF(void* ttf_data, int ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) 1644 ImFont* ImFontAtlas::AddFontFromMemoryCompressedTTF(const void* compressed_ttf_data, int compressed_ttf_size, float size_pixels, const ImFontConfig* font_cfg_template, const ImWchar* glyph_ranges) 1656 ImFont* ImFontAtla 2393 ImFont::ImFont() function in class:ImFont [all...] |
| H A D | imgui_internal.h | 670 ImFont* Font; // Current/default font (optional, for simplified AddText overload) 767 ImFont* Font; // (Shortcut) == FontStack.empty() ? IO.Font : FontStack.back() 812 ImVector<ImFont*> FontStack; // Stack for PushFont()/PopFont() 891 ImFont InputTextPasswordFont; 1340 IMGUI_API void SetCurrentFont(ImFont* font); 1341 inline ImFont* GetDefaultFont() { ImGuiContext& g = *GImGui; return g.IO.FontDefault ? g.IO.FontDefault : g.IO.Fonts->Fonts[0]; } 1508 IMGUI_API void ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent);
|
| H A D | imgui.cpp | 402 - 2018/03/08 (1.60) - changed ImFont::DisplayOffset.y to default to 0 instead of +1. Fixed rounding of Ascent/Descent to match TrueType renderer. If you were adding or subtracting to ImFont::DisplayOffset check if your fonts are correctly aligned vertically. 439 - 2017/09/26 (1.52) - renamed ImFont::Glyph to ImFontGlyph. Keep redirection typedef (will obsolete). 800 ImFont* font0 = io.Fonts->AddFontDefault(); 801 ImFont* font1 = io.Fonts->AddFontFromFileTTF("myfontfile.ttf", size_in_pixels); 802 ImFont* font2 = io.Fonts->AddFontFromFileTTF("myfontfile2.ttf", size_in_pixels); 3908 ImFont* font = g.Font; 5670 void ImGui::SetCurrentFont(ImFont* font) 5685 void ImGui::PushFont(ImFont* font) 6302 ImFont* ImGu [all...] |
| H A D | imgui_widgets.cpp | 2855 ImFont* font = g.Font; 3191 ImFont* password_font = &g.InputTextPasswordFont; 3611 // without any carriage return, which would makes ImFont::RenderText() reserve too many vertices and probably crash. Avoid it altogether.
|