91 Commits (75c5f534e8b8533cfda4b39e708096d7ede61df8)

Author SHA1 Message Date
omar 54ba8a643e Removed trailing spaces from text files. (#2038, #2299) 6 years ago
omar 2c38b32db1 Removed trailing spaces (#2038, #2299) 6 years ago
omar 09f1cb642b FreeType: Minor tweaks previous commit (#2285) 6 years ago
alexey_skryabin daac9c7559 By default ImGuiFreeType will use ImGui::MemAlloc()/MemFree().
ImGuiFreeType::SetAllocatorFunctions() can be used to specify custom allocator.
6 years ago
omar 8df8482ef4 imgui_freetype: Fixed redundant FT_Load_Glyph() calls, unused parameters, and compilation warning/error. (#2270) 6 years ago
omar 651130002f ImFontAtlas: Fixed allocating for last bit (would only affect is that last codepoint is a multiple of 32). (#2270) 6 years ago
omar 21828b08a0 ImFontAtlas: Rewrote FreeType based builder.
- Fixed abnormally high atlas height. (#618)
- Fixed support for any values of TexGlyphPadding (not just only 1). (#618)
- Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth). (#618)
- Fixed atlas builder so missing glyphs won't influence the atlas texture width. (#2233, #618)
- Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas. (#618)
6 years ago
omar 56caf7da29 imgui_freetype: Minor tweaks and comments. 6 years ago
omar 5cb7ce2085 Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete). 6 years ago
omar ca6ac34f9d Natvis: Added Hidden info about ImGuiWindow. 6 years ago
omar a5cf227503 Added link to experimental imgui_scoped.h PR/thread (#2197, #2096) 6 years ago
omar e610afeea3 Font readme: Added OpenFontIcons, tweaks, links, removed spaces (#2141) 6 years ago
Konstantin Podsvirov edb06a6c4d Fixed typo in misc/README.txt (#2131) 6 years ago
omar 0fe48cbb61 Renamed misc/stl/imgui_stl.h,.cpp to misc/cpp/imgui_stdlib.h in prevision for other files.(#2035, #2096)
Added misc/README file.
6 years ago
omar 74c0309126 InputText: Clarified comments around ImGuiInputTextFlags_CallbackResize and other callbacks. (#2006, #1443, #1008) 6 years ago
omar 571676ebd2 Added Fonts readme details and links to Sweet16 font. (#2085) 6 years ago
omar 9cc63ba279 Internals: Replace unsigned short with ImWchar when dealing with character storage (missing cases) + in imgui_impl_ file keep using neutral type everywhere, added missing explicit cast in three bindings. (#2078) 6 years ago
omar 5a679a45cc Renamed stb_truetype.h to imstb_truetype.h, stb_textedit.h to imstb_textedit.h, and stb_rect_pack.h to imstb_rectpack.h. (#1718, #2036)
If you were conveniently using the imgui copy of those STB headers in your project, you will have to update your include paths.
The reason for this change is to avoid conflicts for projects that may also be importing their own copy of the STB libraries. Note that imgui's copy of stb_textedit.h is modified.
6 years ago
omar 9174958b43 imgui_stl: Comments (#2035) 6 years ago
omar af50ebe7b6 Documentation 6 years ago
omar 7011d87bf8 InputText: Improved sturdiness if the ResizeCallback purposefully modify data->BufTextLen or data->BufSize. (#2006, #1443, #1008) 6 years ago
omar ea9f5d7600 Added optional misc/stl/imgui_stl.h wrapper to use with STL types (e.g. InputText with std::string). (#2035, #2006, #1443, #1008) 6 years ago
omar 421dc19798 Examples: Cast to ImTextureID instead of void* when assigning to TexId. Applied to all examples. (#2015) 6 years ago
omar f5bf9f509c ImFontConfig: Added GlyphMinAdvanceX/GlyphMaxAdvanceX settings useful to make a font appears monospaced, particularly useful for icon fonts. (#1869) 6 years ago
omar 5a288b2d3a Readme, FAQ tweaks (#1807) 6 years ago
Marc J. Schmidt 0903a12c2a Fixed documentation example (#1847) 6 years ago
omar 0e83d74698 Documentation: FAQ, ID Stack, Fonts (#1839, #1840), #1842) 6 years ago
omar 036dce634e Version 1.62 WIP 6 years ago
omar 35e74c72ab imgui_freetype: skip missing glyphs as well to match our stb loader (#1671, #1703) 7 years ago
omar 28edece04f Comments, minor tweaks 7 years ago
omar d1c16d4ccd Documentation bits. Misc comments. 7 years ago
omar 111ea7af77 Misc comments, todos + reintroduced removed ImGuiCol defines under !IMGUI_DISABLE_OBSOLETE_FUNCTIONS wrap. 7 years ago
omar 1f6ad7a894 ImFont: Added FindGlyphNoFallback. Fixed MergeMode broken by 1ef1acbd8d 7 years ago
omar 1ef1acbd8d Font: Fixed MergeMode adding duplicate glyphs data instead of reusing existing (broken by 072d6d8cb5) 7 years ago
omar 024e23c4d7 Comments, moved ImFontAtlas::Flags to "public" area. 7 years ago
omar fed0a884f7 ImFontAtlas: Added ImFontAtlasFlags_NoPowerOfTwoHeight, ImFontAtlasFlags_NoMouseCursors flags. (#1613) 7 years ago
omar cf6b39600b imgui_freetype: comments about correct blending and sRGB (#618, #578) 7 years ago
omar 7b005bd7de imgui_freetype: Documentation, tweaks. (#618) 7 years ago
omar e9a617b22a Moved imgui_freetype from imgui_club (#618) 7 years ago
omar 6a83a9152f Natvis: Showing some flags for ImGuiWindow. 7 years ago
omar cd3dd886de Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ (#1569) 7 years ago