Commit Graph

  • 05bc323be0 Viewport: Fixed minimization of main viewport leading to it being omitted from platform_io.Viewport list where the users assume it is at index 0. Fix d8ab2c1ac. It wasn't a problem when other viewports were child of the main viewport because they would all be minimized together. (#1542) omar 2019-01-03 20:16:40 +0100
  • ca6ac34f9d Natvis: Added Hidden info about ImGuiWindow. omar 2019-01-03 18:38:20 +0100
  • 599a52629a Viewport: Added minimum viable information in the Changelog. omar 2019-01-03 17:43:15 +0100
  • 25ac85f15d Examples: Downgrading projects to xcode 9.2 (maybe 8.0) (#2134) Alzathar 2019-01-03 08:01:14 -0500
  • 64c66529ae Moving issue/pr template to docs/. Added links in README. omar 2019-01-03 13:35:53 +0100
  • c3efccaa9c Docking: Merge fix duplicate line + added assert to ease debugging. omar 2019-01-02 23:49:31 +0100
  • b26f16a27f Merge branch 'viewport' into docking omar 2019-01-02 23:16:10 +0100
  • a0c2e55e8c Merge branch 'master' into viewport omar 2019-01-02 23:11:52 +0100
  • 237109caa5 Internals: Extracted code out of EndFrame() into UpdateMouseMovingWindowEndFrame() omar 2019-01-02 23:05:59 +0100
  • b3469fa94b Alternative fix for bug introduced in d845135 (#1651), fix CTRL+Tab and fallback tooltip. omar 2019-01-02 22:52:09 +0100
  • 3e30bfd6c9 Revert "Fixes crash/assert bug introduced in d845135 (#1651): would assert when showing the CTRL+Tab list and or fallback "...." tooltip." omar 2019-01-02 22:56:17 +0100
  • 1b0e38df47 Fixes crash/assert bug introduced in d845135 (#1651): would assert when showing the CTRL+Tab list and or fallback "...." tooltip. omar 2019-01-02 22:14:28 +0100
  • 5aebfedfad Docking: Forward WindowClass from node to host window. omar 2019-01-02 21:41:00 +0100
  • ce1626a51e Merge branch 'viewport' into docking omar 2019-01-02 21:36:21 +0100
  • 0cabe4dedf Viewport: Added ImGuiWindowClass / SetNextWindowClass() (concept imported from Docking ImGuiDockFamily), which currently allows to overwrite viewport flags on a per-window basis. Exposed FindViewportByID(). Win32: Support for ParentViewportId. (#1542) omar 2019-01-02 19:29:33 +0100
  • 0d6e3ab2b0 Docking: Renamed SetNextWindowId() -> SetNextWindowID() for consistency. (function vs member are still horribly inconsistent atm) omar 2019-01-02 18:56:53 +0100
  • cfcad42b89 Viewport: Win32: Workaround to the fact that ::WindowFromPoint() seems to return Windows using ImGuiViewportFlags_NoInputs / HTTRANSPARENT when dragging nearby the platform title bar. This is to allow using platform decoration. I don't understand this well atm. (#1542) omar 2019-01-02 18:22:31 +0100
  • 4a6f95acc8 Viewport: Added Platform_UpdateWindow hook for general purpose: Rework Win32 code to reflect viewport flags changes into Win32 while the window is active. omar 2019-01-02 16:06:58 +0100
  • 5305c32242 Viewport: Reorder flags. Set owned viewport common decoration flags in Begin(). Moved code in UpdateViewportsEndFrame() before we introduce family/class based overrides. omar 2018-12-21 19:12:24 +0100
  • 951c9dd68b Merge branch 'master' into viewport omar 2019-01-02 19:00:31 +0100
  • 4ea9fdbbea Docking: Agressively assert when CentralNode is a not a leaf node in order to find our bug. omar 2018-12-21 17:04:39 +0100
  • e194219f2e Renamed ImGuiDockFamily to ImGuiWindowClass. Renamed CompatibleWithClassZero to DockingAllowUnclassed. (#2109) omar 2018-12-21 17:01:08 +0100
  • d9a4cbc429 Examples: Comments about GLFW/SDL versions omar 2019-01-02 16:04:13 +0100
  • c017a4fb5f Moved guidelines to issue #2261 to Pin and increase visibility for now. omar 2019-01-02 14:28:49 +0100
  • acacd93836 Renamed extra_flags to flags in InputXXX parameters. omar 2019-01-02 11:08:14 +0100
  • c738f9ef92 InputFloat: When using ImGuiInputTextFlags_ReadOnly the step buttons are disabled. (#2257) omar 2019-01-02 11:03:56 +0100
  • 6b97ded438 Happy new year! & comments omar 2019-01-02 10:57:57 +0100
  • e21bc44684 Comments: fixed missing line in the "how a simple rendering function may look like" section (#2258) omar 2019-01-02 09:57:25 +0100
  • f38dd95394 alias end of the vertex buffer as a tempoary array G-glop 2018-12-31 10:41:41 +0100
  • 939d53b371 update to newest G-glop 2018-12-31 10:40:52 +0100
  • 85fcab0811 use the vertex output as a buffer G-glop 2018-05-30 08:35:43 +0200
  • 90b04eda01 remove buffer from AddConvexPolyFilled G-glop 2018-05-13 21:37:44 +0200
  • d845135273 Error recovery: Extraneous/undesired calls to End() are now being caught by an assert in the End() function itself at the call site (instead of being reported in EndFrame). Past the assert, they don't lead to crashes any more. Missing calls to End(), pass the assert, should not lead to crashes any more, nor to the fallback/debug window appearing on screen. (#1651). omar 2018-12-23 17:54:20 +0100
  • a9a60a24c1 Tweaked asserts omar 2018-12-23 17:39:04 +0100
  • a71d3c8cb3 Viewport: Misc comments following user feedbacks.. omar 2018-12-21 18:40:16 +0100
  • 238321c159 Fix merge in Docking branch, remove ConfigDockingWithShift flag from DX11 example + misnamed function. omar 2018-12-21 16:53:56 +0100
  • e181b0c3fc Merge branch 'viewport' into docking omar 2018-12-21 16:53:13 +0100
  • 2889a14f86 Build fix for master. omar 2018-12-21 16:45:24 +0100
  • 9d0bc3f9ab Merge branch 'master' into viewport omar 2018-12-21 16:43:12 +0100
  • b1cd52b674 Examples: SDL: Avoid testing for SDL_GetKeyboardFocus() on Android and iOS (like Emscripten). (#421) omar 2018-12-21 16:33:50 +0100
  • afe9c5c5f7 Examples: SDL: Fixed compilation for SDL 2..0.3 and less (running on our test servers) and clarified a bit of the messy situation. Followup to 8dd83c5. (#1542, #2117) omar 2018-12-21 16:26:17 +0100
  • 81a2546cea Merge branch 'viewport' into docking omar 2018-12-20 23:06:29 +0100
  • ee5560a958 Merge branch 'master' into viewport + added style tweak block when viewports are enabled omar 2018-12-20 23:04:40 +0100
  • d5b22fb635 Examples: Setting up style before bindings, so in complex binding (vulkan/dx12) it isn't miles away from the context creation. omar 2018-12-20 22:58:34 +0100
  • 62cfdceac1 Examples: Viewport: Moved the "make current GL context" to reduce the amount of call and hopefully be more explicit about viewport enabled vs disabled requirements. (#1542) omar 2018-12-20 22:40:22 +0100
  • d9fda22763 Viewport: Fixed not clearing request flags in main viewport, which led some back-end (SDL) to break on resize as PlatformRequestResize would stay true forever and inhibit new sizes passed to AddUpdateViewport(). (#1542) omar 2018-12-20 22:33:51 +0100
  • 8dd83c5fe8 Examples: SDL: SDL_GetMouseState() seems problematic, movements feels laggy in the non-viewport code path. (#1542, #2117) omar 2018-12-20 22:28:31 +0100
  • b471813f54 Made it illegal to call Begin("") with an empty string. This somehow accidentally worked before but had various undesirable side-effect as the window would have ID zero. In particular it is causing problems in viewport/docking branches. omar 2018-12-20 20:01:02 +0100
  • 5794c0491a Docking: Fix an edge case failing to dock into an explicit dockspace which only have inactive nodes (because all the windows are inactive). (#2246, #2109) omar 2018-12-20 19:19:33 +0100
  • e043b89814 Merge branch 'viewport' into docking omar 2018-12-20 17:03:21 +0100
  • 8fc19d2194 Removed IMGUI_HAS_TABS from Docking branch, it's not defined anywhere anymore. omar 2018-12-20 16:56:29 +0100
  • 02501f07c3 Merge branch 'master' into viewport omar 2018-12-20 16:54:32 +0100
  • a0e5bb9532 Viewport: Corrected/clarified comments. Moved RenderPlatformWindowsDefault() next to UpdatePlatformWindow(). Removed unnecessary flag check. omar 2018-12-20 12:15:15 +0100
  • 39dde66b21 IO: Realigned all fields, very minor comments change. This is nearly a no-op if you don't ignore Spaces. omar 2018-12-20 11:48:52 +0100
  • 5691385a33 IO: Added BackendPlatformUserData, BackendRendererUserData, BackendLanguageUserData void* for storage use by back-ends. (#2004 + for cimgui) omar 2018-12-20 11:41:24 +0100
  • 8399fb5071 Changed ImGuiCol_ChildBg to (0,0,0,0) in Dark style instead of (1,1,1,0), to match other styles. Shouldn't have any effect for the end-user. omar 2018-12-19 15:20:18 +0100
  • 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 omar 2018-12-19 15:19:31 +0100
  • 89ac0ea7c1 Various user-facing comments omar 2018-12-19 11:12:02 +0100
  • 84d1ce3958 Tidying up README, moved entries to FAQ, updated screenshots, removed comma in title. omar 2018-12-18 16:16:17 +0100
  • ca953f0fee Fix merge issue on master. omar 2018-12-18 15:11:11 +0100
  • 088ef6623a Merge branch 'viewport' into docking omar 2018-12-18 15:03:01 +0100
  • 9c916cdaf9 Merge branch 'master' into viewport omar 2018-12-18 15:02:35 +0100
  • ae76a1fda7 Window, Focus, Popup: Fixed an issue where closing a popup by clicking another window with the _NoMove flag would refocus the parent window of the popup instead of the newly clicked window. omar 2018-12-18 14:58:35 +0100
  • 510ca373a2 Moved setting up NavHideHighlightOneFrame from lower-level ClosePopupToLevel() to CloseCurrentPopup() with an explanation. (Followup on 68d3e139a7) omar 2018-12-18 14:21:10 +0100
  • 1a6ec208cc Docs: various updates, rewording, clarifying the purpose of a PR. omar 2018-12-18 11:50:14 +0100
  • 08719bd74b
    Text input double click selects a word on all systems Kirill Artemov 2018-12-17 04:46:19 +0300
  • ac9512e095 Merge branch 'master' into docking omar 2018-12-14 18:46:24 +0100
  • 65dac02171 Internals: Popups: Renamed CurrentPopupStack to BeginPopupStack which is much less ambiguous. omar 2018-12-14 18:44:17 +0100
  • f6f5c51106 Internals: Popups: EndMenu() calls ClosePopupToLevel(g.CurrentPopupStack.Size) which is more correct. omar 2018-12-14 18:42:11 +0100
  • f1c7596409 Internals: Popup related comments. Renamed the misleading internal ClosePopup() function. Added bool* test to BeginPopupModal in demo. omar 2018-12-14 16:24:59 +0100
  • 5d20da1b36 Viewport, DPI: Now using DpiScale from the ImGuiPlatformMonitor array instead of calling Platform_GetWindowDpiScale() before the platform window creation. Might even tentatively see if things work out without Platform_GetWindowDpiScale. (#1676) omar 2018-12-14 11:59:44 +0100
  • 587506dd57 Tests: Changed prototype of ImGuiTestEngineHook_ItemAdd to match functions called in same spot. Made ButtonBehavior submit fallback item info if ItemAdd() was not called (for resize grips, resize borders, scrollbar, columns, etc.) omar 2018-12-14 11:27:02 +0100
  • 20b79217ce
    Fix highdpi screens on SDL examples with viewports Giovanni Bajo 2018-12-14 02:11:14 +0100
  • 9b09c7597f Merge branch 'viewport' into docking omar 2018-12-13 19:21:51 +0100
  • 2a1e903f43 Merge branch 'master' into viewport omar 2018-12-13 19:20:34 +0100
  • 8497948ba0 Comments, minor tweaks. omar 2018-12-13 13:22:10 +0100
  • e50894c95e Metrics: Fixed crash when viewports are disabled (g.MouseLastHoveredViewport is never set). omar 2018-12-13 19:16:34 +0100
  • 4eb3f06e18
    Fix SDL2 examples on HighDPI screens. Giovanni Bajo 2018-12-13 16:18:20 +0100
  • 991b16cc6a Merge branch 'master' into docking omar 2018-12-11 19:46:46 +0100
  • 1b263f6ab0 Tabs: Fixed support for drag and drop ImGuiButtonFlags_PressedOnDragDropHold. (#261) incorrectly missing from the merge from Docking branch. omar 2018-12-11 19:37:22 +0100
  • febc3e6aa1 Internals: Windows hidden with HiddenFramesRegular (but NOT HiddenFramesForResize) preserve their SizeContents, so restoring a auto-resize window after it's been hidden by tabs won't reset its size for a frame. Arguable. Let's see how it goes. (Followup to b48e295bddbf965d7382ec5578ed05d2fe601114) omar 2018-07-02 22:53:59 +0200
  • d9a84de9d9 Contents size is preserved while a window collapsed. Fix auto-resizing window losing their size for one frame when uncollapsed. omar 2018-12-11 19:08:06 +0100
  • ccce47c6a2 Demo: Using Tabs in Style Editor and Simple Layout example. + Adding missing early out in About and Documents examples. omar 2018-12-11 16:59:17 +0100
  • 5a6b8e00db BeginTabBar: Fix to push the expected ID into the ID stack (instead of a hash's hash). (#261) omar 2018-12-11 15:22:10 +0100
  • 2886e0b6f5 Demo: Fix collateral damage of 54a60aa omar 2018-12-11 13:25:16 +0100
  • 95dcc534ed Demo: Fix collateral damage of 54a60aa omar 2018-12-11 13:25:16 +0100
  • 067b691fd8 Merge branch 'viewport' into docking omar 2018-12-11 13:23:00 +0100
  • c40feabe4d Merge branch 'master' into viewport omar 2018-12-11 12:41:40 +0100
  • 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) - Added BeginTabBar(), EndTabBar(), BeginTabItem(), EndTabItem(), SetTabItemClosed() API. - Added ImGuiTabBarFlags flags for BeginTabBar(). - Added ImGuiTabItemFlags flags for BeginTabItem(). - Style: Added ImGuiCol_Tab, ImGuiCol_TabHovered, ImGuiCol_TabActive, ImGuiCol_TabUnfocused, ImGuiCol_TabUnfocusedActive colors. - Demo: Added Layout->Tabs demo code. - Demo: Added "Documents" example app showcasing possible use for tabs. omar 2018-12-11 12:36:47 +0100
  • cc1283fb78 Added ImGuiWindowFlags_UnsavedDocument window flag to append '*' to title without altering the ID, as a convenience to avoid using the ### operator. (merged from Docking branch) omar 2018-12-11 12:20:48 +0100
  • 15447f5b7b Using named flags instead of 0 + shallow formatting tweaks from other branches. omar 2018-12-11 11:58:15 +0100
  • 2d4018aa89 Docking: Fix io.ConfigWindowsMoveFromTitleBarOnly for docking branch. omar 2018-12-11 11:03:28 +0100
  • e6439e1a16 Merge branch 'viewport' into docking + moved io.ConfigFlags ImGuiConfigFlags_DockingNoSplit to io.ConfigDockingNoSplit omar 2018-12-10 16:21:49 +0100
  • 26b9e2d0a5 Merge branch 'master' into viewport omar 2018-12-10 16:14:31 +0100
  • 9476e07d5a Added io.ConfigWindowsMoveFromTitleBarOnly option. Still is ignored by window with no title bars (often popups). This affects clamping window within the visible area: with this option enabled title bars need to be visible. (#899) Tweaked default value of style.DisplayWindowPadding from (20,20) to (19,19) so the default style as a value which is the same as the title bar height. omar 2018-12-10 16:05:30 +0100
  • 59f3c4fc20 Renamed io.ConfigResizeWindowsFromEdges to io.ConfigWindowsResizeFromEdges and removed its [Beta] mark. Resizing windows from edge is now enabled by default (io.ConfigWindowsResizeFromEdges=true). Note that it only works _if_ the back-end sets ImGuiBackendFlags_HasMouseCursors, which the standard back-end do. omar 2018-12-10 15:36:07 +0100
  • d20e3ee710 Tests: Adding imgui-test engine hooks (experimental) to provide missing widget state to the testing system. omar 2018-12-06 18:18:54 +0100
  • 3a5e758ee3 Tabs: Fixed crash when using TabItem in a regular (non-docking) tab bar. (#2231) omar 2018-12-08 12:35:15 +0100
  • 4b2d771701
    Merge pull request #1 from Mojang/rsanchez/noclippy Robert Sanchez 2018-12-06 13:30:29 -0800
  • e0b05a290c rsanchez - dont need clipboard stuff right now Robert Sanchez (343) 2018-12-06 10:53:49 -0800