371 Commits (2da1c66d151aec08aee06be4c5948b3cd256a617)

Author SHA1 Message Date
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)
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)