333 Commits (c3c2cd1e82cca5da0d4e4fd5824f735a5ba8514c)

Author SHA1 Message Date
omar 9e1ad7295f ImFont: Renamed (supposedly internal) fields (e.g. XAdvance to AdvanceX). Custom text renderers might be affected if they didn't use the GetCharAdvance() helper function. ago%!(EXTRA string=8 years)
omar 10bb9524eb ImFont: Renamed ImFont::Glyph to ImFontGlyph (for consistency and so ImFontAtlas types can use it without ordering half of the file). Left a redirection type. ago%!(EXTRA string=8 years)
omar 072d6d8cb5 ImFontAtlas: Refactored internals API to 1) avoid building lookup table multiple times for merged fonts + 2) allow the mapping of custom icons inside fonts (wip, uncommited) ago%!(EXTRA string=8 years)
omar 2170b0b278 ImFontAtlas: Comments and minor reorganization of declaration in header file. ago%!(EXTRA string=8 years)
omar 529ca279a4 ImFont: Split some building code into a AddGlyph() helper (that custom rect code and imgui_freetype can use) ago%!(EXTRA string=8 years)
omar 564c97b87e Comments ago%!(EXTRA string=8 years)
omar f0f86213db ImVector: added resize() variant with initialization value ago%!(EXTRA string=8 years)
Bruce Mitchener 4c794be41d Improve warning configuration for clang. ago%!(EXTRA string=8 years)
omar 65632d2682 Fixed alloca include for SunOS (#1319) ago%!(EXTRA string=8 years)
Daniel Loffgren cf6ba9dd2d Don't do a bunch of OS gymnastics. alloca.h is only for glibc, everyone else uses stdlib.h ago%!(EXTRA string=8 years)
omar 0ba3cadb88 RenderRectFilledRangeH() can't use cheap acosf() approximation for now. (#1296) ago%!(EXTRA string=8 years)
omar 01d4bf299a Added overcomplicated RenderRectFilledRangeH() to fix rounded progress bar, which will also help for range widgets and perhaps sliders grabs over rounded areas. (#1296, #76) ago%!(EXTRA string=8 years)
omar f0fa17b5e0 ImDrawList: Minor renaming ago%!(EXTRA string=8 years)
omar 808d631e35 imDrawList: PathArcTo() returns when passed zero radius. ago%!(EXTRA string=8 years)
omar e1d81f4dc5 ImDrawList: Minor tidying up. ago%!(EXTRA string=8 years)
omar 1f51e8f39d Internals: Renamed some ImGuiCorner enums. ago%!(EXTRA string=8 years)
omar f72ca6d22c ImFontConfig: Added RasterizerMultiply option to alter the brightness of individual fonts at rasterization time, which may help increasing readability for some. Added RasterizerFlags for custom rasterizer flags (aka imgui_freetype) ago%!(EXTRA string=8 years)
omar 304de0ee1b ImFontConfig: Comments, const. ago%!(EXTRA string=8 years)
omar 40f608ce9b Version 1.52 WIP ago%!(EXTRA string=8 years)
omar 55a6209931 Version 1.51 ago%!(EXTRA string=8 years)
omar 1065a7b95b ImFontAtlas::AddFontDefault: Made it possible to override size (even if it isn't really recommended) ago%!(EXTRA string=8 years)
omar 8be7a60f20 ImFontAtlas: Re-arranging code to simplify implementation of imgui_freetype. (#618) ago%!(EXTRA string=8 years)
omar 1086c87767 ImFontAtlas: Re-arranging code to simplify implementation of imgui_freetype. (#618) ago%!(EXTRA string=8 years)
omar 4075cc58e9 ImFontAtlas; Re-arranging code to simplify implementation of imgui_freetype (#618) ago%!(EXTRA string=8 years)
omar d970957e2d ImFontAtlas: Draft of an api to submit custom rectangle (not exposed). Atlas default texture chunk using it. (WIP: we are still storing mouse UV outside in GImGui) ago%!(EXTRA string=8 years)
omar 4a7e1ff4d4 ImFontAtlas: Some shallow renaming + added an assert for clarification ago%!(EXTRA string=8 years)
omar 0be4f66d89 ImFontAtlas: Shuffling some code inside Build() to make upcoming diffs less confusing (nb: we might break compat with forks of Build() like #618) ago%!(EXTRA string=8 years)
James Wallis 9239e91dc9 Whitespace fix to previous ago%!(EXTRA string=8 years)
James Wallis 718f00d651 Make font atlas packing padding configurable ago%!(EXTRA string=8 years)
omar 18b50f8eba Comments ago%!(EXTRA string=8 years)
omar f8f382221c ImVector: added resize() variant with initialization value ago%!(EXTRA string=8 years)
omar 7b7845d764 ImFont::CalcWordWrapPositionA: minor optimization ago%!(EXTRA string=8 years)
omar d258287c92 Revert d2c219d #826 + tidying up ImFont::RenderChar() ago%!(EXTRA string=8 years)
omar 6a4064e5f2 PathArcToFast: Minor renaming for clarification. Comments. ago%!(EXTRA string=8 years)
omar 4fd148f4f9 Added ImFontAtlas::GlyphRangesBuilder helper + doc ago%!(EXTRA string=8 years)
omar e63ebd997f Use ~IM_COL32_A_MASK instead of IM_COL32(255,255,255,0) ago%!(EXTRA string=8 years)
omar df56879883 imDrawList::PathRect() uses ImGuiCorner_ enums. Should fully promote this to imgui.h at some point. ago%!(EXTRA string=8 years)
omar 1987e23ce5 ImDrawList::PrimReserve() minor renaming of locals to make things clearer ago%!(EXTRA string=8 years)
omar afae9398cb Comments. Removed sort-of duplicate access to GImGui->Font in ImDrawList::AddText() so it's only in one place. ago%!(EXTRA string=8 years)
omar 12d265fa31 Version 1.51 WIP tag ago%!(EXTRA string=8 years)
omar a2f7c40e30 Fixed comment (#1178) ago%!(EXTRA string=8 years)
omar 5e1caaaef3 Version 1.50 ago%!(EXTRA string=8 years)
omar 9da53bcecd ImFontConfig: Removed MergeGlyphCenterV in favor of a more multipurpose ImFontConfig::GlyphOffset. (Breaking change) ago%!(EXTRA string=8 years)
omar c5c77a3476 ImFontConfig: Added GlyphOffset to explicitely offset glyphs at font build time, useful for merged fonts. May remove MergeGlyphCenterV soon. ago%!(EXTRA string=8 years)
omar 0828a1fd6c Fixed computation of ImFont::MetricsTotalSurface not taking oversampling into account ago%!(EXTRA string=8 years)
omar a0a6c8a2ef Renamed ImDrawList::PathFill() to ImDrawList::PathFillConvex() for clarity. (breaking API) ago%!(EXTRA string=8 years)
omar 6517d68cdf ImDrawList::AddImage* renamed uv_ parameters to be more consistent. Fix AddImageQuad to use IM_COL32_A_MASK (#1009) ago%!(EXTRA string=8 years)
Peter 659b3fd259 Add ImDrawList::AddImageQuad ago%!(EXTRA string=8 years)
omar 670775ac22 Added assert/comment about using MergeMode (#1100) ago%!(EXTRA string=8 years)
omar e10ceebd36 ImFont: Store the texture surface used to get an idea of how costly each font is. ago%!(EXTRA string=8 years)