Commit Graph

4375 Commits (e11610d6fffb8483837bb7376c2781374c3bc8d8)
 

Author SHA1 Message Date
ocornut c4cb768432 Comments
ocornut 01f74781b0 Merge branch 'master' of https://github.com/ocornut/imgui
ocornut 9417df2a26 Renamed IsRectClipped to IsRectVisible for consistency. Note that return value is opposite! Kept inline redirection function (will obsolete)
omar abd0e85fc6 Update README.md - supporters
ocornut 5ea23977f7 Fixed uninitialized fields in constructor - wouldn't have caused a problem (thanks Coverity!)
ocornut f1f3424cdd Popups WantCaptureMouse active when popups/menus are active + using tracked mouse button ownership when mouse down ()
ocornut 73d1126bf4 Examples: OCD tweaks, a sign that we are near the release!
ocornut 448b262b37 Examples: Comments.
ocornut 83770e5e40 Examples: Tweaks. Usnig sprintf() in user-copiable code.
ocornut 0db6bac590 Examples: Tweaks, demo code creating graph data actually creates data at the correct rate.
ocornut 9ace617e7e Examples: Tiding up. Moved Dragging example higher up.
ocornut 616a7e6c61 Examples: Using a helper function for ? markers
ocornut d86785ac98 Examples: Fixed Simple Layout example always showing. Using BeginPopupContextItem().
ocornut 4144c59ce4 Added Simple Layout example applet
ocornut 15a26a479b Fixed auto-filling child window using WindowMinSize at their minimum size, irrelevant. Using an arbitrary small number instead.
ocornut f0781d3a24 Added GetItemsLineHeightWithSpacing() helper.
ocornut aaefe462bb Popups: calling OpenPopup() on already open popup doesn't close it's child ()
Fixed previous commit.
ocornut 78dc54ab3d Popups: calling OpenPopup() on already open popup doesn't close it's child ()
It think it makes more sense? Maybe?
Note that calling OpenPopup() every frame probably doesn't make sense.
ocornut 7847100ad8 Tweak BeginMenu() code
ocornut 733e079081 Moved CloseInactivePopups() and tweaked.
ocornut 95e2afcad6 Updated to stb_truetype 1.05
omar 46a27cdb6b Merge pull request from bkaradzic/master
Define STBTT_DEF extern when STBTT not compiled with ImGui.
Branimir Karadžić 123fd73c8c Merge remote-tracking branch 'upstream/master'
Branimir Karadžić cd9244ab15 Define STBTT_DEF extern when STBTT not compiled with ImGui.
ocornut dcc7df2b21 Added BeginPopupContextVoid() helper for completeness ()
ocornut 235cca4f97 Fix to allow opening popup from a left-click on void or another window (because left-click would normally override focus immediately) ()
Neither appears to be really useful frankly.
ocornut 1cb6a294b0 BeginPopupContextWindow() rearranged and clarified parameters ()
ocornut b0a9bbf6f6 Popup taking focus deactivate focused widget of other window ()
e.g. focus InputText(), open contextual popup, input text used to stay
focused
ocornut f8b7d5c76d Tracking ActiveIdWindow along with ActiveId
ocornut 938528e5ee Added BeginPopupContextItem() / BeginPopupContextWindow() ()
ocornut 5b0861768e Fixed GetId()/BeginPopup() accessing current window in "append" mode
ocornut 8c4c421f74 Added IsAnyItemHovered() public helper.
ocornut 70f2ff0e5a No minimum size for popups
ocornut 99ff45ad2e Tweak context menu example
ocornut 90db64d4e3 Added context menu example on a DragFloat widget
ocornut 487500d291 Tweaks
ocornut 7d28fe5915 WIP Menus: Reverted f26de46350 for now ()
ocornut d05c1d58c3 Oops
ocornut 405785ea62 ItemWidthStack can be empty, to remove one allocation per window
ocornut 0a7024c198 Store common stacked settings contiguously in memory to reduce cache misses & unnecessary heap allocations
ocornut 3d36c81241 Added PushButtonRepeat() / PopButtonRepeat(). REMOVED third 'repeat_if_held' parameter of Button() !
ocornut d69f2f57ee Added configurable io.KeyRepeatDelay, io.KeyRepeatRate
ocornut 904e187f70 Simplified some widget code, moving alignment to RenderTextClipped()
ocornut 3c264827fd Reordering parameters of internal RenderTextClipped()
ocornut f841097e99 Button centering left to RenderTextClipped function.
ocornut f26de46350 Button() closes active popup () unsure about that
ocornut e6ac9e88aa Refactor Button() and SmallButton() into a shared function ButtonEx()
ocornut b8ee48a74b OpenPopup() Comments
ocornut 843219daec Spacing + untabify
ocornut 7b8b5754bc EndGroup() carries on the text base offset from the last line of the group (sort of incorrect but better than nothing)