Commit Graph

1803 Commits (572bf910065fea57d45d8156f5ffb061cb46a3e3)
 

Author SHA1 Message Date
ocornut 46fbff50cf Documentation
ocornut bfe894406d ImFontAtlas: some more optimisations / cleanup.
ocornut e685e49781 ImFontAtlas: reduced number of temporary allocation when building lots of input ranges
ocornut edcf2d3bf6 Examples: more comments on loading fonts.
ocornut 8386e4fb7e Fix handling of NULL GlyphRanges. Asserting on AddFontFromFileTTF() failure.
ocornut ed23598e49 Font documentation
ocornut ca81fd3a34 Removing the binary_to_c() comment, link to license for ProggyClean
ocornut 1916a0c78c Renamed FontAtlas to Fonts. Further cleanup/comments.
ocornut 1f8d209202 Fixed more clang warnings + AddFontFromMemoryTTF() not honoring font_no parameter
ocornut 37dcf58e2f Fixed clang warnings
ocornut 0dad59b032 Merge remote-tracking branch 'origin/master' into 2015-01-truetype
ocornut e666920784 ImFont: small optimization to our (incorrect) handling of TAB
TAB is still handled as 4-spaces width (which is incorrect)
But CalcTextSize is simplified.
ocornut 5ad9a2f119 Comments on new API
ocornut 2c31599bcc ImFontAtlas allows loading multiple fonts into same texture. Revamped new init API for 1.30
ocornut a3e368a477 Fixed alignment of ColorEdit4() label
ocornut cb9a3235be Removed PixelCenterOffset, uncesssary
ocornut ad92018bc0 Fixed lower-right rounded triangle rendering precision.
PixelCenterOffset is handled very inconsistently, needs to be fixed.
ocornut 43c8b5e0d2 Examples: DirectX11: use linear sampler to be in sync with other examples.
ocornut 014f88b1fc Font fixes for horizontal centering within frames
ocornut edee014ab8 ImDrawList merging commands with same texture
ocornut 3e30ad3802 PushFont/PopFont changes texture at high-level in current draw list - faster
ocornut 7ebd7ef9ac Added PushFont/PopFont API
ocornut 79d1a9d941 Commenting asserts.
ocornut 97fcee0d0d Fix usage of multiple Begin/End pair for the same window, handling of move in End() was stealing Active ID
ocornut ab8d2782c6 Merge remote-tracking branch 'upstream/master' into 2015-01-truetype
Conflicts:
	imgui.cpp
	imgui.h
ocornut f61e8e6e26 Tooltip always auto-resize. May look into max-over-xx-seconds policy later.
ocornut 2082487366 Allow SetNextWindowPos() to affect tooltips.
ocornut 584c7ffac8 Added SetCursorScreenPos() helper (WindowPos+CursorPos = SrceenPos)
ocornut 2d7a2310fd Collapsing header also honor FrameRounding
ocornut 62ecdd21a5 Examples: Added a color slider for the background color + tweak first example use of button.s
ocornut 02f0dbca37 ColorEdit3: clicking on color square change edit-mode, removing color-edit mode button by default.
ocornut 8ba93d947c Added FrameRounding setting (default to 0 for now).
ocornut 3c8f010c29 Fixed TooltipBg color not being honored by tooltip + no minimum tooltip size.
ocornut 4f6643cc0c Fix missing glyph handling in modified stb_truetype.h (ttf branch)
ocornut 188165a063 Fix stupid crash on fallback glyph handling (ttf branch)
ocornut 08b50cce12 TODO list update
ocornut 04eca0c375 TODO list update
ocornut a372d67f47 Improve memory reserve policy for Clipboard/ImGuiBuffer
ocornut 3a20671802 Fixed logging to clipboard on architectures where va_list are modified by vsnprintf (fixed )
ocornut 5322224881 Warning fixes for llvm windows 64-bits
ocornut e2d8c03e1a Fixed ImGuiTextBuffer::empty() to ignore the enforced zero-terminator
+ removed unnecessary destructor
ocornut f0b493c217 Fixed style.WindowMinSize not honored properly.
ocornut 6c6d1746d4 Fix missing glyph handling in modified stb_truetype.h
ocornut f061884dea Typos and comments
ocornut 0f89e06152 Fixed temporary glyph rectangle allocation using size much too big.
ocornut e5d0d8334f Tweak default texture width for large amount of characters.
ocornut d27b295f4c Documentation on new font / texture get api
ocornut 0f4d74d614 ImFont::GetTextureData API allow to retrieve 8/32 bits data + lazily load defaults font
Examples: OpenGL3 and DirectX11 back to using 32-bits texture solely for
ease of integration.
ocornut 241e8086fa Mde it optional to new() io.Font - however it stills needs to be loaded.
ocornut 51df5874a6 Examples' Says "OpenGL2" vs "OpenGL3" in title bar.