Commit Graph

5886 Commits (97dad665166e23473d2be0b6390cc2bab099040e)
 

Author SHA1 Message Date
omar 30bf40195b io.OptNoCursorBlink -> io.OptCursorBlink ()
omar 669498ff26 Added io.OptNoCursorBlink option to disable cursor blinking. (). Renamed io.OSXBehaviors to io.OptMacOSXBehaviors. Should affect users as the compile-time default is usually enough. (, )
omar a1c736fa6a
Update README.md
omar 631bd8a9f8
Added bindings
omar 161670418b Update documentation for extra fonts
Branimir Karadžić 9daac64ff8 Clean g.WindowsById storage on shutdown.
omar 06075f20ba Merge branch 'master' into navigation
omar ba09de3a39 Begin: Fixed appending into a child window with a second Begin() from a different window stack querying the wrong window for the window->Collapsed test.
omar 8451855a30 ButtonBehavior: Fixed ImGuiButtonFlags_AllowOverlapMode to avoid temporarily activating widgets on click before they have been correctly double-hovered. (, )
omar 4b94738c7e Drag and Drop: Drop target rectangle goes out of clipping range ()
omar b1653cd361 Drag and Drop: Allow NULL payload (since type only can be useful). ()
omar a297cbafdb Merge branch 'master' into navigation
omar 2df8fa95df Fixed vertical scrollbar flickering/appearing, typically when manually resizing and using a pattern of filling available height (e.g. full sized BeginChild). THIS IS A GREAT FIX, this glitch was nasty and annoying (and yet somehow nobody reported it?). Hopefully haven't broken anything else...
omar a4cc3d4637 Minor tweaks/comments. Note that the reordering the one subtraction caused subtle havoc before the patch in 9ac8820ee2.
omar 9ac8820ee2 Fixed non-pixel aligned bounding box of window resize grip, / which triumphally led to any re-arrangement of operations inside the resize grip code outputting non-exact size_target values which led to unstable window position because clamping code uses size in a subtraction, etc etc. Lovely how a whole system can be made to act weird with a single bad input.
omar b6504b8eee Drag and drop: Handle overlapping drag target priorities given their surface, which appears to make most sense for drag and drop operations.
omar 2ab27be3de Child window with MenuBar use regular WindowPadding.y so layout look consistent in child or in a regular window.
omar 41862b8c0e ButtonBehavior: Fixed ImGuiButtonFlags_NoHoldingActiveID from incorrectly setting ActiveIdClickOffset, which probably have no known effect, but it is more correct this way. ()
omar aae52522c3 Internals: Remove requirement to define IMGUI_DEFINE_PLACEMENT_NEW ()
omar 1870738880 LowerBound() minor tweaks
omar 571b08f315 Internal: FindWindowByName() faster and doesn't touch every windows
omar 8e6adc78af Examples: Constrained Resize: Added more test cases (for )
omar 2c7ba21417 Fixed auto-resize allocating too much space for scrollbar when SizeContents is bigger than maximum window size (fixes c0547d358d) ()
omar 0d4c320f88 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_draw.cpp
omar f0b4097c54 Begin: Simplified code and fixed a bug where appending into a window a second time (from a remote window) would incorrectly overwrite RootWindow with the current window in the stack. Our docking code uses this pattern.
omar de1e7dc088 Drag and Drop: Moved internal fields out of public sight. ()
omar 8b725c94cb Drag and Drop: Rework internal to allow overlapping targets ()
omar 16a5da9521 RenderTriangle() minor tweak to align Left/Right and Up/Down arrow extents visually
omar 553bdeedf7 Drag and Drop: Made it legal to not call SetDragDropPayload() between BeginDragDropSource() and EndDragDropSource(). ()
omar 3461a2f296 Merge branch 'master' into drag_and_drop
omar 982ce50b37 IsWindowHovered() returns true when moving window (, )
omar ff4d4ca651 IsWindowHovered(): Added ImGuiHoveredFlags_FlattenChilds flag. Made IsRootWindowOrAnyChildHovered() obsolete in favor of IsWindowHovered( ImGuiHoveredFlags_FlattenChilds) (, )
omar 803ac3a5c6 IsWindowHovered() Fix behavior when an item is active to use the same logic as IsItemHovered() (, )
omar 1e7cc23867 Merge branch 'elect86-patch-1'
omar 2a3a25e792 Reordered fields in other Style functions ()
omar c547b97e4e Merge branch 'patch-1' of https://github.com/elect86/imgui into elect86-patch-1
omar 78f9511f4d
Merge pull request from elect86/master
Fixed a comment
Giuseppe Barbieri 6fb43f2011
Update imgui.h
omar 66f42324ad Drag and Drop: Added ImGuiDragDropFlags_SourceNoHoldToOpenOthers flag.
Giuseppe Barbieri db190c16f6
Update imgui_draw.cpp
omar 63f6f2dd13 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
omar fba704bf5d Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard (, , , , , , , , , , , , , , and more)
omar 59323b54da Demo: Comments ()
omar 6ab20ff9bf Minor tweaks to the user guide.
omar e55caf0b95
Merge pull request from elect86/patch-1
Minor fix typo
omar 7f06d385a1 Added assertions and comments for incorrect use/understanding of IsWindowFocused() etc. functions
Giuseppe Barbieri 9e3f9fc2dd
Update imgui.cpp
omar 5956fff7e2 Drag and Drop: ImGuiButtonFlags_PressedOnDragDropHold focuses the target window.
omar a810619555 Drag and Drop: Added support for drag and drop hold-long-to-open for CollapsingHeader() and TreeNode(). Open only!
omar 1d7d8f8574 Merge branch 'master' into drag_and_drop