181 Commits (afabb2f3d80ff13f21012dfdfbccfcb15e4c82a1)

Author SHA1 Message Date
omar 431aa4e456 Synced/merged minor cruft from docking branch to minimize drift. AFAIK the only meaningful no-op change is that the call UpdateHoveredWindowAndCaptureFlags() was moved above UpdateMouseMovingNewFrame() to match what docking branch has been doing for a while. ago%!(EXTRA string=6 years)
omar b9874a2423 Comments about obsoleted features version. Todo. Clarify tab bar initial offset (useful if we decide to remove the half-windowpadding clip margin). ago%!(EXTRA string=6 years)
omar 9c35344175 Comments, todo entries, moved ImGuiSelectableFlagsPrivate in higher ranges to match others. ago%!(EXTRA string=6 years)
omar 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) ago%!(EXTRA string=6 years)
omar 99a845053a Internal: Renamed fields + minor tweaks (probably shallow break stack-layout pr, sorry!) ago%!(EXTRA string=6 years)
omar a4d0b0efa4 Internal: Refactored Separator into SeparatorEx(), exposed ImGuiSeparatorFlags_SpanAllColumns in imgui_internal.h and support without. (#759) + misc comments ago%!(EXTRA string=6 years)
omar d1d5075b66 Version 1.70 ago%!(EXTRA string=6 years)
omar 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) ago%!(EXTRA string=6 years)
omar 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) ago%!(EXTRA string=6 years)
omar 0ca1675ff9 Internals: TempInputText: Rename InputScalarAsWidgetReplacement() -> TempInputTextScalar(), ScalarAsInputTextId -> TempInputTextId, small tidying up in affected functions. ago%!(EXTRA string=6 years)
omar 6db0766564 Misc comments, internal renaming, added disable indentation option to Columns demo section. ago%!(EXTRA string=6 years)
omar 1f25cdd6b4 Clarified asserts comments + todo entries. (#2500) ago%!(EXTRA string=6 years)
omar 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) ago%!(EXTRA string=6 years)
omar b53630813e Internals: Tweak ItemSize calls. Added todo items. ago%!(EXTRA string=6 years)
omar 8dab7ac021 InputText: Made Shift+Tab consistently do nothing regardless of whether the back-end emits both char and keys or just keys. (#2467, #1336) ago%!(EXTRA string=6 years)
omar da035ced97 InputText, Examples/SDL: Emulate \t input if back-end doesn't provide it. (#1336, #2467) ago%!(EXTRA string=6 years)
omar 4a57507f75 InputText: Work-around for buggy standard libraries where isprint('\t') returns true. (#2467, #1336) ago%!(EXTRA string=6 years)
omar 9bf6509c6e Docking: Fixed focus restore lagging by a frame when a tab stops being submitted. (#2109) Building on a little build of technical debt there, should transition toward a more general docking-agnostic system (#2304) ago%!(EXTRA string=6 years)
omar b6ae8a0dca Docking: Disable SkipItems when directly/programmatically focused (possible generalization of code currently in BeginDocked which relies on tab bar interaction, will remove that code in next commit). (#2453, #2109) ago%!(EXTRA string=6 years)
omar 04a9ce3a18 Docking: Renamed ImGuiDockNodeFlags_PassthruDockspace to ImGuiDockNodeFlags_PassthruCentralNode. + Comments, shallow tweaks. (#2109) ago%!(EXTRA string=6 years)
omar 20188b19d6 Comments (#2441) + Freeglut fixes (#2430) ago%!(EXTRA string=6 years)
omar 221bf93a55 Comments, todo list, remove trailing spaces. ago%!(EXTRA string=6 years)
omar 55c02099c5 Version 1.69, comments, typos ago%!(EXTRA string=6 years)
Bruce Mitchener b5d57a6615 Fix typos. (#2413) ago%!(EXTRA string=6 years)
omar 1ed3c4cf4a Internal: Text: Extracted TextUnformatted into TextEx over which we can freely atter the signature. Clarified current large text behavior of TextUnformatted with explicit ImGuiTextFlags_NoWidthForLargeClippedText flag (always set). ago%!(EXTRA string=6 years)
omar 622a27506a Text: Fixed large Text/TextUnformatted call not declaring its size when starting below the lower point of the current clipping rectangle. Somehow this bug has been there since v1.0! It was hardly noticeable but would affect the scrolling range, which in turn would affect some scrolling request functions when called during the opening frame of a window. ago%!(EXTRA string=6 years)
omar cd67d4d3c1 Log/Capture: Fixed LogXXX functions 'auto_open_depth' parameter being treated as an absolute tree depth instead of a relative one. Fixed CollapsingHeader trailing ascii representation being "#" instead of "##". Minor tidying up the of code. ago%!(EXTRA string=6 years)
omar 782b747a17 InputText: Renamed some local variables to clarify code. Should be a no-op functionality wise. TODO items. ago%!(EXTRA string=6 years)
omar 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) ago%!(EXTRA string=6 years)
omar 07ff47bf1b Docking: Fixed various border / padding related inconsistency with dock node vs floating windows. (#2109) ago%!(EXTRA string=6 years)
omar 54ba8a643e Removed trailing spaces from text files. (#2038, #2299) ago%!(EXTRA string=6 years)
omar 8cbb91261e ImDrawList: Fixed AddCircle(), AddCircleFilled() angle step being off, which was visible when drawing a "circle" with a small number of segments (e.g. an hexagon). (#2287) [@baktery] ago%!(EXTRA string=6 years)
omar d38d7c6628 TODO update + internals: changed order or ImGuiLayoutType enums to allow using them for indexing. ago%!(EXTRA string=6 years)
omar 49994ceb6e FAQ entry, moved ImTextureId, Gallery links. ago%!(EXTRA string=6 years)
omar 9a9712807e ImFontAtlas: Rewrote stb_truetype based builder. ago%!(EXTRA string=6 years)
omar e4c19f5af1 ImFontGlyphRangesBuilder: Using 32-bits fields for storage instead of 8-bit ones, comments, todo. ago%!(EXTRA string=6 years)
omar 50faccf764 Demo: Log: Comments. Using clipper. Not linking with rand() anymore. ago%!(EXTRA string=6 years)
omar e194219f2e Renamed ImGuiDockFamily to ImGuiWindowClass. Renamed CompatibleWithClassZero to DockingAllowUnclassed. (#2109) ago%!(EXTRA string=6 years)
omar 6890e08bc5 Fixed using SetNextWindowPos() on a child window (which wasn't really documented) position the cursor as expected in the parent window, so there is no mismatch between the layout in parent and the position of the child window. Demo tweak and adding some child window stuff ago%!(EXTRA string=7 years)
omar 54a60aaa40 Added BETA api for Tab Bar/Tabs widgets. (#261, #351) (merged this feature from the from Docking branch so it can be used earlier as as standalone feature) ago%!(EXTRA string=7 years)
omar b58bd5b311 Version 1.67 WIP + todo notes ago%!(EXTRA string=7 years)
omar 3e84f7cd1d Viewport: Fixed a viewport bug which led some popups to merge in underlying host viewport when they should be z-over their parent viewport. ago%!(EXTRA string=7 years)
omar 1c7be88a1a Viewport: Fixed a bug where tooltips on their first frame didn't find a monitor leading to the "recovery" code to revert it to the main viewport for a frame. (#1542) ago%!(EXTRA string=7 years)
omar 4575354bc0 Docking: Comments + maiintain LastFrameFocused per node + using bitfiield for docking bools. ago%!(EXTRA string=7 years)
omar d23c69d319 Docking: Added context menu option to hide the tab bar of single-window dock nodes, similar to Unreal. (#2109) ago%!(EXTRA string=7 years)
omar d8ab2c1ac9 Viewport: Added support for minimized window which caused problem when ImGuiBackendFlags_HasMouseHoveredViewport was not supported. (#1542) + todo ago%!(EXTRA string=7 years)
omar 8b956216b7 Demo: Testing return value of BeginTabBar() for consistency. ago%!(EXTRA string=7 years)
omar 3a7828de6b Viewport: Added ImGuiConfigFlags_ViewportsDecoration to re-enable platform decoration (#1542) ago%!(EXTRA string=7 years)
omar 7b3433c68b Viewport: Added ImGuiConfigFlags_ViewportsDecoration to re-enable platform decoration (#1542) ago%!(EXTRA string=7 years)
omar 84507cc744 Docking: Kept ImGuiDockNodeFlags_PassthruDockspace and removed ImGuiDockNodeFlags_PassthruInEmptyNodes, ImGuiDockNodeFlags_RenderWindowBg. Doesn't include ImGuiDockNodeFlags_NoDockingInCentralNode. (#2109) ago%!(EXTRA string=7 years)