9417df2a26
Renamed IsRectClipped to IsRectVisible for consistency. Note that return value is opposite! Kept inline redirection function (will obsolete)
ocornut2015-05-31 09:12:07 +01:00
5ea23977f7
Fixed uninitialized fields in constructor - wouldn't have caused a problem (thanks Coverity!)
ocornut2015-05-29 14:54:33 +01:00
f1f3424cdd
Popups WantCaptureMouse active when popups/menus are active + using tracked mouse button ownership when mouse down (#126)
ocornut2015-05-29 11:42:35 +01:00
73d1126bf4
Examples: OCD tweaks, a sign that we are near the release!
ocornut2015-05-29 11:15:24 +01:00
0db6bac590
Examples: Tweaks, demo code creating graph data actually creates data at the correct rate.
ocornut2015-05-29 11:01:53 +01:00
9ace617e7e
Examples: Tiding up. Moved Dragging example higher up.
ocornut2015-05-29 10:52:45 +01:00
616a7e6c61
Examples: Using a helper function for ? markers
ocornut2015-05-29 10:44:30 +01:00
d86785ac98
Examples: Fixed Simple Layout example always showing. Using BeginPopupContextItem().
ocornut2015-05-29 10:36:33 +01:00
4144c59ce4
Added Simple Layout example applet
ocornut2015-05-29 10:29:26 +01:00
15a26a479b
Fixed auto-filling child window using WindowMinSize at their minimum size, irrelevant. Using an arbitrary small number instead.
ocornut2015-05-29 10:24:03 +01:00
cd9244ab15
Define STBTT_DEF extern when STBTT not compiled with ImGui.
Branimir Karadžić2015-05-27 16:12:52 -07:00
dcc7df2b21
Added BeginPopupContextVoid() helper for completeness (#126)
ocornut2015-05-27 23:28:53 +01:00
235cca4f97
Fix to allow opening popup from a left-click on void or another window (because left-click would normally override focus immediately) (#126)
ocornut2015-05-27 23:24:39 +01:00
1cb6a294b0
BeginPopupContextWindow() rearranged and clarified parameters (#126)
ocornut2015-05-27 23:07:24 +01:00
b0a9bbf6f6
Popup taking focus deactivate focused widget of other window (#126)
ocornut2015-05-27 22:58:49 +01:00
f8b7d5c76d
Tracking ActiveIdWindow along with ActiveId
ocornut2015-05-27 22:53:43 +01:00
405785ea62
ItemWidthStack can be empty, to remove one allocation per window
ocornut2015-05-27 15:42:29 +01:00
0a7024c198
Store common stacked settings contiguously in memory to reduce cache misses & unnecessary heap allocations
ocornut2015-05-27 15:35:49 +01:00
3d36c81241
Added PushButtonRepeat() / PopButtonRepeat(). REMOVED third 'repeat_if_held' parameter of Button() !
ocornut2015-05-27 15:22:09 +01:00
7b8b5754bc
EndGroup() carries on the text base offset from the last line of the group (sort of incorrect but better than nothing)
ocornut2015-05-26 22:13:07 +01:00
6f32684f15
Examples: various usage comments.
ocornut2015-05-26 21:36:44 +01:00
3a6e6645e6
WIP Menus: Fixed remaining inconsistency with stacks of popups. Activating/closing a menu close the parent popup. Added test case. (#126)
ocornut2015-05-26 20:33:48 +01:00
90cf77b191
Merge remote-tracking branch 'origin' into 2015-05-menus
ocornut2015-05-26 18:03:46 +01:00
6b3ccd3edf
WIP Menus: Added support for disabled sub-menu (#126)
ocornut2015-05-26 18:02:42 +01:00
0db122bc3b
Comments. Examples: added empty if (MenuItem()) {} statements in more places to better document the typical use cases (#126)
ocornut2015-05-26 17:48:28 +01:00
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)
ocornut2015-05-24 23:17:06 +01:00
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)
ocornut2015-05-24 22:33:04 +01:00
48ede93a58
WIP Menus: Fixed closing popup on menu item activation when a child menu is open from the popup (#126)
ocornut2015-05-24 22:30:48 +01:00
e6b1e39847
WIP Menus: don't clamp windows within display when a position has been explicitly set by user. Menu item spacing uses ItemSpacing. (#126)
ocornut2015-05-23 13:43:13 +01:00
e7097d6176
WIP Menus: menus now affected by WindowMinSize (#126)
ocornut2015-05-23 13:03:09 +01:00
e3f2ad728a
Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
ocornut2015-05-21 22:57:29 +01:00
cc3ed515ca
Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut2015-05-21 22:52:46 +01:00
882b4a5eb4
Merge remote-tracking branch 'origin' into 2015-05-menus
ocornut2015-05-21 22:51:21 +01:00