262 Commits (6eda9ed3fbeb776f408b074c9719e2392642de67)

Author SHA1 Message Date
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)
omar b84eac53d8 ImFont: Reorder field initialization to match declaration order ago%!(EXTRA string=8 years)
omar b8043d3ee5 Internal: Renamed ImLoadFileToMemory to ImFileLoadToMemory to be consistent with ImFileOpen + fix mismatching .h name (#917) ago%!(EXTRA string=8 years)
ocornut 68df09cf47 Fixed word-wrapping which would never wrap after a 1 character word. (thanks @sronsse) ago%!(EXTRA string=8 years)
Geoffrey Tucker 66c4281290 Began improvements to columns API by splitting the Columns() function into BeginColumns() and EndColumns() and adding additional flags. The columns data still needs to be placed into a stack. ago%!(EXTRA string=9 years)
ocornut 8553bab241 Ignoring overzealous GCC warnings (#883) ago%!(EXTRA string=9 years)
ocornut 620497e466 Font: Font name include size ago%!(EXTRA string=9 years)
ocornut b2f0ea6c0d Font: Default font given explicit name "ProggyClean.ttf" ago%!(EXTRA string=9 years)
ocornut 907dd2ed20 Comments (#896) ago%!(EXTRA string=9 years)
ocornut d567595dde ImDrawList: AddRect(), PathRect() default rounded_corner 0x0F->~0/-1 so it appears less obscure in IDE completions ago%!(EXTRA string=9 years)
ocornut e07d45709f ImDrawList: Uses IM_COL32_A_MASK macro instead of hardcoded zero alpha testing (#844) ago%!(EXTRA string=9 years)
Jeongseok Lee 1d7e05327b Fix clang warning: unknown warning group '-Wreserved-id-macro' ago%!(EXTRA string=9 years)
ocornut 68c81739bf Minor tidying up following merge BGRA color PR (#844) ago%!(EXTRA string=9 years)
Michał Cichoń 1999c01db8 Apply Omar feedback and convert remaining 0xAABBGGRR's into IM_COL32(RR,GG,BB,AA) format. ago%!(EXTRA string=9 years)
ocornut 35c6fd682f Inhibiting a ??e sequence in the embedded font. Shouldn't be treated as a trigraph but consistent with encoder (#839) ago%!(EXTRA string=9 years)
ocornut 87d99fce6b ImFont: CalcWordWrapPositionA() fixed font scaling with fallback character. (followup to 86666489df) ago%!(EXTRA string=9 years)
Brian Swetland 5a47346f5a ImFont: add RenderGlyph() to allow rendering of individual glyphs ago%!(EXTRA string=9 years)
ocornut 8efd05a148 Tab->Spaces, missing spaces, typos ago%!(EXTRA string=9 years)
Adisorn Aeksatean 4141144b21 Added GetGlyphRangesThai() ago%!(EXTRA string=9 years)
ocornut 4961b2ea18 Speculative build fix for FreeBSD+GLIBC configuration ago%!(EXTRA string=9 years)
ocornut d79186931e ImDrawList: Fixed a (rarely occuring) bug with merging with previous command + unnecessary OverlayDrawList command ago%!(EXTRA string=9 years)