5385 Commits (2a6d7b1eaa1851e5b53d8c7a361a8d54f5a9ae8c)

Author SHA1 Message Date
ocornut 75ec4841df WIP Menus: menu opens on press (not release), uses popup style hovering, allow switch between menus at parent site (#126) ago%!(EXTRA string=10 years)
ocornut 097fe51f97 Hovering require to hover same child window. Reverted 860cf578f5 (December 3), replaced by a flag resize grip. ago%!(EXTRA string=10 years)
ocornut 060f879816 Tweak internal ButtonBehavior() to ease passing extra options ago%!(EXTRA string=10 years)
ocornut 7184de24b8 WIP Menus: scrolling section of the window is clipped by the menu bar (#126) ago%!(EXTRA string=10 years)
ocornut a17c930d1f WIP Menus: Added example menu, move app examples to a sub-menu (#126) ago%!(EXTRA string=10 years)
ocornut 09abf11e56 WIP Menus: BeginMenuBar() return false on window without a menu bar (#126) ago%!(EXTRA string=10 years)
ocornut 4bd43bdb35 Renamed ImGuiWindowFlags_Menu to ImGuiWindowFlags_ChildMenu ago%!(EXTRA string=10 years)
ocornut 7f3f3891c0 WIP Menus: fixed case where zero-sized display (e.g. minimised window) clips popups/menus and asserted (#126) ago%!(EXTRA string=10 years)
ocornut 88d7b3de23 WIP Menus: fixed hovering handling of menus from menu bars (#126) ago%!(EXTRA string=10 years)
ocornut f2b738648f WIP Menus: menu bars. Still inconsistency with hovering scheme. Will probably follow what Windows does. (#126). ago%!(EXTRA string=10 years)
ocornut 6251d37987 WIP Menus: further fixes for resizing (#126) ago%!(EXTRA string=10 years)
ocornut f44526cc45 Selectable(): horizontal filling not declared to ItemSize() so Selectable(),SameLine() works and we can best auto-fit the window ago%!(EXTRA string=10 years)
ocornut e912bcb36d Comments ago%!(EXTRA string=10 years)
ocornut ecda785cbc Popups: fix to allow child popups to be opened from a normal window without an intermediate popup window. ago%!(EXTRA string=10 years)
ocornut 4250357ed2 Selectable: using window->WindowPadding() to work within non-padded child windows ago%!(EXTRA string=10 years)
ocornut 79a95256e8 Window: fixed auto-fit calculation mismatch of whether a scrollbar will be added by maximum height clamping. ago%!(EXTRA string=10 years)
ocornut 3115e546aa Style editor: fixed slider for indent spacing. ago%!(EXTRA string=10 years)
ocornut c1b55991c0 Window: fixed child window sizing lag + minimum size clamping lag ago%!(EXTRA string=10 years)
ocornut 70f83a3a65 Popups: child popups (menus) hidden on their first frame the same way as regular popup ago%!(EXTRA string=10 years)
ocornut 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 ago%!(EXTRA string=10 years)
ocornut fa0f0f4507 ImVector: tweak growth strategy ago%!(EXTRA string=10 years)
ocornut 1fe2906923 Metrics: do not count free(NULL) calls. Settings: contiguous allocations for ImGuiIniData. ago%!(EXTRA string=10 years)
ocornut 900394a612 Metrics: metrics window shows popups list ago%!(EXTRA string=10 years)
ocornut 222a9231bb Examples: Console: example uses standard malloc/free, makes more sense as a copy & pastable example ago%!(EXTRA string=10 years)
ocornut d9ca8f3145 Added IO.MetricsAllocs counter (number of memory allocations ago%!(EXTRA string=10 years)
ocornut d9b2a90773 Popups: fixed child windows within popups vs handling of sub menus. Added examples. ago%!(EXTRA string=10 years)
ocornut 748072c045 Popups: identifying popups by their id to avoid conflict when recycling popup durnig same same (CloseCurrentPopup followed by Open+Begin) ago%!(EXTRA string=10 years)
ocornut e57ee2852a Comments ago%!(EXTRA string=10 years)
ocornut 1e4c22c206 Added io.MetricsActiveWindows counter (#213) ago%!(EXTRA string=10 years)
ocornut 5df542c3c0 ImFontAtlas: doesn't clear input data, left to the application. (#224) ago%!(EXTRA string=10 years)
ocornut 4b088ec7e8 ImFontAtlas: Fix toward allowing to add extra font without clearing existing one (need to comment out ClearInputData) (#224) ago%!(EXTRA string=10 years)
ocornut 9d9cf31972 ImFontAtlas: added ClearFonts(), making the different clear funcs more explicit (#224) ago%!(EXTRA string=10 years)
ocornut ad79db32c7 Window title text centering tweaks, RenderTextClipped() now has different args for pos_max and clip_max #222 ago%!(EXTRA string=10 years)
ocornut 356a37edcf Added window title text horizontal alignment option (#222),, ImGuiAlign_ type for future use. ago%!(EXTRA string=10 years)
ocornut 9be3319653 Tweaks, comments around ImFontAtlas ago%!(EXTRA string=10 years)
ocornut 515e0c6122 Cleanup, merged duplicate code into a function ago%!(EXTRA string=10 years)
ocornut 317744489f WIP Menus: sub-menu arrow alignment take account of extension by other widgets (#126) ago%!(EXTRA string=10 years)
ocornut ba7a4fc034 WIP Menus: minor cleanup using a ImGuiSimpleColumns helper type (#126) ago%!(EXTRA string=10 years)
ocornut 7fb704d308 WIP intermediary branch commit for menus, submenus (some large inconsistencies remaining in API + need cleanup) (#126) ago%!(EXTRA string=10 years)
ocornut 79198fd6a5 Default item width for AlwaysAutoResize windows expressed as a factor of font height ago%!(EXTRA string=10 years)
ocornut 34aad73fd8 Added ImGuiCol_TextDisabled ago%!(EXTRA string=10 years)
ocornut 141ac8beab Tweaks ago%!(EXTRA string=10 years)
Emmanuel Durand b3faed610d Renamed flags to extra_flags in last commit ago%!(EXTRA string=10 years)
ocornut fcd08ed8d4 BeginPopup() API had to be changed! :( Proper support for stacked popups, leading into menus (wip #126) ago%!(EXTRA string=10 years)
Emmanuel Durand 94b7c9e307 Input text flags added to InputFloatN and InputIntN ago%!(EXTRA string=10 years)
Stefano Cristiano 99a1a85f1f Example fix PopStyleVar on Vertical Slider to avoid assertion ago%!(EXTRA string=10 years)
ocornut 4a41ce9414 InputText: make sure Ctrl+V has ONLY the control key pressed (follow up to #214) + tidying ago%!(EXTRA string=10 years)
ocornut c2c43928a9 Untabifiy ago%!(EXTRA string=10 years)
ghassanpl bb2d3a8b41 * make sure letter-key shortcuts have ONLY the control key pressed (fixes bug for AltGr->Ctrl+Alt on windows) ago%!(EXTRA string=10 years)
ocornut 6c1084eaa1 Shutdown() test for g.IO.Fonts not being NULL to allow workarounds in case of using multiple contexts #207 ago%!(EXTRA string=10 years)