106 Commits (c44a4bed84e8d65f08f970d6cbdd79f35f9c264e)

Author SHA1 Message Date
omar c44a4bed84 Examples: Fixed bindings to use ImGuiMouseCursor_COUNT instead of old name ImGuiMouseCursor_Count_ so they can compile with IMGUI_DISABLE_OBSOLETE_FUNCTIONS. (#1887) ago%!(EXTRA string=7 years)
omar 826d77185e Revert 640c0566: TreeNode: Fixed nodes with ImGuiTreeNodeFlags_Leaf flag always returning true which was meaningless -> more flexible to keep allowing it by default so it setup an ID scope. ago%!(EXTRA string=7 years)
omar 185b4dde87 Examples: Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag. Added clipboard support. Unindexing buffers ourselves as Allegro indexed drawing primitives are buggy in the DirectX9 back-end. ago%!(EXTRA string=7 years)
omar 335f6fde7e Comments + missing changelog bits in 1.52 for SetNextWindowPos, SetNextWindowPosCenter. (obsolete #771) ago%!(EXTRA string=7 years)
omar d57fc7fb97 Added IsItemDeactivatedAfterChange() if the last item was active previously, isn't anymore, and during its active state modified a value. Note that you may still get false positive. (#820, #956, #1875) ago%!(EXTRA string=7 years)
omar cd455a4600 Added IsItemDeactivated() to query if the last item was active previously but isn't anymore. Useful for Undo/Redo patterns. (#820, #956, #1875) ago%!(EXTRA string=7 years)
omar a48815b870 Comments, changelog ago%!(EXTRA string=7 years)
omar a1b6766d43 Examples: FreeGLUT: Added FreeGLUT bindings. Added FreeGLUT+OpenGL2 example. (#801) ago%!(EXTRA string=7 years)
omar bdb3d72d37 Examples: Win32: Fixed handling of mouse wheel messages to support finer position messages (typically sent by track-pads). (#1874) ago%!(EXTRA string=7 years)
omar 7acb46bec5 Examples: Comments to make ImGuiConfigFlags_NoMouseCursorChange more visible (#1027). + Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag. ago%!(EXTRA string=7 years)
omar 5a13e4dcde Examples: Renamed imgui_impl_sdl2.cpp to imgui_impl_sdl.cpp (#1870) + changelog bits ago%!(EXTRA string=7 years)
omar 85f9694bd4 Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). (#1870) ago%!(EXTRA string=7 years)
omar f5bf9f509c ImFontConfig: Added GlyphMinAdvanceX/GlyphMaxAdvanceX settings useful to make a font appears monospaced, particularly useful for icon fonts. (#1869) ago%!(EXTRA string=7 years)
omar 929529a0db SliderFloat(): When using keyboard/gamepad and a zero precision format string (e.g. "%.0f"), always step in integer units. (#1866) ago%!(EXTRA string=7 years)
omar b3a5b8debd Popup: Improved handling of (erroneously) repeating calls to OpenPopup() to not fully close/re-open the popup so its child popups won't get closed. (#1497, #1533, #1865). ago%!(EXTRA string=7 years)
omar d44faa165a Added GetGlyphRangesChineseSimplifiedCommon() helper that returns a list of ~2500 most common Simplified Chinese characters. Renamed GetGlyphRangesChinese() to GetGlyphRangesChineseFull() to distinguish other variants and discourage using the full set. (#1859) ago%!(EXTRA string=7 years)
omar 2a56105f85 TreeNodeEx(): The helper ImGuiTreeNodeFlags_CollapsingHeader flag now include ImGuiTreeNodeFlags_NoTreePushOnOpen. The flag was already set by CollapsingHeader(). The only difference is if you were using TreeNodeEx() manually with ImGuiTreeNodeFlags_CollapsingHeader and without ImGuiTreeNodeFlags_NoTreePushOnOpen. In which case you can remove the ImGuiTreeNodeFlags_NoTreePushOnOpen flag from your call (ImGuiTreeNodeFlags_CollapsingHeader & ~ImGuiTreeNodeFlags_NoTreePushOnOpen). (#1864) ago%!(EXTRA string=7 years)
omar 21f553fa55 stb_textedit, InputText(): Fixed Undo after pasting large amount of text (Redo will still fail when undo buffers are exhausted, but text won't be corrupted). ago%!(EXTRA string=7 years)
omar 67b139ccae Updated stb_textedit 1.09 + patches --> 1.12 + minor patches. (#715) ago%!(EXTRA string=7 years)
omar 916528080e InputTextMultiline(): Fixed double navigation highlight when scrollbar is active. (#787) ago%!(EXTRA string=7 years)
omar 6d98c0323b Nav: Added support for PageUp/PageDown (explorer-style: first aim at bottom/top most item, when scroll a page worth of contents). (#787) ago%!(EXTRA string=7 years)
omar 2bdf0b54a2 Changelog formatting update, Todo, comments. Tweak Child demo. Shuffle some code in NavUpdate(). ago%!(EXTRA string=7 years)
omar 92b7d6bc4f Added ImGuiDragDropFlags_AcceptNoPreviewTooltip flag to disable drag source tooltip from the target site (#143) ago%!(EXTRA string=7 years)
omar f843facba4 Internals: PushItemFlag() flags are inherited by BeginChild(). ago%!(EXTRA string=7 years)
omar b88fbd69cc Drag and Drop: BeginDragDropSource(): Offset tooltip position so it is off the mouse cursor, but also closer to it than regular tooltips, and not clamped by viewport. (#1739) ago%!(EXTRA string=7 years)
omar 663e2c9237 Examples: GLFW: Made it possible to Shutdown/Init the backend again (by reseting the time storage properly). Changelog. Added to Vulkan example. (#1827) ago%!(EXTRA string=7 years)
omar bf56b6b9a5 ColorEdit3, ColorEdit4, ColorButton: Added ImGuiColorEditFlags_NoDragDrop flag to disable ColorEditX as drag target and ColorButton as drag source. (#1826) ago%!(EXTRA string=7 years)
omar d5c8f404b2 Remove trailing white spaces. ago%!(EXTRA string=7 years)
omar 640c056602 TreeNode: Fixed nodes with ImGuiTreeNodeFlags_Leaf flag always returning true which was meaningless. Tweak demo. ago%!(EXTRA string=7 years)
omar e11610d6ff Nav: To keep the navigated item in view we also attempt to scroll the parent window as well as the current window. (#787) ago%!(EXTRA string=7 years)
omar 036dce634e Version 1.62 WIP ago%!(EXTRA string=7 years)
omar 78b28d545f Version 1.61 + todo additions ago%!(EXTRA string=7 years)
omar 3f29ed6fd5 ColorEdit: Fixed not being able to pass the ImGuiColorEditFlags_NoAlpha or ImGuiColorEditFlags_HDR flags to SetColorEditOptions(). Demo tweak. ago%!(EXTRA string=7 years)
omar 2a2bb8970d Added ImAtof, ImCeil, ImFloorStd to IMGUI_DISABLE_MATH_FUNCTIONS for consistency. Configuration comments. ago%!(EXTRA string=7 years)
omar ff033f431b Added IMGUI_DISABLE_MATH_FUNCTIONS in imconfig.h to make it slightly easier to redefine wrappers to std maths functions such as fabsf(), fmodf(), etc. Comments. ago%!(EXTRA string=7 years)
omar 8adbf081af Demo: Renamed "fixed overlay" to "simple overlay" because it's not fixed any more! ago%!(EXTRA string=7 years)
omar a7a1b3b0a7 Demo: Added demo for DragScalar(), InputScalar(), SliderScalar(). (#643) ago%!(EXTRA string=7 years)
omar 7475c1e7dd Data types: DragScalar: Fixed speed of integer values tweaking with keyboard/gamepad when speed < 1. Enforce min/max bounds when power curves are used. SliderScalar: Fixed integer/slow tweaking. (#643) ago%!(EXTRA string=7 years)
omar 0dc18a6ca6 Documentation tweaks, comments ago%!(EXTRA string=7 years)
omar 14f575ff76 Scrolling: Fixed a case where using SetScrollHere(1.0f) at the bottom of a window on the same frame the window height has been growing would have the scroll clamped using the previous height. (#1804) ago%!(EXTRA string=7 years)
omar 39f4761ff7 TODO list update + Changelog and comments for #1803. ago%!(EXTRA string=7 years)
omar 8da0d42ef2 Moved DragScalar, InputScalar, SliderScalar to imgui.h as well as ImGuiDataType (#320, #643, #708, #1011) ago%!(EXTRA string=7 years)
omar 280c05e4f8 Fix to allow compiling in unity builds where stb_rectpack/stb_truetype may be already included in the same compilation unit. ago%!(EXTRA string=7 years)
omar f13f10e725 Settings: Comments (#923, #993) ago%!(EXTRA string=7 years)
omar 0bf43b3a1b Settings: Added LoadIniSettingsFromDisk(), LoadIniSettingsFromMemory(), SaveIniSettingsToDisk(), SaveIniSettingsToMemory(), io.WantSaveIniSettings. (#923, #993) ago%!(EXTRA string=7 years)
omar 787a475650 Skip missing font glyphs to 1) avoid using space for missing glyphs and 2) allow merging fonts with overlapping ranges. Demo: Fixed displaying ? instead of greyed out empty box. (#1671, #1703) ago%!(EXTRA string=7 years)
omar 807c4f0ea4 Ran a spell checker for sanity. ago%!(EXTRA string=7 years)
omar 4310bad32a Examples: DirectX9: Comments, updated changelog, notes about usage of imconfig.h (#1790, #1687) ago%!(EXTRA string=7 years)
omar 7640439747 DragInt: Patch old format strings to replace %f by %d when using the DragInt() entry point. (#320, #643, #708, #1011) ago%!(EXTRA string=7 years)
omar 17d3c6305e Ran a spell checker for sanity. ago%!(EXTRA string=7 years)