Commit Graph

  • cbd5a21fb0 Backends: DX10/DX11: Backup, clear and restore Geometry Shader is any is bound when calling renderer. Backends: DX11: Clear Hull Shader, Domain Shader, Compute Shader before rendering. Not backing/restoring them. omar 2019-07-21 19:26:13 -0700
  • 29d9394a41 OSX: Disabled default native Mac clipboard copy/paste implementation in core library (added in 1.71), because it needs application to be linked with '-framework ApplicationServices'. It can be explicitly enabled back by using '#define IMGUI_ENABLE_OSX_DEFAULT_CLIPBOARD_FUNCTIONS' in imconfig.h. Re-added equivalent using NSPasteboard api in the imgui_impl_osx.mm experimental back-end. (#2546) omar 2019-07-21 19:06:07 -0700
  • f0348ddffc Amend 0f86116, renamed to ImGuiKey_KeyPadEnter Changelog.. (#2677, #2005) omar 2019-07-21 18:39:50 -0700
  • 0f86116a69 Adding an ImGuiKey 'ImGuiKey_EnterSecondary' to support platforms that differentiate the enter (return key) and the numpad enter key. Aaron Cooper 2019-07-18 17:24:56 -0700
  • 4b44f25c9a Fixed incorrect application of io.DisplaySafeAreaPadding which would be problematic with multi-viewports when a monitor uses negative coordinates (correct clamping is done right below). (#2674) omar 2019-07-21 18:19:56 -0700
  • f1ba217a92 Internals: Extracted some code out of the NewFrame() function. omar 2019-07-21 12:13:44 -0700
  • 47f5ad32b7 Perform simple check: error if Docking or Viewport are enabled _exactly_ on frame 1 (instead of frame 0 or later), which is a common error leading to loss of .ini data. (#2109) omar 2019-07-21 12:05:04 -0700
  • c37f21788f Columns: Made GetColumnOffset() and GetColumnWidth() behave when there's no column set, consistently with other column functions + fixed Columns demo (#2683) omar 2019-07-21 11:23:15 -0700
  • 9f35ba8546 Merge branch 'master' into docking omar 2019-07-19 15:19:10 -0700
  • b443bc0a64 Columns: Improved honoring alignment with various values of ItemSpacing.x and WindowPadding.x. (#125, #2666) omar 2019-07-19 14:22:33 -0700
  • 4abc2a82e0 Columns: Made the right-most edge reaches up to the clipping rectangle (removing WindowPadding.x*0.5 worth of asymmetrical/extraneous padding). (#125, #2666) + Moved a few things in BeginColumns(). omar 2019-07-19 13:28:40 -0700
  • 493795cdd1 Columns: Fix support for BeginColumns() with a count of 1 (not that this isn't available via the old Columns() api). Tweaked Demo to facilitate testing for it. omar 2019-07-19 12:11:00 -0700
  • 047dc16af5 Debug Tools: Added DebugStartItemPicker() in imgui_internal.h to facilitate binding this anywhere in user's tool. Adedd highlight. Added IMGUI_DEBUG_TOOL_ITEM_PICKER_EX to break in ItemAdd(). ocornut 2019-07-19 10:48:22 -0700
  • 44336950e9 Revert "Columns: Improved honoring left-most and right-most alignment with various values of ItemSpacing.x and WindowPadding.x. In particular, the right-most edge now reaches up to the clipping rectangle while ensuring that the right-most column clipping width matches others. (#125, #2666)" omar 2019-07-19 11:22:39 -0700
  • 9012fa48fd Adding an ImGuiKey 'ImGuiKey_EnterSecondary' to support platforms that differentiate the enter (return key) and the numpad enter key. Aaron Cooper 2019-07-18 17:24:56 -0700
  • 7fd34d4f30 Merge branch 'master' into docking omar 2019-07-17 18:48:16 -0700
  • 6c16ba6490 Columns: Improved honoring left-most and right-most alignment with various values of ItemSpacing.x and WindowPadding.x. In particular, the right-most edge now reaches up to the clipping rectangle while ensuring that the right-most column clipping width matches others. (#125, #2666) omar 2019-07-17 18:40:48 -0700
  • e28d20c3e2 Columns: Fixed a regression from 1.71 where the right-side of the contents rectangle within each column would wrongly use a WindowPadding.x instead of ItemSpacing.x like it always did. (#125, #2666) omar 2019-07-17 17:09:47 -0700
  • 61c7f0194e Misc: Made Button(), ColorButton() not trigger an "edited" event leading to IsItemDeactivatedAfterEdit() returning true. This also effectively make ColorEdit4() not incorrect trigger IsItemDeactivatedAfterEdit() when clicking the color button to open the picker popup. (#1875) Demo: Added Button with repeater and InputFloat with +/- button to the status query test demo. omar 2019-07-17 15:11:52 -0700
  • 1f3feb481e Internals: Refactor: Moved all Columns code from imgui.cpp to imgui_widgets.cpp (#125) Also moved NextColumn between BeginColumn and NextColumn which makes it easier to work on that code. omar 2019-07-17 14:02:45 -0700
  • bb2aa5e770 Docking: Making it possible to undock a node by clicking on the tab bar / title bar for the node. (#2645, #2109) omar 2019-07-17 13:55:00 -0700
  • ea79992d9a Fixed old SetWindowFontScale() api value from not being inherited by child window. Added comments about the right way to scale your UI (load a font at the right side, rebuild atlas, scale style). + Added missing IMGUI_API marker to the EmptyString storage used by ImGuiTextBuffer. (#2672) omar 2019-07-17 09:59:10 -0700
  • 56e10f1c35 Merge branch 'master' into docking omar 2019-07-16 18:29:31 -0700
  • 130b44994e Debug, Metrics: Added "Tools->Item Picker" tool which allow clicking on a widget to break in the debugger within the item code. The tool calls IM_DEBUG_BREAK() which can be redefined in imconfig.h if needed. omar 2019-07-16 18:25:49 -0700
  • e6a286b3a5 Style: Added style.ColorButtonButton (left/right, defaults to ImGuiDir_Right) to move the color button of ColorEdit3/ColorEdit4 functions to either side of the inputs. omar 2019-07-16 16:43:21 -0700
  • 718e15c7de Docking: Fix so that an appearing window making a dock node reappear won't have a zero-size on its first frame (because dock node ->Size was 0.0 unlike ->SizeRef) (#2109) Docking: Added ImGuiDockNode to .natvis file. omar 2019-07-16 11:45:52 -0700
  • 7a214eaa53 Add PlotEx default return value of -1 (no hovered lines/cols) Damian Korczowski 2019-07-16 15:04:34 +0200
  • 87a69a5476 Set PlotEx return type to int Damian Korczowski 2019-07-16 14:57:02 +0200
  • fb22a5c5cd Add PlotLines/PlotHistotgram return value (hovered line segment/column). Damian Korczowski 2019-07-16 14:41:58 +0200
  • a35f42f123 Removed TreeAdvanceToLabelPos() which is rarely used and only does SetCursorPosX(GetCursorPosX() + GetTreeNodeToLabelSpacing()). Kept redirection function (will obsolete). (#581, #324) omar 2019-07-15 18:14:14 -0700
  • 3d07c7cbe4 TabBar: Fixed unfocused tab bar separator color (was using ImGuiCol_Tab, should use ImGuiCol_TabUnfocusedActive). omar 2019-07-15 17:56:20 -0700
  • 7a9d32acee Fixed unnecessary test in UpdateMouseWheel() (thanks PVS). TreeNodeBehavior: avoid computing bg_col for non-framed non-active tree nodes. Comments, binaries update, minor typos. omar 2019-07-14 18:01:06 -0700
  • 8bc6d976cb Docking: Fixed using ImGuiDockNodeFlags_AutoHideTabBar with ConfigDockingTabBarOnSingleWindows. (#2109) omar 2019-07-15 14:17:01 -0700
  • dd80db87a6 Viewport: Added ImGuiViewportFlags_NoAutoMerge to prevent merging into host viewport in a per-window basis via the ImGuiWindowClass override mechanism. (#1542) omar 2019-07-15 13:35:21 -0700
  • e461e7bc7a Moved ImGuiColumnsFlags erroneously forward declared in imgui.h + demo bit. omar 2019-07-14 12:28:42 -0700
  • 71d20abbc3 Settings: Minor optimization to reduce calls in SettingsHandlerWindow_WriteAll. omar 2019-07-12 13:33:24 +0200
  • d52c6316c8 Renamed ImFontAtlas::CustomRect to ImFontAtlasCustomRect. Keep redirection typedef (will obsolete). omar 2019-07-12 11:58:46 +0200
  • e66799f79a Prefixed internal structs exposed in imgui.h with a fully qualified name to facilitate auto-generation with cimgui. omar 2019-07-12 11:54:22 +0200
  • 3436132d4b Combo: Hide arrow when there's not enough space even for the square button. + Various todo items. omar 2019-07-11 17:20:39 +0200
  • d23f1b1409 fonts/binary_to_compress: display error message when failing to open file + misc comments. omar 2019-07-10 11:36:43 +0200
  • 5b0b18b099
    Merge pull request #4 from LovelySanta/patch-2 Yan Chernikov 2019-07-07 13:42:24 +0200
  • bdf83ba597
    Add .gitignore lovely_santa 2019-07-04 11:39:56 +0200
  • b58dfec1e8
    Added support for linux lovely_santa 2019-07-04 11:36:50 +0200
  • 79eb4e46a0
    Merge pull request #2 from ocornut/master wshmaple 2019-07-04 11:17:49 +0800
  • 1f54c16f52 Merge branch 'master' into docking omar 2019-07-02 18:47:10 +0200
  • 54c49b5fb1 Window: Mouse wheel scrolling while hovering a child window is automatically forwarded to parent window if ScrollMax is zero on the scrolling axis. Also still case if ImGuiWindowFlags_NoScrollWithMouse is set (not new), but previously the forwarding would be disabled if ImGuiWindowFlags_NoScrollbar was set on the child window, which is not the case any more (amend #1502, #1380). omar 2019-07-02 18:28:53 +0200
  • e16564e67a Scrollbar: Avoid overlapping the opposite side when window (often a child window) is forcibly too small. omar 2019-07-01 20:57:15 +0200
  • 58c9f8a194 Misc: Added IMGUI_DISABLE_METRICS_WINDOW imconfig.h setting to explicitly compile out ShowMetricsWindow(). + Internals: Minor renaming. omar 2019-07-01 18:48:21 +0200
  • da29d77253 Added SetScrollXHere, SetScrollFromPosX: Changelog, demo, comments (#1580). omar 2019-07-01 12:15:36 +0200
  • caf119a982 Added 'SetScrollHereX' and 'SetScrollFromPosX' (#1580) kevreco 2018-01-30 21:51:28 +0100
  • 2a3517a399 Internals: Checkbox: Added undocumented mixed/indeterminate/tristate support via ImGuiItemFlags_MixedValue. (#2644) omar 2019-06-30 12:03:09 +0200
  • a89f05a10e Child windows inherit Hidden frames setting from parent more accurately, so HiddenFramesCannotSkipItems is honored by child windows. omar 2019-06-27 16:35:56 +0200
  • 401e05147c Internals: Moved CalcListClipping close to ImGuiListClipper code (no-op) omar 2019-06-29 18:55:06 +0200
  • 82711251b6 Internals: ImGuiListClipper using absolute coordinate (instead of relative one). Minor no-op tweaks + ImDrawListSplitter assert omar 2019-06-27 18:03:19 +0200
  • 79c44cb6ca premake Gogs 2019-06-29 15:42:13 +0200
  • aca8cee4a2 docking commit Max 2019-06-29 11:24:33 +0200
  • 1dd322c6fb Style: Attenuated default opacity of ImGuiCol_Separator in Classic and Light styles. omar 2019-06-27 12:20:18 +0200
  • 4b95e7c2f3 Doc: Tweak and extra mention of AddCustomRectFontGlyph + made the example register two rectangles. omar 2019-06-26 12:15:32 +0200
  • 50d421fa19 Docking: Fixed GetBackgroundDrawList(), GetForegroundDrawList() overwriting ImDrawList flags after clear, leading to the AllowVtxOffset flag not being cleared. (#2638) omar 2019-06-26 09:52:25 +0200
  • e81579cafb Add flag to ImGuiStyle to hide a collapse button. przemkovv 2019-06-24 22:59:41 +0200
  • eb3e271c24 Demo: Using ImVec2(-FLT_MIN,0.0f) instead of ImVec2(-1.0f,0.0f) where it makes sense. (#2449) omar 2019-06-21 19:38:33 +0200
  • 41e2d4b5ae ImDrawListSplitter: Fixed memory leak when using low-level split api (was not affecting ImDrawList api, also this type was added in 1.71 and not advertised as a public-facing feature). omar 2019-06-20 16:09:31 +0200
  • f563e1a504 Internals: Renamed GetFrontMostPopupModal() to GetTopMostPopupModal() to be consistent. Renamed other locals to follow that terminology. omar 2019-06-19 18:14:24 +0200
  • adbbd17cb6 Addendum to #2635. Add support for multi-viewports in SDL+DX!! example. making all Win32-centric back-ends handle PlatformHandleRaw. Using the field to use/store the HWND for internal purpose in SDL/GLFW back-ends. (#1542) omar 2019-06-18 23:35:48 +0200
  • 3e8eebfbec Viewport: Added PlatformHandleRaw. Update SDL+DX11 example. (#1542, #2635) Vincent Hamm 2019-06-17 21:03:00 -0700
  • 2cbc0f1287 Restore SLN which in Docking branch includes more projects. omar 2019-06-18 23:13:12 +0200
  • e2c1f0a7cd Merge branch 'master' into docking omar 2019-06-18 23:08:03 +0200
  • ee47740bc4 Docking/Viewport support for SDL+dx11 Vincent Hamm 2019-06-17 21:03:00 -0700
  • 65de74ecb7 Merge branch 'docking' of https://github.com/vincenthamm/imgui into docking Vincent Hamm 2019-06-18 10:21:50 -0700
  • 42df6abdfb Docking/Viewport support for SDL+dx11 Vincent Hamm 2019-06-17 21:03:00 -0700
  • ade6df6dec Implement SDL/dx11 sample Vincent Hamm 2019-06-16 16:11:32 -0700
  • ae176e46d4 Updated Ogre bindings (#2619) Pavel Rojtberg 2019-06-17 15:17:24 +0200
  • ad0548e21e Internals: Columns: Poke into WorkRect and use them in the GetContentRegionMax() functions. This should be a no-op, but preparing us to transition toward using WorkRect instead of ContentRegionRect. Removed one use of ContentsRegionRect. omar 2019-06-10 21:43:05 +0200
  • c1094b599a Disable -Wpragmas warning in GCC to avoid relying on version checks, as unusual/forks/mods don't appear to always have same warning<>version. (#2618) + Fix version number in imgui.h omar 2019-06-17 11:32:00 +0200
  • dd41df3e98 Word-wrapping: Fixed overzealous word-wrapping when glyph edge lands exactly on the limit. Because of this, auto-fitting exactly unwrapped text would make it wrap. (fixes initial 1.15 commit, 78645a7d). omar 2019-06-18 12:50:34 +0200
  • 516c3dee80 Examples: SDL+DX11: Changelog, readme, batch files, fixed vcxproj, minor stylistic fixes + minor sync of other main.cpp files. (#2632) omar 2019-06-18 11:28:26 +0200
  • cc4d76cc23 Implement SDL/dx11 sample Vincent Hamm 2019-06-16 16:11:32 -0700
  • 70fe409338 Window: Fixed InnerClipRect right-most coordinates using wrong padding setting (introduced in 1.71). omar 2019-06-17 17:03:54 +0200
  • 342751c89e Fiedx OpenGL ES 3.0 include for iOS and tvOS (#2631) Vincent Hamm 2019-06-18 01:55:33 -0700
  • e6779c138b Docking/Viewport support for SDL+dx11 Vincent Hamm 2019-06-17 21:03:00 -0700
  • 8c2ed2d45c Merge branch 'master' into docking Vincent Hamm 2019-06-17 20:57:13 -0700
  • 68608e1d3d Implement SDL/dx11 sample Vincent Hamm 2019-06-16 16:11:32 -0700
  • c0436b83de Fix OpenGL ES3.0 for iOS and tvOS Vincent Hamm 2019-06-17 17:30:27 -0700
  • 0e37eaff8a Updated Ogre bindings (#2619) Pavel Rojtberg 2019-06-17 15:17:24 +0200
  • ae2c9f7101 Internals: Columns: Poke into WorkRect and use them in the GetContentRegionMax() functions. This should be a no-op, but preparing us to transition toward using WorkRect instead of ContentRegionRect. Removed one use of ContentsRegionRect. omar 2019-06-10 21:43:05 +0200
  • e9b92d1cef Disable -Wpragmas warning in GCC to avoid relying on version checks, as unusual/forks/mods don't appear to always have same warning<>version. (#2618) + Fix version number in imgui.h omar 2019-06-17 11:32:00 +0200
  • ca43436cd3 Fix monitor dpi info not being copied to main viewport when multi-viewports are not enabled. (#2621, #1676) + Tweaks, short path in FindPlatformMonitorForRect(). omar 2019-06-17 11:19:34 +0200
  • b27fd87177 Merge branch 'master' into docking omar 2019-06-17 11:10:14 +0200
  • b82e99c032 ImDrawList: Fixed CloneOutput() helper crashing. Also removed unnecessary risk from ImDrawList::Clear(), draw lists are being clear before use each frame anyway. (#1860) omar 2019-06-17 11:06:36 +0200
  • 5775f2de1d Implement SDL/dx11 sample Add support for viewport when using SDL with dx11 Vincent Hamm 2019-06-16 16:11:32 -0700
  • 2645a2516f ImDrawList::ChannelsSplit(), ImDrawListSlitter: Fixed an issue with merging draw commands between channels 0 and 1. (#2624) Introduced by cef88f6aae. omar 2019-06-14 12:06:15 +0200
  • af3080b81b Removed redirecting functions/enums that were obsoleted in version 1.51 (June 2017): ImGuiCol_Column*, ImGuiSetCond_*, IsItemHoveredRect(), IsPosHoveringAnyWindow(), IsMouseHoveringAnyWindow(), IsMouseHoveringWindow(), IMGUI_ONCE_UPON_A_FRAME. omar 2019-06-14 11:57:33 +0200
  • 5286ecb8a7 Version 1.72 WIP omar 2019-06-14 11:58:45 +0200
  • 07d3083279 Docking: Fixed rendering of outer decoration happening on non-visible docked window (#2623, #2109). Revealed by 0770449. We are actually better than before now, as previously those would get unnecessarily get rendered into a hidden draw list. omar 2019-06-13 10:19:14 +0200
  • d3d998a885 Merge branch 'master' into docking omar 2019-06-12 18:40:50 +0200
  • 2da1c66d15 Version 1.71 + comments v1.71 omar 2019-06-12 16:15:08 +0200
  • 68cfe06358 README: OGRE bindings live now at OGRECave Pavel Rojtberg 2019-06-11 23:01:17 +0200
  • 5ae268c0a3 Internals: Reworked RenderTextEllipsis() to satisfy what we need for table headers. omar 2019-06-11 16:12:00 +0200
  • 4597632662 Readme, comments, dear imgui prefixes omar 2019-06-11 16:11:19 +0200
  • c3a348aa25 CollapsingHeader: Minor fix to align right side of frames (which is extruded past the Work/Contents rect) with clipping rectangle. omar 2019-06-11 15:52:36 +0200