Commit Graph

5503 Commits (93efa5415f42e0dbf2901cd2b3b611c34ae8e628)
 

Author SHA1 Message Date
omar de13261f1b OpenGL3: Added error output when shaders fail to compile / link. ()
omar 4dfb9ef751 Internals: Extracted StartMouseMovingWindow so we can add code to turn an arbitrary widget into a window mover (will be useful to make the Collapse button a window mover past a mouse drag threshold) + added a couple of _None flags.
omar dc021f1c23 Internals: Fixed CalcSizeContents() returning negative value on first run (inconsequential afaik, but fixing for sanity)
omar 17f36038e0 Internals: Misc/shallow merge from Docking branch.
omar 7033b2043b Internals: Move IMGUI_CDECL declaration to imgui_internal.h so everyone can profit.
omar c7016c25e8 Nav: Added a CTRL+TAB window list and changed the highlight system accordingly. ()
omar 0708f91617 Internals: Removed RootWindowForTabbing, won't be needed. Nav: Not starting NavWindowingTarget when a modal is active (was not noticeable).
omar 6201cad2b4 Examples: Comments, Demo: Log early out, TODO. ()
omar 17efd7b3b0 Demo: Added basic Drag and Drop demo. (, )
omar bd6097ac6f Drag and Drop: Calling BeginTooltip() between a BeginDragSource()/EndDragSource() or BeginDropTarget()/EndDropTarget() uses adjusted tooltip settings matching the one created when calling BeginDragSource() without the ImGuiDragDropFlags_SourceNoPreviewTooltip flag. () + additional safety checks.
omar 64938178b7 Internals: Moved selectable flags to avoid collision with public flags + rewrote some tests so we can consistently grep for (held && hovered)
omar a33f0d1f7f Drag and Drop: Fixed ImGuiDragDropFlags_SourceNoDisableHover to affect hovering state prior to calling IsItemHovered() + fixed description. ()
vby 3a42eb6620 Fix missing ImmReleaseContext in default Win32 IME handler ()
omar b0cdfe0ece Generalized d11d211e so regular popups (without the AlwaysAutoResize flag) also have a smaller minimum size, but reduced it to an arbitrary 4.0f instead of 1.0f to ease debugging of faulty situations. ()
omar c790723cfa Drag and Drop: Fixed an incorrect assert when dropping a source that is submitted after the target (bug introduced with 1.62 changes related to the addition of IsItemDeactivated()). (, )
omar 89e2ddf07f Examples: Comments + shallow coding convention tweak to be consistent across examples and with imgui_impl_osx
omar 569e0f07f1 Examples: Removed old example_apple/ + tweak comments ()
Omar Cornut 839e4d34bd Merge branch 'warrenm_osx'
Omar Cornut c3f9220c15 Apple: Fixed example_osx_opengl2, renamed to example_apple_opengl2 + misc comments
omar d11d211e5d Allow popup from ignoring the style.WindowMinSize values so short menus are not padded. () Wider generalization of b16603745c.
omar 93950b8c32 Internals: Removed unused ShadeVertsLinearAlphaGradientForLeftToRightText code.
omar 42bf149ac6 Removed per-window ImGuiWindowFlags_ResizeFromAnySide beta flag in favor `io.OptResizeWindowsFromEdges=true` to enable the feature globally. () The feature is not currently enabled by default because it is not satisfying enough.
Warren Moore d64157e803 Introduced a new Metal renderer implementation and a new example illustrating usage of Metal on macOS and iOS (partially addresses )
omar 0146f4b456 Internals: BeginChildEx tweaks.
omar 7b2662d245 Examples: Comments, bits of documentation
omar deb7aa29cd OSX: Various tweaks to imgui_impl_osx courtesy of @warrenm + fix NewFrame position which has been moved recently master. ()
omar 0d7e779b37 Merge branch 'master' into osx
# Conflicts:
#	examples/.gitignore
#	examples/README.txt
omar 665bd1e140 Links and thanks. Comments on using BeginCombo/EndCombo + moved the Combo() implementations closer to each others to maximize user seeing how it is implemented from any of the secondary function body.
omar a765c83bad Ignore list: added emscripten output
Konstantin Podsvirov ddb09c6011 Examples: Ignore all *.user files ()
For example `Qt Creator` create `CMakeLists.txt.user` file with user settings.
omar 645ab6633c Fixed a include build issue for Cygwin in non-POSIX (Win32) mode. (, , )
omar c4e34aaace Examples: Comments to clarify how the keyboard data is indexed.
codecnotsupported b62cc5c150 Fix include Example_glfw_vulkan cmake ()
Probably got broken because of the refactor.
omar 6e67afc500 Tweaked software mouse cursor offset to match the offset of the corresponding Windows 10 cursors. (followup to )
omar 62b3d7c51e Fixed software Hand cursor from not actually working. Fixed demo from crashing. Fixed typo and extraneous trailing space. Added Changelogs. (, )
Aiekick ecd9a223e3 add hand cursor support (+11 squashed commit)
omar 004fe8916a Internals: Settings: Simple optimization caching index into the settings buffer, to remove an unnecessary O(N*M) search during saving. (with N=active root windows during the session, M=stored settings which grows over time)
omar 242d7e0b0b ImVector: Added index_from_pointer() helper.
omar b16603745c Allow menu windows from ignoring the style.WindowMinSize values so short menus are not padded. ()
omar 7adae3299e Double-click on resize grip doesn't need to test HoveredWindow (as button has the flattenchild flag anyway) + double-click on title bar verify that we don't have overlapping items to allow contents in title bar. + Comments
Omar Cornut 42a919f303 Examples: Apple: Fixed paths of GLFW+GL2 example. () Update ignore list.
omar 79153cf19f Internals: Various renaming. e.g. NewFrameUpdateHoveredWindowAndCaptureFlags() to UpdateHoveredWindowAndCaptureFlags() + exposed UpdateMovingWindow() in imgui_internal.h.
omar 14ceaaf460 ArrowButton: Fixed to honor PushButtonRepeat() setting (and internals' ImGuiItemFlags_ButtonRepeat). Setup current line text baseline so that ArrowButton() + SameLine() + Text() are aligned properly.
omar 9d67d18d86 Internals: Moved some of the SliderBehaviorT code into SliderBehavior to reduce the amount of instanciated code.
omar a1ec7723ef Examples: OpenGL3: Remove misleading or unnecessary "#version 150" strings.
omar c1d8dee6c5 Version 1.63 WIP
omar fb0106fad2 Demo: Fixed incorrect response to Begin() returning false in overlay demo (which cannot happen since we don't have a title bar, but that doesn't make it a good behaving demo!).
omar 20e89201cb Examples: Fixes.
omar 00418d13e3 Demo: Fixed mismatched TreePush/TreePop in Property Editor, due to incorrect revert in 826d77185e ()
omar d68633398b Examples: Vulkan: nverted the parameters to ImGui_ImplVulkan_RenderDrawData() to be consistent with other bindings.