Commit Graph

3519 Commits (578016d08bd2f650902064b5b5c599086b9ff5fe)
 

Author SHA1 Message Date
ocornut fdce095101 Comments
ocornut d009a85de4 WIP Menus: Implement amazon's dropdown-like triangle test for navigating sub-menus ()
ocornut 63a39dd08e WIP Menus: Recursive menu demo (). Actually useful to test sub-menu positioning.
ocornut cdb5e16f70 SelectableEx: use flags internally (similar to ButtonBehavior)
ocornut 4eeba016f6 WIP Menus: Closing sub-menu when hovering something else in the same parent window ()
Immediate open/close is error-prone
ocornut 83b10f77a9 Comments
ocornut fd0108dbef Comments
ocornut 98540370a0 WIP Menus: Layout in menu-bar tweaks to lay better when mixed widgets ()
ocornut bb8cdcb916 WIP Menus: Layout in menu-bar more standard, allows mixing different widgets in menubar. ()
Still some minor spacing bugs.
ocornut 83cb040d20 Selectable: text baseline alignment for line that aren't of text height.
Cedric Guillemet 2acdafe4f2 imgui_impl_sdl and main sample
ocornut 44ed5640d3 WIP Menus: Sub-menu overlapping amount not hardcoded ()
ocornut 0836f69d9b WIP Menus: Fixed style.WindowPadding == 0 leading to zero-sized initial clipping rectangle leading to self-collapsing childs ()
ocornut 6c749934ec Combo: empty label doesn't add ItemInnerSpacing alignment, matching other widgets
ocornut 9abcbf73cb WIP Menus: Sub-menus appears over the parent-menu scrollbar if there is one (unsure about that) ()
ocornut 63aa035f59 WIP Menus: Fixed estimation of scrollbar width (broke in 292f08b11e) ()
ocornut 8c1d7daef8 WIP Menus: Fixed repositioning of menus when there's no room in the 4 quadrants., we still keep them within the visible display area ()
vs popup which prefer to stay away from the mouse cursor
ocornut 1ab1712849 WIP Menus: Clicking the label of an already open sub-menu doesn't close it unless from a menu-bar (match Windows behavior) ()
Argh,
ocornut 48ede93a58 WIP Menus: Fixed closing popup on menu item activation when a child menu is open from the popup ()
ocornut 3498617a3c Comments.
ocornut 53892ab893 WIP Menus: Fixed manually closing submenu affecting position of the following window ()
ocornut 292f08b11e WIP Menus: Fixed some alignment issues with non standard styles. Tweaked menu-bar color ()
ocornut 14bcfef041 Merge remote-tracking branch 'origin' into 2015-05-menus
Conflicts:
	imgui.cpp
ocornut 8cfae35042 Added Dummy() helper
ocornut 89d1340225 WIP Menus: Added Enabled/Disabled option for MenuItem() ()
ocornut 485832fe06 WIP Menus: Added BeginMainMenuBar()/EndMainMenuBar() helpers. Added to examples.
ocornut e6b1e39847 WIP Menus: don't clamp windows within display when a position has been explicitly set by user. Menu item spacing uses ItemSpacing. ()
ocornut e7097d6176 WIP Menus: menus now affected by WindowMinSize ()
ocornut e3f2ad728a Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
Conflicts:
	examples/directx11_example/imgui_impl_dx11.cpp
ocornut cc3ed515ca Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
ocornut 882b4a5eb4 Merge remote-tracking branch 'origin' into 2015-05-menus
Conflicts:
	imgui.cpp
ocornut 7fbe6574c6 Removed unnecessary PushTextureId/PushClipRect/PopClipRect/PopTextureId on multiple Begin/End pairs
ocornut 8a6d543bc9 ImDrawList: merge draw command better, cases of multiple Begin/End gets merged properly
ocornut 6a1eba2d0a Fixed appending multiple times to an existing child via multiple calls to same BeginChild/EndChild
ocornut 14ab9708be Removed a few empty lines
ocornut df276b82da Updated FAQ for usage of ## to display empty label
omar 30a0193d73 Merge pull request from gordonmcshane/osx-example-fix
Examples: OpenGL3: Fix for OSX requiring forward compatibility flag (see )
ocornut e43c5cd3d3 InputText: Fixed cursor generating a zero-width wireframe rectangle turning into a division by zero.
ocornut 92ded00fd9 Merge remote-tracking branch 'origin' into 2015-05-menus
Conflicts:
	imgui.h
Gordon McShane 6ee65fc5af Add conditional compilation of forward compat. glfw window hint to fix crash on later versions of OSX
ocornut da53caf310 Moved ImVector<> after the main block ()
ocornut b6f3c97e3b Examples: DirectX11: explicitly set rasterizer state.
ocornut 0cdd050cd7 WIP Menus: fixed recycling menu level during the same frame ()
We could also enforce "clearing" the window and recycle immediate which
sort of work, but it would be a less tested code path.
ocornut 6da8a77fa3 WIP Menus: tidying up, fixed hovering in parent popup menu item from child popup (individual popups acts as hovering barrier) ()
ocornut 9bdacaf08d WIP Menus: click again to toggle + allow hovering in same menuset even outside of a menubar ()
ocornut 75ec4841df WIP Menus: menu opens on press (not release), uses popup style hovering, allow switch between menus at parent site ()
ocornut e674df8101 Merge remote-tracking branch 'origin' into 2015-05-menus
ocornut 097fe51f97 Hovering require to hover same child window. Reverted 860cf578f5 (December 3), replaced by a flag resize grip.
Might break something if you have childs overlapping non-childs.
ocornut 060f879816 Tweak internal ButtonBehavior() to ease passing extra options
ocornut 7184de24b8 WIP Menus: scrolling section of the window is clipped by the menu bar ()