Commit Graph

  • 835a8b2c9b Merge branch 'master' into docking omar 2019-05-10 22:56:43 +0200
  • 7c256fbd40 Internal: Extracted some of the Begin code into RenderWindowDecorations(). omar 2019-05-10 22:45:52 +0200
  • 72951a1a85 Internal: Extracted some of the Begin code into RenderWindowTitleBarContents(). omar 2019-05-10 22:38:10 +0200
  • b50c61c961 Internal: Begin: Update rectangles before Scrollbar() which now uses them. Fixes 39eeda0. omar 2019-05-10 22:30:33 +0200
  • b868e51240 Disable a GLFW 3.2 windows hack when GLFW 3.3 is detected (related to window focused when shown). Arnaud Barré 2019-05-10 13:53:08 -0400
  • 1bdc00e287 Support for monochrome font rendering when using freetype. HolyBlackCat 2019-05-09 22:03:27 +0300
  • 7ac08cf710 With the release of GLFW 3.3, it is now possible to detect correctly monitors working area (see GLFW_HAS_MONITOR_WORK_AREA). GLFW 3.3 also introduced the window hint GLFW_FOCUS_ON_SHOW. This fixed the case where a new created window (viewport) takes the focus even if not visible. Arnaud Barré 2019-05-10 13:02:50 -0400
  • 39eeda0227 Internal: Scrollbar: Further sane simplification (using InnerMainRect instead of duplicating calculations). omar 2019-05-09 19:30:13 +0200
  • 37174c85e2 Internal: Scrollbar: Extracted scrollbar code for other uses (eg. table v2 scrolling without using a child window). omar 2019-05-09 19:05:36 +0200
  • 29c3c22e11 add native mac copy/paste support to match win32 Andrew Willmott 2019-05-10 01:23:53 +0100
  • 9534ef9b26 Separator: Revert 1.70 "Declare its thickness (1.0f) to the layout" change (c5d83d8a). It's not incorrect but it breaks existing some layout patterns. Will return back to it when we expose Separator flags. omar 2019-05-09 17:52:56 +0200
  • e29176df53 Internals: Columns: Renamed fields. Comments and tweak. Moved a demo block. omar 2019-05-09 12:56:03 +0200
  • a4d0b0efa4 Internal: Refactored Separator into SeparatorEx(), exposed ImGuiSeparatorFlags_SpanAllColumns in imgui_internal.h and support without. (#759) + misc comments omar 2019-05-09 12:55:01 +0200
  • b7c2759f95 Columns: Fixed Separator from creating an extraneous draw command. Fixed Selectable with SpanAllColumns flag from creating an extraneous draw command. (#125) omar 2019-05-09 12:10:36 +0200
  • 239c8732d7 Viewports: Minor tweaks. (#2471) omar 2019-05-08 18:22:56 +0200
  • 9bf3f910c8 Viewports: Fix to avoid SetNextWindowViewport being overrided by creation of a standalone viewport. (#2544, #1542) omar 2019-05-08 18:20:13 +0200
  • 01c4d560cf fix build for WideCharToMultiByte Cloud Wu 2019-05-08 11:45:40 +0800
  • a9c741cf4f Full Unicode Support Cloud Wu 2019-05-07 16:39:03 +0800
  • 3bedb30581 Fix ImTextCountUtf8BytesFromChar and ImTextCharToUtf8, these APIs assume the input is an unicode code point, not UTF-16 Cloud Wu 2019-05-08 10:50:55 +0800
  • fc2dff0ab6 Add AddInputCharacterUTF16 for windows backend to handle WM_CHAR Cloud Wu 2019-05-08 10:36:29 +0800
  • cf4c041429 Use Windows API to convert UTF-16 for ImFileOpen Cloud Wu 2019-05-08 10:23:22 +0800
  • 2cba94a02a Use windows API to convert UTF-16 for clipboard Cloud Wu 2019-05-08 10:10:20 +0800
  • 42fc563fed Version 1.71 WIP + fixed minor typo omar 2019-05-07 16:36:08 +0200
  • d1d5075b66 Version 1.70 v1.70 omar 2019-05-06 14:17:39 +0200
  • 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