205 Commits (daa38f2ad0c8cbb7582a833051ab60055a54d0c6)

Author SHA1 Message Date
omar ecbfdd3143 Added extraneous initialization to NULL. (#1527). ago%!(EXTRA string=7 years)
Branimir Karadžić 856ee17ed8 Fixed Android clang warning. ago%!(EXTRA string=7 years)
omar 4af84ac781 ImFontAtlas: Handle stb_truetype failure more gracefully, GetTexDataAsRGBA32() won't crash during conversion. (#1527) ago%!(EXTRA string=7 years)
omar 49eed6e2d1 Version 1.54 WIP ago%!(EXTRA string=7 years)
omar e916310b2e Version 1.53 ago%!(EXTRA string=7 years)
omar cead207535 Comments ago%!(EXTRA string=7 years)
omar d976e4ea23 Internals: Missing IM_DELETE usage (#1517) ago%!(EXTRA string=7 years)
omar 9cda86d55a Internals: Added IM_NEW, IM_DELETE helper macros (#1517, #484, #504) ago%!(EXTRA string=7 years)
omar 983d8f5f8e Various zealous warning fixes (Clang). ago%!(EXTRA string=7 years)
omar 1f26652944 Various zealous warning fixes (thanks Clang). ago%!(EXTRA string=7 years)
omar 996dfb21cf ImDrawList: Added ImDrawListFlags for AA settings. ImDrawList doesn't directly depends on GImGui anymore. ago%!(EXTRA string=7 years)
omar 14cb8177d0 ImDrawList: Removed 'bool anti_aliased = true' final parameter of ImDrawList::AddPolyline() and ImDrawList::AddConvexPolyFilled(). Anti-aliasing is controlled via the regular style.AntiAliased flags. ago%!(EXTRA string=7 years)
omar 531c11d5c7 ImDrawList: Small refactor toward removing dependency on GImGui + PushClipRectFullscreen now correctly uses data provided by imgui which can takes account of DisplaySize + Removed static variable in PathArcToFast() which caused linking issues to some. ago%!(EXTRA string=7 years)
omar e98df91dc4 Drag and Drop: Added ImGuiCol_DragDropTarget (#143, #707) ago%!(EXTRA string=7 years)
omar 6d93011fdf alloca fix to allow Clang with Microsoft CodeGen path ago%!(EXTRA string=7 years)
omar aea3fe41b9 Style: Tweaks Dark and Light styles. (#707) ago%!(EXTRA string=8 years)
Giuseppe Barbieri 1b2ec35b8d
Update imgui_draw.cpp ago%!(EXTRA string=8 years)
omar 3f5b2a3fe3 Exposed ImDrawCornerFlags, replaced occurences of ~0 with an explicit ImDrawCornerFlags_All. Inversed BotLeft (prev 1<<3, now 1<<2) and BotRight (prev 1<<2, now 1<<3). ago%!(EXTRA string=8 years)
omar 31683cfe34 ImDrawList::AddImageRounded: removed PrimDistributeUV declaration, fixed coding style, restored argument order from original PR. (#845) ago%!(EXTRA string=8 years)
thedmd 79f07f6ff0 Add AddImageRounded() to ImDrawList ago%!(EXTRA string=8 years)
thedmd 8b2d449b16 Add ShadeVertsLinearUV() ago%!(EXTRA string=8 years)
omar f7fe824805 Style: Tweaked border settings to homogenize a little how they look over different backgrounds. (#707) ago%!(EXTRA string=8 years)
omar 39137ccc3e Style: renamed ImGuiCol_ChildWindowBg to ImGuiCol_ChildBg. (#707) ago%!(EXTRA string=8 years)
Jason Wilkins 022f8c2342 fixed incomplete replacement of unsigned short with ImWchar in interface of ImFont::FindGlyph ago%!(EXTRA string=8 years)
omar 0e4f1df1a4 Style: Made changes to Classic style (!!!). Tweaked Dark style. (#707) ago%!(EXTRA string=8 years)
omar 0a61b7195c Style: Added a default StyleColorsLight(). (#707) ago%!(EXTRA string=8 years)
omar 58345b11e1 Style: Removed ImGuiCol_ComboBg in favor of combo boxes using ImGuiCol_PopupBg for consistency. (#707) ago%!(EXTRA string=8 years)
omar 331eac511e Style: Dark: Tweaks + setting BorderShadow correctly. ago%!(EXTRA string=8 years)
Francisco Demartino f5871c0b92 fix uninitialized atlas packing context ago%!(EXTRA string=8 years)
omar f5bdf443c9 Minor comments, tweaks ago%!(EXTRA string=8 years)
omar 2a3a25e792 Reordered fields in other Style functions (#1409) ago%!(EXTRA string=8 years)
Giuseppe Barbieri db190c16f6
Update imgui_draw.cpp ago%!(EXTRA string=8 years)
omar 53f9e28c77 GetGlyphRangesThai(): removed extraneous codepoints (#1396) ago%!(EXTRA string=8 years)
Adisorn Aeksatean 3185a3a697
Add missing thai punctuations ago%!(EXTRA string=8 years)
omar c503a50cff Styles: Moved Classic colors code to imgui_draw.cpp. Sneakily added a StyleColorsDark() function. ago%!(EXTRA string=8 years)
omar 77df1ba9e0 Version 1.53 WIP ago%!(EXTRA string=8 years)
omar 9f200d10d5 Version 1.52 ago%!(EXTRA string=8 years)
omar bc447bc0a4 ImFontAtlas: Fixed memory leak if stbtt_InitFont() returned false. (#1391) ago%!(EXTRA string=8 years)
omar 7f880674e5 Font: Renamed ImFont::Clear() to ImFont::ClearOutputData() for consistency with what ImFontAtlas does. DisplayOffset is set by constructor but not reset by ClearOutputData. (#1349) ago%!(EXTRA string=8 years)
omar 5b699517d4 Internals: PaintVerts** renamed to ShadeVerts**, moved to imgui_draw.cpp and exposed in imgui_internal.h (+1 squashed commits) ago%!(EXTRA string=8 years)
omar e32569dd5a ImDrawList: Fixed a bug in ChannelsMerge() leading to an extraneous draw call being created, which unexpectly led to more dramatic condition but to faulty draw command merging code. (#1172, #1368) ago%!(EXTRA string=8 years)
Dominik Tugend 7a8eb5bdc9 Rendering issue fix ago%!(EXTRA string=8 years)
Anthony Pesch c38526d14b Completely clear font when rebuilding atlas. ago%!(EXTRA string=8 years)
omar 09f6f564d9 ImFontAtlas: Fixed calling Clear() and rebuilding (broken in 3fe2ecfd4c) thanks @pdoane @mikesart ago%!(EXTRA string=8 years)
omar 3fe2ecfd4c ImFontAtlas: Added support for CustomRect API to submit custom rectangles to be packed into the atlas / and map them as font glyphs ago%!(EXTRA string=8 years)
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)