Commit Graph

  • 0236bc246f Scrollbar: Fade out and disable interaction when too small, in order to facilitate using the resize grab on very small window, as well as reducing visual noise/overlap. (+1 squashed commits) Internals: Added GetScrollbarID(). (#1185) omar 2019-02-14 13:25:23 +0100
  • b46076458c Examples: Win32: Removed unused code left-over from merge e9c625a1dc omar 2019-02-13 18:29:49 +0100
  • 57a586b4f1 Font: Moved functions to internal block (not enforced). Made ConfigData pointer const. Added link to stb's notes. omar 2019-02-13 18:21:21 +0100
  • fcdf704dfa Changelog: Added changelog from 1.40 to 1.47 (pasted from the Releases section) + some wrapping. omar 2019-02-13 12:52:12 +0100
  • cbc8e57410 Update README.md - change imgui-sfml link (#2345) Elias Daler 2019-02-13 13:50:14 +0300
  • 97551563c4
    Update README.md - change imgui-sfml link Elias Daler 2019-02-13 01:13:55 +0300
  • 417cf2237f Font: Fixed high-level ImGui::CalcTextSize() used by most widgets from erroneously subtracting 1.0f*scale to calculated text width. Among noticeable side-effects, it would make sequences of repeated Text/SameLine calls not align the same as a single call, and create mismatch between high-level size calculation and those performed with the lower-level ImDrawList api. (#792) omar 2019-02-12 22:43:56 +0100
  • 0640b6e67c Shallow tweaks omar 2019-02-12 16:31:49 +0100
  • 96480a1656 treat ctrl-left-click as right click when ConfigMacOSXBehaviors is true haldean 2019-02-11 15:29:46 -0800
  • 8691b56136 Merge branch 'master' into docking omar 2019-02-12 10:30:48 +0100
  • cc80d8e118 Examples: Metal: Compilation fix. omar 2019-02-12 10:30:09 +0100
  • 169e3981fd Examples: OpenGL2: Added #define GL_SILENCE_DEPRECATION to cope with newer XCode warnings. omar 2019-02-11 19:09:54 +0100
  • 7f6a025c93 Viewport: SDL: Inherit SDL_WINDOW_ALLOW_HIGHDPI flag from main viewport. (#2306) omar 2019-02-11 19:00:33 +0100
  • 2cada3c143 Merge branch 'master' into docking omar 2019-02-11 18:53:24 +0100
  • d16dbc5b87 Examples: SDL: Using the SDL_WINDOW_ALLOW_HIGHDPI flag. (#2306, #1676) [@rasky] omar 2019-02-11 18:45:08 +0100
  • a79785c0b9 ImDrawData: Added FramebufferScale field (currently a copy of the value from io.DisplayFramebufferScale). This is to allow render functions being written without pulling any data from ImGuiIO, allowing incoming multi-viewport feature to behave on Retina display and with multiple displays. If you are not using a custom binding, please update your render function code ahead of time, and use draw_data->FramebufferScale instead of io.DisplayFramebufferScale. (#2306, #1676) Examples: Metal, OpenGL2, OpenGL3: Fixed offsetting of clipping rectangle with ImDrawData::DisplayPos != (0,0) when the display frame-buffer scale scale is not (1,1). While this doesn't make a difference when using master branch, this is effectively fixing support for multi-viewport with Mac Retina Displays on those examples. (#2306) Also using ImDrawData::FramebufferScale instead of io.DisplayFramebufferScale. Examples: Clarified the use the ImDrawData::DisplayPos to offset clipping rectangles. omar 2019-02-11 18:38:07 +0100
  • ef7940699e Examples: Metal: Removed unnecessary loop. Fixed OSX Clang warning in imstb_truetype. (#1929, #1873) Omar Cornut 2019-02-11 17:38:34 +0100
  • f3a87db1c6 Added CMakeFile tested on linux only Matteo Mandelli 2019-02-09 17:11:25 +0000
  • 4b41d3b280 ImFont: Rearranged members toward an optimal CalcTextSize() loop. Removed comments from destructor. Made constructor more explicit. omar 2019-02-09 15:54:01 +0100
  • cf5a93ac37 Added premake file. TheCherno 2019-02-09 11:59:05 +1100
  • 539f69b950 Updated STB libraries to latest (drift has been reduced with nothings/stb as most of our changes were merged). Using [DEAR IMGUI] markers when changed. omar 2019-02-08 15:24:59 +0100
  • 00c637961b Demo: Font selector allow selecting fonts with same debug name. (#2332) omar 2019-02-08 14:50:36 +0100
  • afc36cf802 Window: Fixed initial width of collapsed windows not taking account of contents width (broken in 1.67). (#2336, #176) omar 2019-02-08 14:34:42 +0100
  • 0cf2c05925 Fixed auto-resize collapse bug introduced by d9a84de Jeremy Simpson 2019-02-07 20:05:24 -0800
  • 1b63ded8fa Tabs: Fixed border (when enabled) so it is aligned correctly mid-pixel and appears as bright as other borders. omar 2019-02-07 12:06:48 +0100
  • 4a3a895be9 Merge branch 'master' into docking omar 2019-02-06 14:47:53 +0100
  • 29d38b59d0 ListBox/InputTextMultiline: Better optimized when clipped / non-visible. omar 2019-02-06 14:46:14 +0100
  • 62084aac0f DragScalarN, SliderScalarN, InputScalarN: Removed unnecessary string id after the integer PushID() calls. omar 2019-02-06 14:39:00 +0100
  • f366828dd2 Minor tweaks to reduce false positive of PVS Studio static analyzer. omar 2019-02-06 13:08:30 +0100
  • 5bdc7d7a6f Menus: Tweaked horizontal overlap between parent and child menu (to help convey relative depth) from using style.ItemSpacing.x to style.ItemInnerSpacing.x, the later being expected to be smaller. (#1086) omar 2019-02-06 12:32:10 +0100
  • e3dd95d335 Added IsItemActivated() as an extension to the IsItemDeactivated/IsItemDeactivatedAfterEdit functions which are useful to implement variety of undo patterns. (#820, #956, #1875) omar 2019-02-06 11:52:42 +0100
  • c59611a3b3 InputText: Fixed redo buffer exhaustion handling (rare) which could corrupt the undo character buffer. (#2333) omar 2019-02-05 23:38:57 +0100
  • 97ed97b8ce Plot: Register an ID to take the click the same way as other framed widgets. Set HoveredId in the FramePadding zone (between inner_bb and frame_bb). omar 2019-02-05 18:59:42 +0100
  • cef4e086ba Internals: Selectable: Fixed rendering width miscalculation when starting pos is not line start pos, which would generally be unnoticeable. Could affect group lock X with a smaller SetCursorPos value but that's unlikely to be used. omar 2019-02-05 18:10:33 +0100
  • b8c24aff4c Internals: EndGroup: Removed unnecesary parameter to ItemSize() omar 2019-02-05 18:03:27 +0100
  • 521470b3cd Internals: Removed unnecessary code. omar 2019-02-05 17:51:01 +0100
  • f6fbb99a9c Examples: SDL: Fix for Emscripten/Android/iOS on Docking branch. omar 2019-02-05 15:45:26 +0100
  • 5a95c77388 Merge branch 'master' of https://github.com/ocornut/imgui omar 2019-02-05 13:53:09 +0100
  • be107ba8f8 Merge branch 'master' into docking omar 2019-02-05 13:45:21 +0100
  • b980e0077a Tabs: Moved Tab List Popup to left-side to match docking button. Highlight selected tab. (#261, #351) omar 2019-02-05 13:39:48 +0100
  • d38f4dc143 Tabs: Non-docking tab bars are storing names to allow tab list button + whole style scaling. Added ImGuiTabBarFlags_TabListPopupButton flag to show a popup button on manual tab bars. Locking FramePadding for the scope of a tab-bar to avoid sheering/clipping of tab item. Made scaling of tab ellipsis less awkward. (#261, #351) omar 2019-02-05 13:16:09 +0100
  • d93e3c17fc ImGuiTextBuffer: Fix size() to allow using ImGuiTextBuffer with resize(0) patterns. omar 2019-02-05 13:13:35 +0100
  • 65c972e9e4
    Update README.md omar 2019-02-05 11:45:19 +0100
  • f7c879eb60 RadioButton: Fixed label horizontal alignment to precisely match Checkbox(). + Internals: Checkbox, RadioButton: Single call to ItemSize() for flow layout purpose. omar 2019-02-04 23:19:19 +0100
  • 0b05ba18df Internals: DragScalar, SliderScalar: Calling ItemSize before ItemAdd as with every other widgets so we can more easily rearrange the signature of ItemXXX functions (toward allowing non-rounded sizes for scaling and flow layout). omar 2019-02-04 22:36:46 +0100
  • 8e44aacc8e Fonts: Fixed crash if FontGlobalScale is zero. Correctly debug naming default font if not 13 px. Demo: Moved PopupRounding along with other rounding values. Metrics: Displaying indexes with idx to be correct / less misleading. omar 2019-02-04 14:38:35 +0100
  • f902435a53 Docking: Fixed less of node size/pos caused by 1f2bdd37 (#2109) omar 2019-02-03 18:58:07 +0100
  • 80d51c692a Docking: Fixed dragging docked window with _NoMove flag (#2325) omar 2019-02-03 18:44:30 +0100
  • 7227454dca Merge branch 'master' into docking omar 2019-02-03 17:31:16 +0100
  • c23a19c26f Internals: Exposed internal SetWindowPos to imgui_internal.h (for imgui-test) omar 2019-02-03 17:29:51 +0100
  • f087359621 Revert part of change from 5536eded. Fixed drag and drop in docking branch. (#2331, reopening #2325) omar 2019-02-03 13:54:04 +0100
  • e215809c4d Removed io.DisplayVisibleMin/DisplayVisibleMax (which were marked obsolete and removed from viewport/docking branch already). omar 2019-02-01 16:37:07 +0100
  • ac6d474103 Removed io.DisplayVisibleMin/DisplayVisibleMax (which were marked obsolete and removed from viewport/docking branch already). omar 2019-02-01 16:37:07 +0100
  • 03b0266b59 Examples: Made imgui_impl_win32 drag gdi32.lib for GetDeviceCaps(). (#2327) omar 2019-02-01 15:23:25 +0100
  • 5fc6899dc2 Examples: OpenGL3: Using GLSL 4.10 shaders for any GLSL version over 410 (e.g. 430, 450). (#2329) [@BrutPitt] omar 2019-02-01 15:13:54 +0100
  • d1c45c0d76 Merge branch 'master' into docking (enable range_select merge) omar 2019-02-01 12:25:49 +0100
  • 5cb7040f66 Internals: Tracking dummy select scope id (currently always zero) to facilitate merging of the range_select branch. (#1861) omar 2019-02-01 12:14:12 +0100
  • d5945aa25b Internals: Minor changes to TreeNodeBehavior() and Selectable() for the benefit of fhe range_select branch. (#1861) omar 2019-02-01 12:11:27 +0100
  • 0d4a2a2cd0 Internals: Track ActiveIdHasBeenPressed (similar to ActiveIdHasBeenEdited). This is currently mostly for the benefit of the range_select branch. (#1861) omar 2019-02-01 12:04:42 +0100
  • e30babef09 Fixed Clang/Win32 warning. omar 2019-02-01 11:22:53 +0100
  • a608156da3 Merge branch 'master' into docking omar 2019-02-01 11:19:15 +0100
  • 65a2350a5f Docking: Extracted code into a DocknodeUpdateTabListMenu() functions + minor other changes. omar 2019-02-01 11:12:37 +0100
  • cbf24a9151 Comments. Fix duplicate entries in About box. Synchronize a few small changes from Master branch. omar 2019-02-01 11:04:04 +0100
  • 52a9f8bd3e Merged from Docking branch: Various small changes, comments, typos fixes, moved blocks. To reduce overall drift. Should be no-op. omar 2019-02-01 10:26:08 +0100
  • 699e945a82 Merged from Docking branch: non-const ImVec2[] operator. omar 2019-02-01 10:22:46 +0100
  • 0ecca3bd13
    Merge pull request #2 from ocornut/docking Yan Chernikov 2019-02-01 12:23:55 +1100
  • 617da092f8 build fix Wesley Pesetti 2019-01-31 13:16:33 -0800
  • 42fc6e75e3 Add Combo flag to allow left alignment of arrow button Francis Hart 2019-01-31 21:51:16 +0200
  • 1d03a06bbb Fix example_win32_directx11 linker settings. Tom Seddon 2019-01-31 18:33:23 +0000
  • f906d53f7d Merge branch 'master' into docking omar 2019-01-31 19:19:35 +0100
  • 1f2bdd37b3 Docking: Builder: Added DockBuilderSetNodePos, DockBuilderSetNodeSize, allow DockBuilderAddNode creating floating node (dockspace requires ImGuiDockNodeFlags_Dockspace) (#2109) omar 2019-01-31 17:01:07 +0100
  • dc8ff68871 Docking: VisibleWindow of a node spread its _NoMove attribute to the node (fixed dragging or undocking of dock node host from collapse button). (#2325, #2109) omar 2019-01-31 15:22:40 +0100
  • 5536edede9 Docking: Fixed faulty undocking of windows with the _NoMove flag. (#2325, #2109) Whereas BeginAsDockableDragDropTarget could be reworked to filter, we simply set g.HoveredWindowUnderMovingWindow to be NULL when MovingWindow is not set, which was the initial intent. Also fixed some comments and removed unused braces in TabItemEx(). omar 2019-01-31 14:59:45 +0100
  • 578e15f006 Docking: Removed unnecessary ImGuiTabItemFlags_DockedWindow internal flag. omar 2019-01-31 14:55:00 +0100
  • 2d363fa315 Fixed doc typo (#2326) Michael Savage 2019-01-31 15:19:15 +0200
  • 32740d35a2 Docs typo Michael Savage 2019-01-31 15:10:16 +0200
  • 16c0a0217c Updating supporter list. omar 2019-01-31 13:42:53 +0100
  • e1143377c2 Viewport: Added ImGuiViewportFlags_NoFocusOnClick + support in imgui_impl_win32. Made windows with no decoration always set the _NoFocus flags. (#1542, #2117) Fix e.g. clicking on protruding combo box stealing highlight from parent window with decoration. omar 2019-01-30 21:21:59 +0100
  • 8563ef3ce4 Viewport: Popups by default merge into parent/host viewport as they have no decoration (same as menu/child). (#1542) omar 2019-01-30 21:13:07 +0100
  • 39e109f096 Removed imgui_enabled, moved to minecraft props Wesley Pesetti 2019-01-30 11:57:39 -0800
  • 1fb57c97c6 Internals: InputScalarAsWidgetReplacement: Fixed seemingly unnecessary calling of SetActiveID/SetHoveredID every frame, which in turns allow us to remove the g.ActiveIdAllow/Block settings duplicated. omar 2019-01-30 15:41:20 +0100
  • fb4f1ff7f6 InputText: Fixed a bug where ESCAPE would be first captured by the Keyboard Navigation code. (#2321, #787) omar 2019-01-30 15:16:09 +0100
  • 158995f271 InputText: Fixed a bug where ESCAPE would not restore the initial value in all situations. (#2321) [@relick] omar 2019-01-30 13:15:14 +0100
  • 0a233a505d imgui-test: Added extra item info callbacks. Using nav_bb for interactions when possible. Comments, Demo tweaks. omar 2019-01-30 10:52:13 +0100
  • aacf993ee1 ImStrncpy: Fixed -Wstringop-truncation warning on GCC8 (#2323) Francisco Gallego 2019-01-30 10:19:40 +0100
  • 536e409bbe Fixed -Wstringop-truncation on GCC8 ronaldo 2019-01-29 21:28:07 +0100
  • 37fb531d1c Docking: Comments and tidying up (should be no-op) omar 2019-01-29 18:54:56 +0100
  • 86d3bba157 Added ImGuiDockNodeFlags_AutoHideTabBar. (#2109) omar 2019-01-29 15:40:38 +0100
  • 2ccc6d2ed1 Docking: Exposing extra flag in Configuration panel. Moved some forgotten Changelog entries at the right place. omar 2019-01-29 15:40:18 +0100
  • ed240c910b Demo: Fixed "Log" demo not initializing properly, leading to the first line not showing before a Clear. (#2318) [@bluescan] omar 2019-01-29 14:36:55 +0100
  • 8a4422b2fa Fixed CloseCurrentPopup() on a child-menu of a modal incorrectly closing the modal. (#2308) omar 2019-01-27 23:54:17 +0100
  • 13ca2fe845 Silence XCode static analysis false positive (#2309) omar 2019-01-27 23:30:44 +0100
  • 8a605354ef Replacing one of the third-party Python bindings. (#2312) Marc-Alexandre Espiaut 2019-01-27 21:59:48 +0100
  • 2afe25a47f
    Replacing one of the third-party Python bindings. Marc-Alexandre Espiaut 2019-01-27 21:31:15 +0100
  • 13a5f5ba8b Merge branch 'master' into docking omar 2019-01-27 16:46:35 +0100
  • b26ac92a12 Revert "Added PushID(size_t sz) helper (may not be useful/meaningful for non C/C++ languages)." omar 2019-01-27 16:43:56 +0100
  • f56d9b74cc Nav: Removed unnecessary test (always failing). omar 2019-01-27 16:37:02 +0100
  • 4e8e177cac Persistently fixing some PVS-Studio static analyzer false positive warnings. omar 2019-01-27 16:35:48 +0100
  • ee3b4f2bf1 Using IM_UNUSED() macro. omar 2019-01-27 16:23:23 +0100
  • c3c2cd1e82 Fix various XCode and PVS-Studio static analyzer warnings (#2309) omar 2019-01-27 15:27:49 +0100