Commit Graph

  • 2d68e892a8 Added full "Dear ImGui" prefix to the title of "Dear ImGui Demo" and "Dear ImGui Metrics" windows. Shortened amount of nodes in columns>tree demo. omar 2019-05-27 17:28:18 +0200
  • 7c06d9f043 Docking: Saving the NoTabBar, NoWindowMenuButton, NoCloseButton fields of dock node into the .ini file. Added them to the Metrics window. (#2583, #2423, #2109). omar 2019-05-27 17:04:33 +0200
  • 9c35344175 Comments, todo entries, moved ImGuiSelectableFlagsPrivate in higher ranges to match others. omar 2019-05-27 15:18:34 +0200
  • 70a4be07df ColorEdit: Fixed the color picker popup only displaying inputs as HSV instead of showing multiple options. (#2587, broken in 1.69 by #2384). omar 2019-05-27 14:57:39 +0200
  • 511e32e8ca Docking: Clarified terminology of docking/tablist/collapse button into Window Menu button matching master. Added private ImGuiDockNodeFlags_NoWindowMenuButton, ImGuiDockNodeFlags_NoCloseButton flags. (#2583, #2109) omar 2019-05-27 12:12:11 +0200
  • affa7e2422 Examples: imgui_impl_opengl3: Fix empty printout on shader load. (#2584) Mario Botsch 2019-05-27 10:47:18 +0200
  • e5dfa0855f Docking: Honor style.WindowMenuButtonPosition setting in docking node. omar 2019-05-24 21:59:00 +0200
  • afad952450 Merge branch 'master' into docking omar 2019-05-24 21:58:17 +0200
  • 958d75c00a Style: Added style.WindowMenuButtonPosition (left/right, defaults to ImGuiDir_Left) to move the collapsing/docking button to the other side of the title bar. omar 2019-05-24 20:59:41 +0200
  • 6c3697f6f1 Internal: CloseButton takes an upper-left corner + a size to be consistent with similar widgets. omar 2019-05-24 17:47:51 +0200
  • ec3ec24157 Internals: Extracted some of the tab bar shrinking code into a ShrinkWidths() function so columns/table can use it. omar 2019-05-23 20:36:30 +0200
  • 3fda90d6a7 Fixed InputScalar, InputScalarN, SliderScalarN, DragScalarN with non-visible label from inserting style.ItemInnerSpacing.x worth of trailing spacing. omar 2019-05-24 14:31:53 +0200
  • fda1365c15 Merge branch 'master' into docking omar 2019-05-23 00:04:25 +0200
  • 7bc03f7155 Internals: Added InnerWorkRect equal to old InnerClipRect, added InnerWorkRectClipped actually clipped. omar 2019-05-22 23:54:32 +0200
  • b85e97137d Version tag is 1.71 WIP oops omar 2019-05-22 23:51:20 +0200
  • a2eec8f5b5 Fix OuterRectClipped not being clipped correctly, which resulted in child window outside visible bound to not be marked with SkipItems. Broken in b50c61c961. + Comments on InnerClipRect being misleading. Demo: Tweak to sizing of child window in the Layout->Scrolling section. omar 2019-05-22 21:43:42 +0200
  • 04022114d9 Merge branch 'master' into docking omar 2019-05-21 14:47:29 +0200
  • 34b881eb12 ImFontGlyphRangesBuilder: Fixed unnecessarily over-sized buffer, which incidentally was also not fully cleared. Fixed edge case overflow when adding character 0xFFFF. (#2568) omar 2019-05-21 12:45:27 +0200
  • 882d2c3aea Fixed crash when appending with BeginMainMenuBar() more than once and no other window are showing. (#2567) + comments omar 2019-05-21 12:18:34 +0200
  • 392ab08580 BeginPopupContextItem(): Skip processing when SkipItems is set as LastItemId is unreliable and we assert when it is zero. + Minor comments on columns. omar 2019-05-20 16:46:26 +0200
  • f242cd4d8a Fixed GCC mem-access warnings (#2565) + using "if defined" more consistently for Clang. omar 2019-05-19 17:15:14 +0200
  • 1575a3fbcd Docking: Fixed temporarily losing Dockspace flag when merging remaining sibling back into a parent node. (#2563, #2109) Would trigger an assert in the Passthru hole path. Broken by fd5859ed. omar 2019-05-19 17:00:17 +0200
  • 7e772f6a51 Docking: Fixed undocking whole node (from collapse/docking menu button) from losing its size/pos. Made collapose/docking menu id easier to compute for testing. omar 2019-05-18 18:42:59 +0200
  • 31e3e861ef Update changelog, comments, made empty/no-text clipboard return NULL as with other implementation. Minor style tweaks. (#2546) Fixed IMGUI_DISABLE_WIN32_FUNCTIONS not disabling IME code. omar 2019-05-18 17:44:09 +0200
  • 02de498a41 Add native mac copy/paste support to match win32 (#2546) Andrew Willmott 2019-05-18 16:34:58 +0100
  • 2e5860b5a0 Docking: Fixed incomplete merge of 36e714a leading to undocking. #2109 omar 2019-05-18 13:00:00 +0200
  • e6109a9145 Fixed ColorEdit breakage introduced by d3a387c (#2557, #1875, #2034) omar 2019-05-18 11:18:12 +0200
  • 679cf7434e Fix undefined behavior (#2561) Lionel Landwerlin 2019-05-18 09:43:30 +0100
  • 4158cba1ff Merge branch 'master' into docking omar 2019-05-13 19:23:18 +0200
  • fc3c3de551 Fixed uses of IsItemDeactivated(), IsItemDeactivatedAfterEdit() on multi-components widgets and after EndGroup(). (#2550, #1875) omar 2019-05-13 19:05:41 +0200
  • d3a387cc18 Fixed InputFloatX, SliderFloatX, DragFloatX functions erroneously reporting IsItemEdited() multiple times when the text input doesn't match the formatted output value (e.g. input "1" shows "1.000"). It wasn't much of a problem because we typically use the return value instead of IsItemEdited() here. (#1875, #2034) omar 2019-05-13 19:04:57 +0200
  • 99a845053a Internal: Renamed fields + minor tweaks (probably shallow break stack-layout pr, sorry!) omar 2019-05-13 18:15:39 +0200
  • 64dbd932d2 Internal: Removed GetNextItemWidth(), relying on ItemAdd or NextItemData.ClearFlags() to clear the width data. Amend 5078fa20 and undo some of its effects of imgui_widgets.cpp omar 2019-05-13 15:29:00 +0200
  • 632469d2e5 Renamed SetNextTreeNodeOpen() to SetNextItemOpen(). Refactored SetNextItemXXX stuff to match SetNextWindowXXX code closely. omar 2019-05-13 15:11:25 +0200
  • 36e714a459 Internal: Storing flags for NextWindowData so that we can clear everything with a single write and remove dummy condition fields. omar 2019-05-13 14:45:41 +0200
  • 0b485f12d7 Internal: Minor tidying/reordering of sections within ImGuiContext / window DC. omar 2019-05-13 11:25:38 +0200
  • 7355c84701 Tweak EndGroup() to facilitate fixing #2550 later (currently should have no side-effect0. Demo: Add extra widget to status query test. omar 2019-05-12 21:35:05 +0200
  • b955e485f1 Fixed unused variables warnings when asserts are compiled out. (#2551) Chris Savoie 2019-05-12 08:53:08 -0700
  • aca6ee1a91 Cast ImTextureId to void* before printing in Metrics window. (#2548) omar 2019-05-11 11:25:49 +0200
  • 02d6d2d487 Platform Binding for GLFW updated with the release of GLFW 3.3 (#2547) Alzathar 2019-05-11 04:54:56 -0400
  • 87c5356d97 FreeType: Added RasterizerFlags::Monochrome flag to disable font anti-aliasing. (#2545) Combine with RasterizerFlags::MonoHinting for best results. HolyBlackCat 2019-05-09 22:03:27 +0300
  • ef13d95466 IO: changed AddInputCharacter(unsigned short c) signature to AddInputCharacter(unsigned int c). Examples/Backends: Don't filter characters under 0x10000 before calling io.AddInputCharacter(), the filtering is done in io.AddInputCharacter() itself. This is in prevision for fuller Unicode support. (#2538, #2541) omar 2019-05-11 10:33:56 +0200
  • b668726a38 Fixed a PVS Studio static analyzer warning. omar 2019-05-10 22:58:24 +0200
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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