262 Commits (6eda9ed3fbeb776f408b074c9719e2392642de67)

Author SHA1 Message Date
omar 6eda9ed3fb Skip missing font glyphs V2 revert changes to stb_truetype.h ( ago%!(EXTRA string=7 years)
omar 28edece04f Comments, minor tweaks ago%!(EXTRA string=7 years)
omar 928a4ad315 Begin: moved tooltip position code in an else block. Misc comments ago%!(EXTRA string=7 years)
omar 6f1f5cbc20 Version 1.61 WIP ago%!(EXTRA string=7 years)
omar 54fca1d1b8 Fixed erroneous call to io.Fonts->ClearInputData() + ClearTexData() that was left in DX10 example but removed in 1.47 (Nov 2015) in every other back-ends. (fixes 6cee2fca94) (#1733, ~#1731) + assert ago%!(EXTRA string=7 years)
omar 3a29ddbcfa Version 1.60 ago%!(EXTRA string=7 years)
omar 82b7a39f31 Fixed a few zealous warnings. ago%!(EXTRA string=7 years)
omar 1e116e6c17 Removed need for -Wnocast-qual on modern Clang/Xcode as a token of good behavior. Unfortunately the old stb_ decompress code is a little const clunky. + warning fix in stb_textedit which is already in master afaik. ago%!(EXTRA string=7 years)
omar 78610a54d2 Fixed Clang zealous cast-call warning (on par with GCC) which decided to warn against explicit C-style casts now. ago%!(EXTRA string=7 years)
omar fe5347ef94 imconfig: Added IMGUI_STB_TRUETYPE_FILENAME, IMGUI_STB_RECT_PACK_FILENAME + documenting IMGUI_DISABLE_STB_XXX flags and hiding IMGUI_STB_NAMESPACE which is misleading. ago%!(EXTRA string=7 years)
omar 1e296453ef ImDrawList: Added Clone() helper function. ago%!(EXTRA string=7 years)
omar 533c86a7a3 Update TODO list, minor fix in Readme, comments, Clang -Weverything warning fix in imgui_draw.cpp under Windows. ago%!(EXTRA string=7 years)
omar e7670c0bcc Style: CloseButton() now display a proper cross. Using Button colors for background. Removed ImGuiCol_CloseButton, ImGuiCol_CloseButtonActive, ImGuiCol_CloseButtonHovered as the closing cross uses regular button colors now. (#707) ago%!(EXTRA string=7 years)
omar 1f6ad7a894 ImFont: Added FindGlyphNoFallback. Fixed MergeMode broken by 1ef1acbd8d ago%!(EXTRA string=7 years)
omar 1ef1acbd8d Font: Fixed MergeMode adding duplicate glyphs data instead of reusing existing (broken by 072d6d8cb5) ago%!(EXTRA string=7 years)
omar 3dfac93ebe Fonts: Fixed debug name not being zero-terminated if longer than storage buffer + made buffer slightly longer as well. ago%!(EXTRA string=7 years)
omar 945f4d1ecd Removed redundant semi colons. (#1653) ago%!(EXTRA string=7 years)
omar 0ec356eb6e Comments, FAQ update. ago%!(EXTRA string=7 years)
omar 69e700f869 Renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT for consistency with other enums. Added ago%!(EXTRA string=7 years)
omar 403b2d7d59 ImDrawList: Better looking non-AA rectangle (lower-right corner and rounding). (#1646) ago%!(EXTRA string=7 years)
omar 79969931e6 ImDrawList: PushTextureID(): Removed unnecessary param by reference. ago%!(EXTRA string=7 years)
omar 7c75835200 Renamed misleading ImGuiMouseCursor_Move to ImGuiMouseCursor_ResizeAll. SDL: Fixed cursor. (#1626) ago%!(EXTRA string=7 years)
omar c433bbcd8e ImFont: stb_truetype now rounding Ascent/Descent the same way as freetype does, they seem to vertically align better this way. ago%!(EXTRA string=7 years)
omar 30c469f7c5 ImFont: DisplayOffset.y defaults to 0 instead of +1. ago%!(EXTRA string=7 years)
omar 024e23c4d7 Comments, moved ImFontAtlas::Flags to "public" area. ago%!(EXTRA string=7 years)
omar fed0a884f7 ImFontAtlas: Added ImFontAtlasFlags_NoPowerOfTwoHeight, ImFontAtlasFlags_NoMouseCursors flags. (#1613) ago%!(EXTRA string=7 years)
omar 6bc3e7b043 ImFontAtlas: if stbtt_PackBegin() because of failing allocation we return a little more nicely. (keeps Coverity static analyzer happy!) ago%!(EXTRA string=7 years)
omar 88dcbeb7ff Styles: Comments and re-ordered. ago%!(EXTRA string=7 years)
omar 7c16d52f72 Updated version to 1.60 WIP to emphasis on the addition of required calls CreateContext/DestroyContext + merged the massive Navigation branch (#1565, #787) ago%!(EXTRA string=7 years)
omar cd3dd886de Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ (#1569) ago%!(EXTRA string=7 years)
omar ed088b00be Nav: Style: Improved display of windowing highlight (for focus selection via PadMenu or Ctrl+TAB). (#787, #707) ago%!(EXTRA string=7 years)
omar 5eb293c879 ImFontAtlas: Added TexUvScale (= 1.0f / (float)TexWidth, 1.0f / (float)TexHeight) ago%!(EXTRA string=7 years)
omar cd1409f4bf ImFontAtlas: Moved mouse cursor data out of ImGuiContext, fix drawing them with multiple context. Also remove the last remaining undesirable dependency on GImGui in imgui_draw.cpp, finishing the work recently done with ImDrawListSharedData. Hurra! (#939) ago%!(EXTRA string=7 years)
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)