Commit Graph

  • e6c982509d Examples: DirectX9: Fixes for multi-viewports. Avoid using a depth/stencil target for secondary viewport. (#2520, #2502) omar 2019-05-06 12:12:32 +0200
  • 9ddb8493d5 Examples: DirectX9: Fixes for multi-viewports, destroying all swap chains. (#2520, #2502) omar 2019-05-06 12:07:29 +0200
  • 3c9058214b Delete no need checks Yiyuan Zheng 2019-05-06 17:52:34 +0800
  • 76e61958fd Merge branch 'master' into docking omar 2019-05-06 10:16:43 +0200
  • d88121ff5b Examples: DirectX9/10/11: Taking reference to device + subsequent merge of this in docking will fix DX9 issue #2524 omar 2019-05-06 10:11:02 +0200
  • 6c196cf432 Examples Readme and Changelog tweaks, added #2527, re-ordered examples/README alphabetically. omar 2019-05-06 10:02:59 +0200
  • 5ecc9d5865 Examples: Metal: Add GLFW+Metal example Max Thrun 2019-05-01 18:31:42 -0700
  • 4f22a45cb5 Removed git merge leftovers ibachar 2019-05-04 15:54:02 +0300
  • 84506f9c4a Removed git merge leftovers ibachar 2019-05-04 15:54:02 +0300
  • 526e2303bc Window: Fixed SetNextWindowSizeConstraints() with non-rounded positions making windows drift. (#2067, #2530) omar 2019-05-03 19:09:44 +0200
  • 9c1f02a42c Misc: Made IMGUI_CHECKVERSION() macro also check for matching size of ImDrawIdx. omar 2019-05-03 18:40:36 +0200
  • e2166db282 Internals: Fixed incorrect repeat delay/rate calculation in IsMouseClicked() with repeat flag leading to involontary but thankfully doubling the rate. Using our standard function, making the multiplicator explicit. omar 2019-05-03 15:06:06 +0200
  • 2dc81057ec Selectable: With ImGuiSelectableFlags_AllowDoubleClick doesn't return true on the mouse button releas efollowing the double-click. Only first mouse release + second mouse down (double-click) returns true. Likewise for internal ButtonBehavior() with both _PressedOnClickRelease | _PressedOnDoubleClick. (#2503) omar 2019-05-03 14:28:57 +0200
  • 86f92fe756 Demo: Improved trees in columns demo. (#2136) omar 2019-05-02 20:19:53 +0200
  • ce19cb465f Internals: Rename GetContentRegionMaxScreen() -> GetWorkRectMax(). At this point this is mostly useful to facilitate merge of other branches. omar 2019-05-02 16:29:40 +0200
  • 825b61e4ba Merge branch 'master' into docking omar 2019-05-02 14:56:47 +0200
  • a1c432d1ad Internals: SettingsHandlerWindow_ReadLine uses context parameter. omar 2019-04-27 17:11:06 +0200
  • aaf7bca56f Examples: Metal: Add GLFW+Metal example Max Thrun 2019-05-01 18:31:42 -0700
  • ae405b83a4 Examples: Added missing per-renderer local changelogs. (#2037, #1639, #2452) omar 2019-04-30 22:28:29 +0200
  • 7c6ba3a1da ImDrawCallback_ResetRenderState: Added Metal. Max Thrun 2019-03-29 11:11:55 -0700
  • 5c1cd5c8c7 ImDrawCallback_ResetRenderState, Examples: Added support for reset render state callback. (#2037, #1639, #2452) omar 2019-04-30 22:15:59 +0200
  • 767734870a Fixed same-frame click/release bug Blaise Ritchie 2019-04-30 10:15:27 -0700
  • 03223a7ef6 Fix Docking branch of DX9 sample crash when exit program in x64 mode Yiyuan Zheng 2019-04-30 17:07:48 +0800
  • 57687249ba fix a mistake Yiyuan Zheng 2019-04-30 15:43:08 +0800
  • a38fcb4edf Fixed docked window borders to match undocked window borders Richard Mitton 2019-04-29 11:42:15 -0700
  • 3fbc0b7a9e Obsoleted GetContentRegionAvailWidth(), use GetContentRegionAvail().x instead. Kept inline redirection function. omar 2019-04-29 18:31:51 +0200
  • db2d58a68b Drag and Drop: Fixed drag source with ImGuiDragDropFlags_SourceAllowNullID and null ID from receiving click regardless of being covered by another window (it didn't honor correct hovering rules). (#2521) omar 2019-04-29 16:34:02 +0200
  • 52105049a3 Use Spaces instead of Tabs Yiyuan Zheng 2019-04-29 21:09:13 +0800
  • 7bbb5af3a7 Fix docking branch of DX9 sample crash when resize window Yiyuan Zheng 2019-04-29 20:34:10 +0800
  • 7e67aba286 Merge branch 'master' into docking omar 2019-04-29 13:06:55 +0200
  • 0f2852806c Amend 48a09a7 with changelog, breaking changes, tweak demo code for spacing. (#2518) omar 2019-04-29 12:44:17 +0200
  • 4c0f34fd5d Improved algorithm for mitre joints on thick lines Richard Mitton 2019-04-27 15:38:25 -0700
  • 4dec744795 Tidying up BeginMenu() code + comments. omar 2019-04-28 23:49:57 +0200
  • 842a720e72 Popups: Closes popup at the time of FocusWindow(). Fixes right-click from closing all popups instead of aiming at the hovered popup level (regression in 1.67's ae76a1fd). omar 2019-04-28 22:21:23 +0200
  • bda2cde68e Popups: Closing a popup restores the focused/nav window in place at the time of the popup opening, instead of restoring the window that was in the window stack at the time of the OpenPopup call. (#2517) Among other things, this allows opening a popup while no window are focused, and pressing Escape to clear the focus again. omar 2019-04-28 21:52:12 +0200
  • 3276b12765 Internals: Added DataTypeApplyOp, DataTypeApplyOpFromText to imgui_internal.h omar 2019-04-28 20:55:51 +0200
  • 09db2f6dec Fix 61d9258 when there is not scrollbar "Window: Fixed contents region being off by WindowBorderSize amount on the right when scrollbar is active." omar 2019-04-28 18:50:51 +0200
  • 4e81b2d093 Internals: Renaming. Renamed ImGuiPopupRef to ImGuiPopupData for consistency and added constructor. omar 2019-04-28 17:05:23 +0200
  • 3d363c91fd Internals: Exposed ImGuiDataTypeInfo, DataTypeGetInfo(), DataTypeFormatString(). Comments. omar 2019-04-28 14:49:15 +0200
  • 48a09a74a3 Improved algorithm for mitre joints on thick lines Richard Mitton 2019-04-27 15:38:25 -0700
  • 00b3c830db Internals: Begin: Moved OuterRectClipped/InnerMainRect/InnerClipRect computation higher up in the function, next to ContentsRect/WorkRect code. Removed commented out debug drawing code which is now available in Metrics window. omar 2019-04-26 23:21:30 +0200
  • 61d92580aa Window: Fixed contents region being off by WindowBorderSize amount on the right when scrollbar is active. omar 2019-04-26 23:17:24 +0200
  • 5d799d76ea Internals: Nav scrolling uses InnerMainRect instead of InnerClipRect. omar 2019-04-26 21:55:09 +0200
  • c5d83d8af2 Separator: Declare its thickness (1.0f) to the layout, making items around separator more symmetrical. omar 2019-04-26 22:25:30 +0200
  • a649d904d7 Examples: Emscripten: Fixed not enabling Docking and Nav by default. (#2494) omar 2019-04-26 00:28:28 +0200
  • dfb82d5c22 Merge branch 'master' into docking omar 2019-04-25 17:53:11 +0200
  • 56c3aaf6bd Nav: Fixed Drag/Slider functions going into text input mode when keyboard CTRL is held while pressing NavActivate. omar 2019-04-25 16:17:48 +0200
  • dd15b44230 Internals: TempInputText: Tidying up DragScalar / SliderScalar / TempInputTextScalar. omar 2019-04-25 16:04:45 +0200
  • 0ca1675ff9 Internals: TempInputText: Rename InputScalarAsWidgetReplacement() -> TempInputTextScalar(), ScalarAsInputTextId -> TempInputTextId, small tidying up in affected functions. omar 2019-04-25 15:46:10 +0200
  • 59a3f0476d Internals: Using more explicit PushOverrideID() helper + renamed equivalent internal tree helper. omar 2019-04-25 15:21:22 +0200
  • 1ca6e5b59f Examples: Glut: Added note about missing cursor support. (#2375, #2465) omar 2019-04-25 12:01:01 +0200
  • 4dc4ace864 Window: Fixed window with the AlwaysAutoResize flag unnecessarily extending their hovering boundaries by a few pixels (this is used to facilitate resizing from borders when available for a given window). One of the noticeable minor side effect was that navigating menus would have had a tendency to disable highlight from parent menu items earlier than necessary while approaching the child menu. + Changelog fixed unfinished sentence and tweaks, omar 2019-04-25 11:46:55 +0200
  • 16b18b265e MenuItem, BeginMenu: Fix undesirable tall frames in horizontal layout context, which would be visible when trying to use rounded selectable/menus. PushStyleVar: Added comments in the assert message. Minor tweaks. omar 2019-04-25 11:34:07 +0200
  • 6db0766564 Misc comments, internal renaming, added disable indentation option to Columns demo section. omar 2019-04-24 17:04:20 +0200
  • 6789ea3482 Examples: SDL: Gamepad support minor amend. Fixes ImGuiBackendFlags_HasGamepad not being set. Enable in Emscripten demo. Tweaks. (#2509, #2484). omar 2019-04-23 12:26:14 +0200
  • 994a92d79d Added support to use controllers via SDL_GameController. (#2509) David Amador 2019-04-22 13:34:34 +0100
  • 88beac95e9 Added support to use controllers via SDL_GameController. David Amador 2019-04-22 13:34:34 +0100
  • d0fb547dc1 Viewports: Avoid rendering/swapping secondary viewports that are minimized. (#1542, #2496) omar 2019-04-22 11:46:04 +0200
  • 16e9b8191b Increased IMGUI_VERSION_NUM arbitrarily, help narrowing down reports that don't include a commit hash. Add comments. omar 2019-04-22 11:16:17 +0200
  • f159eb35fb Examples: SDL: Removed unused code. (#2484) omar 2019-04-22 10:42:39 +0200
  • 20f0cb0281 Docking: Fixed an issue where DockBuilderSplitNode() wouldn't update the CentralNode shortcut immediately, which was problematic for immediately following DockBuilderDockWindow(). (#2109) omar 2019-04-19 20:28:43 +0200
  • 03b64defa5 Merge branch 'master' into docking omar 2019-04-19 19:52:45 +0200
  • 59f012d656 Internals: ImHashStr() default parameter. omar 2019-04-19 19:48:51 +0200
  • 5078fa208b Added SetNextItemWidth() helper to avoid using PushItemWidth/PopItemWidth() for single items. omar 2019-04-18 18:29:28 +0200
  • 8d53f834ee Demo: Documents: Fix misusage of ListBoxHeader(). omar 2019-04-18 18:24:51 +0200
  • 0e46d65b03 Misc: Fixed PushItemWidth(-width) (for right-side alignment) laying out certain items (button, listbox, etc.) with negative sizes if the 'width' argument was smaller than the available width at the time of item submission, omar 2019-04-18 15:35:20 +0200
  • a1cf7d636d Internals: Rework CalcItemWidth / CalcItemSize but make their similarities and their differences more obvious. (#2449) omar 2019-04-18 14:48:36 +0200
  • f355a40367 Added commentary about ContentRegion functions. Added internal GetContentRegionMaxScreen() to facilitate internal code at the moment. omar 2019-04-18 14:10:01 +0200
  • 9d4a893a77 Internals: Moved CalcItemSize next to CalcItemWidth, added comments to clarify their respective intent. Should have no side effect. omar 2019-04-18 13:46:45 +0200
  • 240dddff87 Combo, Slider: Improve rendering in situation when there's there's very little space available. omar 2019-04-18 15:00:40 +0200
  • fc89380957
    Merge 42fc6e75e3 into 1aeee9d40f Francis Hart 2019-04-18 13:12:06 +0000
  • 1aeee9d40f Internals: Columns: Tweaks, renaming. Metrics: Show rectangles for child windows. Renamed SameLine() first parameter. omar 2019-04-17 12:26:51 +0200
  • 1d3ebef364 Columns: Fixed boundary of clipping being off by 1 pixel within the left column. omar 2019-04-17 21:50:15 +0200
  • 74a3878be4 emscripten: replace shell_minimal.html with 'soft fullscreen' version Andre Weissflog 2019-04-15 20:55:52 +0200
  • 1f25cdd6b4 Clarified asserts comments + todo entries. (#2500) omar 2019-04-17 09:59:03 +0200
  • 7baf45cffa Metrics: Added "Show windows rectangles" tool to visualize the different rectangles. omar 2019-04-16 22:02:30 +0200
  • 655ebe4eaf Merge branch 'master' into docking omar 2019-04-16 13:12:01 +0200
  • 742b5f4c68 Merged a bunch of small changes from Docking branch to reduce the difference between branches. Noticeable: horizontal alignment of CloseButton. Menu fill take account of border. Various stylistic tweaks to accomodate other changes in Docking. omar 2019-04-16 13:07:43 +0200
  • 311469e9d6 Internals: Columns: Some renaming, extracted code into GetColumnsID(). omar 2019-04-16 11:58:17 +0200
  • 15232d595f emscripten: replace shell_minimal.html with 'soft fullscreen' version Andre Weissflog 2019-04-15 20:55:52 +0200
  • 8130fd9816 Examples: DirectX10/11/12, Allegro, Marmalade: Render functions early out when display size is zero (minimized). (#2496) omar 2019-04-15 18:47:36 +0200
  • 1fe6533192 Examples: Emscripten: Tweaks for size. (#2494) omar 2019-04-15 16:36:14 +0200
  • b89202824e Merge branch 'master' into docking omar 2019-04-15 16:03:17 +0200
  • 35cbf9c052 Examples: Visual Studio: Updated default platform toolset+sdk in vcproj files from v100+sdk7 (vs2010) to v110+sdk8 (vs2012). This is mostly so we can remove reliance on DXSDK_DIR for the DX10/DX11 example, which if existing and when switching to recent SDK ends up conflicting and creating warnings. omar 2019-04-15 15:48:38 +0200
  • eeea7da3d0 Examples: Emscripten: Fixed error in shell template. (#2494) omar 2019-04-15 01:46:34 +0200
  • c1848b185c Examples: Emscripten: Switched to WebGL1/ES2, Added Changelog, Updated links, Added ignore list, Fixed warning with older versions. Removed reliance on C++11 (would warn on some compiler). Improved html template, removed undesirable options, reduced log size. Tweaked main.cpp. (#2494) omar 2019-04-15 01:01:44 +0200
  • 882d480b5e Examples: Removed unused variable (will be used in docking branch tho, undo when merging!) omar 2019-04-15 01:01:39 +0200
  • 622556719e Merge branch 'standalone-emscripten' of https://github.com/nicolasnoble/imgui omar 2019-04-15 00:36:56 +0200
  • a936d0669c Adding standalone Emscripten example. Nicolas "Pixel" Noble 2019-04-13 17:25:06 +0200
  • 36a0ffa85d Adding Emscripten target for SDL/OpenGL3 example. Nicolas "Pixel" Noble 2019-04-13 17:25:06 +0200
  • d2d7c6c58c
    Merge a2dd035975 into e805ca29d8 Zhuhuii Yap 2019-04-13 18:48:54 +0000
  • f70eacee8e Docking: Internal: Added helper for automation to process docking at the mouse level. omar 2019-04-13 19:50:30 +0200
  • 433a7556c7 Docking: Fixed another issue where the resulting node of a split would sometimes recall the pos/size of previous host window. Spent a whole day adding framework for testing more of docking so hopefully we'll heading toward the magical world of less regressions. (#2109) omar 2019-04-13 19:19:56 +0200
  • 712203dbcb Merge branch 'master' into docking omar 2019-04-13 18:53:00 +0200
  • e805ca29d8 Internals: Moved resize grips and borders to nav layer 1 so that testing system doesn't attempt to scroll to get them inside the InnerRect. omar 2019-04-13 18:51:18 +0200
  • 800fb26606 Docking: Renamed target_node > node in some functions to facilitate debugger watch use across functions. omar 2019-04-13 00:26:40 +0200
  • 224f087a5f Docking: Rename typo Autority -> Authority + Rename DockContextNewFrameUpdateDocking -> DockContextUpdateDocking. omar 2019-04-12 23:26:46 +0200
  • fb2626c21b Tests: Added hook/tweaks for imgui-test engine. + Fixed warnings. omar 2019-04-12 19:44:29 +0200
  • 092426bed2 Docking: Hold Shift to force disable docking. (#2109) omar 2019-04-12 19:44:54 +0200
  • c6f1b7b92a Tests: Added hook/tweaks for imgui-test engine. + Fixed warnings. omar 2019-04-12 19:44:29 +0200