Commit Graph

5921 Commits (511e32e8ca7dcae9fbca4bf3a899597a13bfbf59)
 

Author SHA1 Message Date
omar 9391a97fbf Merge branch 'master' into viewport
# Conflicts:
#	docs/CHANGELOG.txt
#	examples/imgui_impl_win32.cpp
#	examples/imgui_impl_win32.h
omar 79d497edae Viewport: Made platform_io.Monitors mandatory for proper multi-viewport use.
omar f435aa193b Examples: Win32: Added support for XInput games (if ImGuiConfigFlags_NavEnableGamepad is enabled).
omar 133f112af0 Examples: Win32: Using GetForegroundWindow() instead of GetActiveWindow() to be compatible with windows created in a different thread. (, , , ) [many people]
omar 95ee99e6aa Version 1.68 WIP
omar 515ad62335 Merge branch 'viewport' into docking
# Conflicts:
#	docs/TODO.txt
omar 73353fad64 Merge branch 'master' into viewport
omar d38d7c6628 TODO update + internals: changed order or ImGuiLayoutType enums to allow using them for indexing.
omar b8c6e31c2d Fixed cursor issue caused by 6890e08b when calling BeginChild/EndChild multiple times to reappend into a same child window. ()
omar ff4bd758ca Merge branch 'viewport' into docking
omar e24674fc0e Merge branch 'master' into viewport
omar 7a5058e3bf Version 1.67
omar 1da40df279 DragFloat: Fixed broken mouse direction change with power!=1.0. (, ) [@Joshhua5]
omar 6e41745f31 Added a bunch of diagnostic ignore to cope with Clang -Weverything being absurd. Also fixed two legit warnings. ()
omar 529fccd9c2 Merge branch 'viewport' into docking
omar 4ee4f65c70 Merge branch 'master' into viewport
omar abdd39b700 Merge branch 'atlas_fixes'
omar 7e78865613 Demo: Fixed bounds of DragFloat in Clipping section to avoid passing zero-sized to InvisibleButton().
omar 49994ceb6e FAQ entry, moved ImTextureId, Gallery links.
omar 8df8482ef4 imgui_freetype: Fixed redundant FT_Load_Glyph() calls, unused parameters, and compilation warning/error. ()
omar 651130002f ImFontAtlas: Fixed allocating for last bit (would only affect is that last codepoint is a multiple of 32). ()
omar 21828b08a0 ImFontAtlas: Rewrote FreeType based builder.
- Fixed abnormally high atlas height. ()
- Fixed support for any values of TexGlyphPadding (not just only 1). ()
- Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth). ()
- Fixed atlas builder so missing glyphs won't influence the atlas texture width. (, )
- Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas. ()
omar 9a9712807e ImFontAtlas: Rewrote stb_truetype based builder.
- Atlas width is now properly based on total surface rather than glyph count (unless overridden with TexDesiredWidth).
- Fixed atlas builder so missing glyphs won't influence the atlas texture width. ()
- Fixed atlas builder so duplicate glyphs (when merging fonts) won't be included in the rasterized atlas.
omar 7cc86d4bc9 Docking: Fixed docking a split node into the empty central node of a dockspace leading to the central node tag being incorrectly carried along. ()
omar e3ccc96789 Internals: Added ImBoolVector helper.
omar 56caf7da29 imgui_freetype: Minor tweaks and comments.
omar 7ed8e55fc7 ImVector: Added size_in_bytes() helper.
omar 8011197c50 Merge branch 'viewport' into docking
# Conflicts:
#	imgui.cpp
omar c96aaef132 Merge branch 'master' into viewport
# Conflicts:
#	imgui.cpp
#	imgui.h
omar e4c19f5af1 ImFontGlyphRangesBuilder: Using 32-bits fields for storage instead of 8-bit ones, comments, todo.
omar 7ffbcfe467 ImVector: Made reserve() another silly one-liner. It's not longer than other functions and our weird obsessions deserve to be carried with stringent consistence. + Comments
omar 1f6e0b2f98 ImVector: Made a struct. Using T/T* in the code instead of value_type/iterator. Renamed index_from_pointer() to index_from_ptr() (was not documented, added in 1.63, users not supposed to use ImVector, hopefully not a big deal).
omar 81eaa49773 Internals: Added comment index in imgui_internal.h
Vladimír Vondruš 289569ef27 Update link to Magnum bindings. ()
The various community projects that integrated Dear ImGui into Magnum
were merged together and are now an official part of the engine.
omar 61a99f994e Minot internal tweaks, comments
omar 9ad341902d ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible.
omar f53cd3ee0f Internals: LowerBound: Use raw pointer typedefs, we never use iterator anywhere else in the codebase.
Demo: Typo.
C98 fix.
omar 57b1622afc Added IMGUI_USE_STB_SPRINTF (undocumented) ()
omar b33977bc15 Tests: Reworking hook prototypes for imgui-test to be faster and multi-context friendly.
omar c2db7f63bd Selectable() should have an ID even though they are disabled, to be consistent with other widgets. Not sure of the reasoning ~1.41 which made this turn to 0.
omar 3997e8b555 Fixed animated window titles from being updated when displayed in the CTRL+Tab list. + Adding overkill helpers for reusing buffers. ()
omar 6b32570644 Merge branch 'viewport' into docking
# Conflicts:
#	imgui_internal.h
#	imgui_widgets.cpp
omar 5af930f97a Merge branch 'master' into viewport
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_internal.h
omar 1ae7f88495 Tabs: Added ImGuiTabBarFlags_NoTooltip flag. (, ) + added helpful assert
omar 50faccf764 Demo: Log: Comments. Using clipper. Not linking with rand() anymore.
omar acfa4050ec Tweak changelog + tweak internal render helper functions.
omar 5cb7ce2085 Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete).
omar 1353c74dcf Comments/formatting on obsolete stuff
omar c3af134cc8 IO: Renamed InputCharacters[], marked internal as was always intended. AddInputCharacter() goes into a queue which can receive as many characters as needed during the frame. This is useful for automation to not have an upper limit on typing speed. Will later transition key/mouse to use the event queue later.
omar 1705a81efb Moved ImVector higher up in imgui :( because we will need it in ImGuiIO.