Commit Graph

  • 8c4c421f74 Added IsAnyItemHovered() public helper. ocornut 2015-05-27 22:02:12 +0100
  • 70f2ff0e5a No minimum size for popups ocornut 2015-05-27 21:59:02 +0100
  • 99ff45ad2e Tweak context menu example ocornut 2015-05-27 21:42:16 +0100
  • 90db64d4e3 Added context menu example on a DragFloat widget ocornut 2015-05-27 21:39:41 +0100
  • 487500d291 Tweaks ocornut 2015-05-27 16:03:44 +0100
  • 7d28fe5915 WIP Menus: Reverted f26de46350 for now (#126) ocornut 2015-05-27 15:51:50 +0100
  • d05c1d58c3 Oops ocornut 2015-05-27 15:44:07 +0100
  • 405785ea62 ItemWidthStack can be empty, to remove one allocation per window ocornut 2015-05-27 15:42:29 +0100
  • 0a7024c198 Store common stacked settings contiguously in memory to reduce cache misses & unnecessary heap allocations ocornut 2015-05-27 15:35:49 +0100
  • 3d36c81241 Added PushButtonRepeat() / PopButtonRepeat(). REMOVED third 'repeat_if_held' parameter of Button() ! ocornut 2015-05-27 15:22:09 +0100
  • d69f2f57ee Added configurable io.KeyRepeatDelay, io.KeyRepeatRate ocornut 2015-05-27 15:17:44 +0100
  • 904e187f70 Simplified some widget code, moving alignment to RenderTextClipped() ocornut 2015-05-27 14:39:41 +0100
  • 3c264827fd Reordering parameters of internal RenderTextClipped() ocornut 2015-05-27 14:24:52 +0100
  • f841097e99 Button centering left to RenderTextClipped function. ocornut 2015-05-27 14:20:50 +0100
  • f26de46350 Button() closes active popup (#126) unsure about that ocornut 2015-05-27 09:28:44 +0100
  • e6ac9e88aa Refactor Button() and SmallButton() into a shared function ButtonEx() ocornut 2015-05-27 09:22:30 +0100
  • b8ee48a74b OpenPopup() Comments ocornut 2015-05-27 09:18:04 +0100
  • 843219daec Spacing + untabify ocornut 2015-05-26 22:14:07 +0100
  • 7b8b5754bc EndGroup() carries on the text base offset from the last line of the group (sort of incorrect but better than nothing) ocornut 2015-05-26 22:13:07 +0100
  • 6f32684f15 Examples: various usage comments. ocornut 2015-05-26 21:36:44 +0100
  • 15113f682e Added TextDisabled(), TextDisabledV() helpers. ocornut 2015-05-26 21:10:16 +0100
  • 3a6e6645e6 WIP Menus: Fixed remaining inconsistency with stacks of popups. Activating/closing a menu close the parent popup. Added test case. (#126) ocornut 2015-05-26 20:33:48 +0100
  • 90cf77b191 Merge remote-tracking branch 'origin' into 2015-05-menus ocornut 2015-05-26 18:03:46 +0100
  • 6b3ccd3edf WIP Menus: Added support for disabled sub-menu (#126) ocornut 2015-05-26 18:02:42 +0100
  • 0db122bc3b Comments. Examples: added empty if (MenuItem()) {} statements in more places to better document the typical use cases (#126) ocornut 2015-05-26 17:48:28 +0100
  • fdce095101 Comments ocornut 2015-05-26 17:27:35 +0100
  • d009a85de4 WIP Menus: Implement amazon's dropdown-like triangle test for navigating sub-menus (#126) ocornut 2015-05-26 17:09:21 +0100
  • 63a39dd08e WIP Menus: Recursive menu demo (#126). Actually useful to test sub-menu positioning. ocornut 2015-05-26 16:14:51 +0100
  • cdb5e16f70 SelectableEx: use flags internally (similar to ButtonBehavior) ocornut 2015-05-26 16:12:40 +0100
  • 4eeba016f6 WIP Menus: Closing sub-menu when hovering something else in the same parent window (#126) ocornut 2015-05-26 15:01:04 +0100
  • 83b10f77a9 Comments ocornut 2015-05-25 23:47:59 +0100
  • fd0108dbef Comments ocornut 2015-05-25 23:37:08 +0100
  • 98540370a0 WIP Menus: Layout in menu-bar tweaks to lay better when mixed widgets (#126) ocornut 2015-05-25 23:15:00 +0100
  • bb8cdcb916 WIP Menus: Layout in menu-bar more standard, allows mixing different widgets in menubar. (#126) ocornut 2015-05-25 23:08:22 +0100
  • 83cb040d20 Selectable: text baseline alignment for line that aren't of text height. ocornut 2015-05-25 23:03:16 +0100
  • 2acdafe4f2 imgui_impl_sdl and main sample Cedric Guillemet 2015-05-25 09:40:58 +0200
  • 22715ff9bd Merge dfcc1769c1 into 6c749934ec Cedric Guillemet 2015-05-25 06:42:51 +0000
  • 44ed5640d3 WIP Menus: Sub-menu overlapping amount not hardcoded (#126) ocornut 2015-05-24 23:58:40 +0100
  • 0836f69d9b WIP Menus: Fixed style.WindowPadding == 0 leading to zero-sized initial clipping rectangle leading to self-collapsing childs (#126) ocornut 2015-05-24 23:56:29 +0100
  • 6c749934ec Combo: empty label doesn't add ItemInnerSpacing alignment, matching other widgets ocornut 2015-05-24 23:45:44 +0100
  • 9abcbf73cb WIP Menus: Sub-menus appears over the parent-menu scrollbar if there is one (unsure about that) (#126) ocornut 2015-05-24 23:37:47 +0100
  • 63aa035f59 WIP Menus: Fixed estimation of scrollbar width (broke in 292f08b11e) (#126) ocornut 2015-05-24 23:25:57 +0100
  • 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 (#126) ocornut 2015-05-24 23:17:06 +0100
  • 1ab1712849 WIP Menus: Clicking the label of an already open sub-menu doesn't close it unless from a menu-bar (match Windows behavior) (#126) ocornut 2015-05-24 22:33:04 +0100
  • 48ede93a58 WIP Menus: Fixed closing popup on menu item activation when a child menu is open from the popup (#126) ocornut 2015-05-24 22:30:48 +0100
  • 3498617a3c Comments. ocornut 2015-05-24 22:16:34 +0100
  • 53892ab893 WIP Menus: Fixed manually closing submenu affecting position of the following window (#126) ocornut 2015-05-24 21:20:10 +0100
  • 292f08b11e WIP Menus: Fixed some alignment issues with non standard styles. Tweaked menu-bar color (#126) ocornut 2015-05-24 21:11:11 +0100
  • 14bcfef041 Merge remote-tracking branch 'origin' into 2015-05-menus ocornut 2015-05-24 17:32:10 +0100
  • 8cfae35042 Added Dummy() helper ocornut 2015-05-24 17:30:59 +0100
  • 89d1340225 WIP Menus: Added Enabled/Disabled option for MenuItem() (#126) ocornut 2015-05-23 13:54:57 +0100
  • 485832fe06 WIP Menus: Added BeginMainMenuBar()/EndMainMenuBar() helpers. Added to examples. ocornut 2015-05-23 13:43:45 +0100
  • e6b1e39847 WIP Menus: don't clamp windows within display when a position has been explicitly set by user. Menu item spacing uses ItemSpacing. (#126) ocornut 2015-05-23 13:43:13 +0100
  • e7097d6176 WIP Menus: menus now affected by WindowMinSize (#126) ocornut 2015-05-23 13:03:09 +0100
  • 0240c0761b Revert "Calls to SetActiveId need to be tightly bound to setting pressed to true." Nathan Heckel 2015-05-22 18:10:21 +0900
  • fae2843327 Calls to SetActiveId need to be tightly bound to setting pressed to true. Nathan Heckel 2015-05-22 16:01:04 +0900
  • e3f2ad728a Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering ocornut 2015-05-21 22:57:29 +0100
  • cc3ed515ca Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives ocornut 2015-05-21 22:52:46 +0100
  • 882b4a5eb4 Merge remote-tracking branch 'origin' into 2015-05-menus ocornut 2015-05-21 22:51:21 +0100
  • 7fbe6574c6 Removed unnecessary PushTextureId/PushClipRect/PopClipRect/PopTextureId on multiple Begin/End pairs ocornut 2015-05-21 22:45:32 +0100
  • 8a6d543bc9 ImDrawList: merge draw command better, cases of multiple Begin/End gets merged properly ocornut 2015-05-21 22:43:28 +0100
  • 6a1eba2d0a Fixed appending multiple times to an existing child via multiple calls to same BeginChild/EndChild ocornut 2015-05-21 22:21:00 +0100
  • 14ab9708be Removed a few empty lines ocornut 2015-05-20 10:31:05 +0100
  • df276b82da Updated FAQ for usage of ## to display empty label ocornut 2015-05-19 23:33:55 +0100
  • 30a0193d73 Merge pull request #229 from gordonmcshane/osx-example-fix omar 2015-05-19 10:36:23 +0100
  • e43c5cd3d3 InputText: Fixed cursor generating a zero-width wireframe rectangle turning into a division by zero. ocornut 2015-05-18 23:42:12 +0100
  • 92ded00fd9 Merge remote-tracking branch 'origin' into 2015-05-menus ocornut 2015-05-18 23:32:32 +0100
  • 6ee65fc5af Add conditional compilation of forward compat. glfw window hint to fix crash on later versions of OSX Gordon McShane 2015-05-18 18:26:16 -0400
  • da53caf310 Moved ImVector<> after the main block (#219) ocornut 2015-05-18 22:33:43 +0100
  • b6f3c97e3b Examples: DirectX11: explicitly set rasterizer state. ocornut 2015-05-18 21:38:17 +0100
  • 0cdd050cd7 WIP Menus: fixed recycling menu level during the same frame (#126) ocornut 2015-05-18 21:26:46 +0100
  • 6da8a77fa3 WIP Menus: tidying up, fixed hovering in parent popup menu item from child popup (individual popups acts as hovering barrier) (#126) ocornut 2015-05-18 19:41:02 +0100
  • 9bdacaf08d WIP Menus: click again to toggle + allow hovering in same menuset even outside of a menubar (#126) ocornut 2015-05-18 19:12:36 +0100
  • 75ec4841df WIP Menus: menu opens on press (not release), uses popup style hovering, allow switch between menus at parent site (#126) ocornut 2015-05-18 18:44:15 +0100
  • e674df8101 Merge remote-tracking branch 'origin' into 2015-05-menus ocornut 2015-05-18 16:45:55 +0100
  • 097fe51f97 Hovering require to hover same child window. Reverted 860cf578f5 (December 3), replaced by a flag resize grip. ocornut 2015-05-18 16:42:55 +0100
  • 060f879816 Tweak internal ButtonBehavior() to ease passing extra options ocornut 2015-05-18 16:39:37 +0100
  • 7184de24b8 WIP Menus: scrolling section of the window is clipped by the menu bar (#126) ocornut 2015-05-18 15:54:56 +0100
  • 0e8c2f9d41 Comments ocornut 2015-05-18 14:10:59 +0100
  • a17c930d1f WIP Menus: Added example menu, move app examples to a sub-menu (#126) ocornut 2015-05-17 23:19:05 +0100
  • 09abf11e56 WIP Menus: BeginMenuBar() return false on window without a menu bar (#126) ocornut 2015-05-17 23:13:53 +0100
  • 4bd43bdb35 Renamed ImGuiWindowFlags_Menu to ImGuiWindowFlags_ChildMenu ocornut 2015-05-17 22:28:57 +0100
  • 7f3f3891c0 WIP Menus: fixed case where zero-sized display (e.g. minimised window) clips popups/menus and asserted (#126) ocornut 2015-05-17 22:15:40 +0100
  • 88d7b3de23 WIP Menus: fixed hovering handling of menus from menu bars (#126) ocornut 2015-05-17 17:21:49 +0100
  • f2b738648f WIP Menus: menu bars. Still inconsistency with hovering scheme. Will probably follow what Windows does. (#126). ocornut 2015-05-17 17:13:45 +0100
  • e0594340ff Moved internal window flags to higher bit-count ocornut 2015-05-17 16:29:00 +0100
  • 6251d37987 WIP Menus: further fixes for resizing (#126) ocornut 2015-05-17 15:48:56 +0100
  • f44526cc45 Selectable(): horizontal filling not declared to ItemSize() so Selectable(),SameLine() works and we can best auto-fit the window ocornut 2015-05-17 13:09:46 +0100
  • e912bcb36d Comments ocornut 2015-05-17 12:10:57 +0100
  • ecda785cbc Popups: fix to allow child popups to be opened from a normal window without an intermediate popup window. ocornut 2015-05-15 23:57:43 +0100
  • 4250357ed2 Selectable: using window->WindowPadding() to work within non-padded child windows ocornut 2015-05-15 22:39:52 +0100
  • 79a95256e8 Window: fixed auto-fit calculation mismatch of whether a scrollbar will be added by maximum height clamping. ocornut 2015-05-15 22:36:31 +0100
  • 3115e546aa Style editor: fixed slider for indent spacing. ocornut 2015-05-15 21:55:54 +0100
  • c1b55991c0 Window: fixed child window sizing lag + minimum size clamping lag ocornut 2015-05-15 21:40:45 +0100
  • 70f83a3a65 Popups: child popups (menus) hidden on their first frame the same way as regular popup ocornut 2015-05-15 20:35:28 +0100
  • e9b6e437eb Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering ocornut 2015-05-15 17:33:04 +0100
  • 1eafe86627 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives ocornut 2015-05-15 17:31:56 +0100
  • 81937d34a8 Popups: made OpenPopup()/close loops reclaim focus and update popup position. It is generally a mistake but it's now more easy to understand ocornut 2015-05-15 17:29:42 +0100
  • fa0f0f4507 ImVector: tweak growth strategy ocornut 2015-05-15 13:14:46 +0100
  • 1fe2906923 Metrics: do not count free(NULL) calls. Settings: contiguous allocations for ImGuiIniData. ocornut 2015-05-15 12:45:35 +0100