Commit Graph

  • 82873c7ad4
    Update README.md omar 2018-10-18 10:44:14 +0200
  • 745f01022e Examples: Downgraded Xcode project object version (50->48) to support Xcode 9.2 (last version supported on macOS 10.12) (#2133, #1929) omar 2018-10-17 10:48:53 +0200
  • 31fd6c585a Removed unnecessary ImGui:: qualifiers in internal code. omar 2018-10-16 17:52:53 +0200
  • b4488d4f48 Examples: Downgraded Xcode project object version (50->48) to support Xcode 9.2 (last version supported on macOS 10.12) (#2133) Warren Moore 2018-10-17 01:46:49 -0700
  • 000c1fc221 Demo: Added comments / tweaks related to the popups. omar 2018-10-16 10:25:32 +0200
  • 5be915d6ab Added ImGuiWindowFlags_NoMouseInputs which is basically the old ImGuiWindowFlags_NoInputs (essentially we have renamed ImGuiWindowFlags_NoInputs to ImGuiWindowFlags_NoMouseInputs). Made the new ImGuiWindowFlags_NoInputs encompass both NoMouseInputs+NoNav, which is consistent with its description. (#1660, #787) omar 2018-10-15 18:23:18 +0200
  • 90b50bd4c3 Window: Added ImGuiWindowFlags_NoBackground flag for consistency and to ease creating new flag combinations. Added ImGuiWindowFlags_NoDecoration helper flag which is essentially NoTitleBar+NoResize+NoScrollbar+NoCollapse. (#1660) omar 2018-10-15 18:00:04 +0200
  • 69db792bf0 Viewport: Exposed GetOverlayDrawList(ImGuiViewport* viewport) in public API. (#1542, #1660, #1878, etc.) omar 2018-10-15 17:38:36 +0200
  • 8b956216b7 Demo: Testing return value of BeginTabBar() for consistency. omar 2018-10-15 17:19:52 +0200
  • 8606d9fa11 Fix Clang/GCC's null-conversion warning: (#2081) Elias Daler 2018-10-15 18:07:06 +0300
  • b039dbc62e
    Update README.md omar 2018-10-15 08:34:42 +0200
  • edb06a6c4d Fixed typo in misc/README.txt (#2131) Konstantin Podsvirov 2018-10-14 09:43:06 +0300
  • e6cc547a94 Merge branch 'viewport' into docking omar 2018-10-12 15:51:31 +0200
  • e73217d6f7 Merge branch 'master' into viewport omar 2018-10-12 15:50:48 +0200
  • ca753829cb Revert using wchar_t functions (9cf94d5 + 2eaf5b0). Big mistake, wchar_t is not guaranteed to be 16-bits. omar 2018-10-12 15:48:38 +0200
  • 28953208d4 Tests: Added imgui-test engine hooks (experimental). omar 2018-10-12 13:38:52 +0200
  • 2eaf5b03df Fixes crash introduced in previous commit 9cf94d5. omar 2018-10-12 13:29:13 +0200
  • ede3a3b92d Fixes crash introduced in previous commit 9cf94d5. omar 2018-10-12 13:29:13 +0200
  • c398153b40 Merge branch 'master' into docking omar 2018-10-12 13:01:20 +0200
  • 33994bbfa1 Docking: Fixed Modal window from being dockable. omar 2018-10-12 12:56:56 +0200
  • 9cf94d5dd6 RenderText(), InputTextMultiline(): Optimization for large text by using memchr, wmemchr, wcschr when appropriate. omar 2018-10-12 12:34:47 +0200
  • 0fe48cbb61 Renamed misc/stl/imgui_stl.h,.cpp to misc/cpp/imgui_stdlib.h in prevision for other files.(#2035, #2096) Added misc/README file. omar 2018-10-12 11:14:21 +0200
  • 74c0309126 InputText: Clarified comments around ImGuiInputTextFlags_CallbackResize and other callbacks. (#2006, #1443, #1008) omar 2018-10-12 10:14:03 +0200
  • ed4dcd9072 Shutdown: Unlock font atlas before destroying context, so we can destroy a context between NewFrame and EndFrame if we wait (facilitate main loop structures). Internals: GetWindowScrollMaxX(), GetWindowScrollMaxY() omar 2018-10-11 17:11:27 +0200
  • 7525637804 Merge branch 'viewport' into docking. 15ec78e Fixes the update of title buffer when docked in a leaf dock node with a single window. Added comment about overwriting DockIsActive in DockNodeUpdate(). omar 2018-10-11 21:36:00 +0200
  • 15ec78e9d8 Internal: Moved stored window name update code to the first_begin_of_the_frame block. This will be useful in the Docking branch. omar 2018-10-11 21:31:42 +0200
  • cf0afb48ac TextUnformatted: Using memchr(), fixed not properly testing for text_end bound + comments. Internals: Added ImStreolRange() + used in LogRenderedText() + comments. omar 2018-10-11 11:48:40 +0200
  • d02b11dfbd ImGuiTextBuffer: Avoid heap allocation when empty. omar 2018-10-10 17:02:14 +0200
  • 1efafa1d29 Comments + internal using Tab Stop terminology (ImGuiItemFlags_NoTabStop instead of !ImGuiItemFlags_AllowKeyboardFocus) omar 2018-10-10 12:01:40 +0200
  • 3a7828de6b Viewport: Added ImGuiConfigFlags_ViewportsDecoration to re-enable platform decoration (#1542) omar 2018-10-09 14:19:39 +0200
  • 7b3433c68b Viewport: Added ImGuiConfigFlags_ViewportsDecoration to re-enable platform decoration (#1542) omar 2018-10-09 14:19:39 +0200
  • 84507cc744 Docking: Kept ImGuiDockNodeFlags_PassthruDockspace and removed ImGuiDockNodeFlags_PassthruInEmptyNodes, ImGuiDockNodeFlags_RenderWindowBg. Doesn't include ImGuiDockNodeFlags_NoDockingInCentralNode. (#2109) omar 2018-10-08 12:26:33 +0200
  • 3fcc178c23
    Update README.md omar 2018-10-08 11:37:13 +0200
  • dd748f0e39 Update README.md omar 2018-10-08 11:19:50 +0200
  • 500a60debc Examples: OpenGL3: Cast compile/link status to GLboolean (#2112, #2125) hesiod 2018-10-07 16:14:24 +0000
  • 02afbaeef0 Examples: imgui_imp_opengl3.cpp explicit casting for overly aggressive glbinding compatibility. (#2112) [@hesiod] omar 2018-10-06 11:35:05 +0200
  • cb76c086e0 Docking: Removed context parameter from internal DockBuilderXXX api at it is expected we transition it to be public facing. (#2109) omar 2018-10-05 16:14:51 +0200
  • a3b0e0acfa Examples: DirectX10, DirectX11: Removed seemingly unnecessary calls to invalidate and recreate device objects in the WM_SIZE handler. (#2088) omar 2018-10-05 11:36:27 +0200
  • 084c26aa41 Fix spacing in imgui_imp_sdl example (#2111) Michael Vetter 2018-10-05 10:04:10 +0200
  • 407822e6a5 BeginTabItem: Fixed missing parameter name in .h file messing up with cimgui generator. (#2115) omar 2018-10-04 19:39:02 +0200
  • 3c427e284f
    Update pull_request_template.md omar 2018-10-04 12:49:48 +0200
  • 4e30698706 Docking: Added ImGuiDockNodeFlags_PassthruDockspace mode (subdivided in three flags: ImGuiDockNodeFlags_NoDockingInCentralNode, ImGuiDockNodeFlags_PassthruInEmptyNodes, ImGuiDockNodeFlags_RenderWindowBg). Added internal facility for register a rectangular hit-test hole in window. Updated DockSpace demo accordingly. (#2109) omar 2018-10-03 22:32:23 +0200
  • 2dd8338e7d Docking: Added ImGuiDockNodeFlags_NoOuterBorder, tweaked DockSpace demo to remove window border. Made docking splitter use the same standard setting as resizing from edges. (#2109) omar 2018-10-03 18:30:36 +0200
  • 059560d28b ButtonBehavior, ImGuiButtonFlags_FlattenChildren flag can be used from a child window. Would typically affect calling SplitterBehavior() from a child window. omar 2018-10-03 18:11:35 +0200
  • d348d86df4 Docking: Renamed "DocRoot/DocumentRoot" to "CentralNode", more self explanatory. Moved Splitter update higher up in DockNodeUpdate() + minor misc tweak. (#2109) omar 2018-10-03 15:48:54 +0200
  • 1d3862b6b3 Docking: Added ImGuiDockNodeFlags_NoDockingInsideDocRootNode flag. Honoring ImGuiDockNodeFlags_NoSplit in child node is already split (so we can use DockBuilder and then lock the layout). Added those options to the demo. (#2109) omar 2018-10-03 14:51:31 +0200
  • bd82539ad5 Docking: Fixed DockSpace() child window displaying a scrollbar behind the node backgrounds. Rename ImGuiCol_DockingBg to ImGuiCol_DockingEmptyBg. Added ImGuiDockNode::IsLeaftNode(). (#2109) omar 2018-10-03 11:24:52 +0200
  • 83f55c9de5 Merge branch 'viewport' into docking omar 2018-10-02 18:55:48 +0200
  • 33b88a0339 Merge branch 'master' into viewport omar 2018-10-02 18:55:36 +0200
  • fbfe193fcd Window, Inputs: Fixed resizing from edges when io.MousePos is not pixel-rounded by rounding mouse position input. (#2110) omar 2018-10-02 18:49:55 +0200
  • ae7f833c69 Window: Resizing from edges (with io.ConfigResizeWindowsFromEdges Beta flag) extends the hit region of root floating windows outside the window, making it easier to resize windows. Resize grips are also extended accordingly so there are no discontinuity when hovering between borders and corners. (#1495, #822, #2110) omar 2018-10-02 18:43:10 +0200
  • 44bfa24cc3 Docking: Fixed crash using DockBuilderSplitNode(). (#2109) omar 2018-10-02 11:09:53 +0200
  • 2cff3f6a65 Docking: Renamed io.ConfigDockingWithKeyMode to io.ConfigDockingWithShift. omar 2018-10-01 16:23:13 +0200
  • 76e31bd51a Fixed typo. (#2108, #2083) omar 2018-10-01 17:56:06 +0200
  • e623be998d Drag and Drop: Added GetDragDropPayload() to peek directly into the payload (if any) from anywhere. (#143) omar 2018-10-01 15:53:18 +0200
  • b48ed9ebc0 Docking: Better tracking of current dock id for inactive and uncreated windows (in settings etc.). + Fixed assert when docking a single-visible leaf node of a hierarchy into another omar 2018-10-01 11:56:26 +0200
  • 4e717b524c Docking: Fixes for C++03 compilers. omar 2018-10-01 10:40:43 +0200
  • ae657a349a Docking: Fixed extracting a dock node from a document root: document root should be preserved. omar 2018-09-30 23:06:46 +0200
  • ed3c015f4e Docking: Reorganizing some of the tab-bar selection and window focus related code. omar 2018-09-30 22:57:04 +0200
  • 9cfc40c2cc Docking: Demo: Displaying a message if master docking flag is disabled. + DockSpace() early out + comments. omar 2018-09-30 22:31:50 +0200
  • 6ebc63d3ef Docking: Various sanity fixes + fixed tab-bar items sorting issue when docking single window with a dock node into single window without dock node. omar 2018-09-30 21:24:53 +0200
  • 1ae0a1e658 Docking: Fix DockContextRebuild() temporarily invalidating dockid reference leading to undesirable merging of nodes. omar 2018-09-30 19:34:03 +0200
  • 46dff42239 Docking: Fixed dock node with single window accidental stealing of non-owned host viewport (leading to general havoc). omar 2018-09-30 19:30:39 +0200
  • 35d1fb7b34 Style: Added style.TabRounding setting. omar 2018-09-30 18:41:07 +0200
  • 876a3299fc Docking: Added DockBuilderCopyDockspace() wip. Added DockBuilderCopyWindowSettings(), renamed DockBuilderForkNode() to DockBuilderCopyNode(). omar 2018-09-28 14:48:15 +0200
  • 3dcd552628 Fixed extraneous static attribute. (#2105) omar 2018-09-27 13:01:51 +0200
  • 9aae21483a Fix missing IMGUI_API and mismatching namespace internal's CreateNewWindowSettings (#2105) Loïc HAMOT 2018-09-27 12:59:22 +0200
  • 93896d550e Added FindOrCreateWindowSettings() internal helper. omar 2018-09-26 22:52:24 +0200
  • 18ffb7dd86 Docking: Reworked DockContextPruneUnusedSettingsNodes() to prune entire unused trees. omar 2018-09-26 22:18:07 +0200
  • c0a89f8f4e ImPool: Added Reserve() helper function. omar 2018-09-26 21:51:30 +0200
  • c6193d0605 Merge branch 'viewport' into docking omar 2018-09-26 21:35:09 +0200
  • 6cc380fc41 Merge branch 'master' into viewport omar 2018-09-26 21:34:52 +0200
  • 61d94ff88e Renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete). omar 2018-09-26 21:30:37 +0200
  • a7d3ae8937 BeginChild(): Fixed BeginChild(const char*, ...) variation erroneously not applying the ID stack to the provided string to uniquely identify the child window. This was undoing an intentional change introduced in 1.50 and broken in 1.60. (#1698, #894, #713) + reworked the Begin/BeginChild comments in imgui.h. omar 2018-09-26 21:23:42 +0200
  • 4053d9d638 Docking: Fixed tab order restoring (follow up to 67be485e, broken in 455dc6e2) omar 2018-09-26 17:07:58 +0200
  • 45731cca19 Docking: Added DockBuilderForkNode() primitive for usage for user code to fork/copy entire layouts. This will probably need to be added to as I find ways to migrate patterns from user code to the library. Added IMGUI_DEBUG_DOCKING_INI helper to facilitate debugging. (+1 squashed commits) omar 2018-09-26 13:09:41 +0200
  • dc92431328 Docking: Minor renaming. DockContextAddNode() uses 0 as marker for automatic ID selection + TODO update and moved docking entries to docs/TODO.txt omar 2018-09-25 22:05:53 +0200
  • d3e8e5731a Docking: Renamed SetNextWindowDock() to SetNextWindowDockId(). Added GetWindowDockId(). omar 2018-09-25 17:45:06 +0200
  • 53a5d32df1 Docking: Reworked SetNextWindowUserType() as SetNextWindowDockFamily(), allowing multiple scene to be tagged with their scene id and not receive tabs from other scene + persistent storage for family id to allow for docking tree fork/remap. omar 2018-09-25 15:57:47 +0200
  • 85e1e2b0c8 Docking: Added DockBuilderGetNode() wrapper for consistency. omar 2018-09-25 14:12:16 +0200
  • 9960ccddb2 Docking: Added DockBuilderRemoveNode() + various tweaks. Fixed dragging/undocking dock node from CollapseButton. omar 2018-09-24 23:16:19 +0200
  • 4021776d0f Docking: Fix for undocking node where the dockspace node is attached to an immovable parent window. + Tweak .ini output. omar 2018-09-24 17:13:08 +0200
  • fa0ce4b7d5 Docking: Some DockBuilder functions are applied on settings data if windows are not present. Added DockBuilderCreateNode which needs a size else if we can't split properly. DockNodeTreeSplit() doesn't clamp SizeRef. (+1 squashed commits) omar 2018-09-24 11:06:31 +0200
  • 781a7950d7 ImVector: Fixed a oddly unqualified return type in the assignment operator (I assume C++ handles it nicely as this never warned anywhere, but it is completely unintentional). omar 2018-09-24 11:33:26 +0200
  • 2a5ce1849a Docking, Viewport: Reworked viewport inheritance/transition so that extracting a dock node from a split node owning its viewport will have both viewports be in the expected OS z-order. (The lower window re-use the exiting viewport, the detached node uses a new viewport: omar 2018-09-24 10:53:51 +0200
  • ae4b838840 Docking, Viewport: Rework ownership transfer/stealing to fix issues where non-child windows could be stick marked as not owning their viewport. omar 2018-09-24 10:48:16 +0200
  • 79c075ca09 Docking+Viewport: Fixed PlatformRequestClose (e.g. ALT-F4) being redrected to the first window of the docking node instead of the selected one. omar 2018-09-21 18:50:45 +0200
  • 1127804109 Viewport: Misc tweaks. omar 2018-09-21 17:54:00 +0200
  • 788febf044 Examples: Vulkan: Fixed some minor discrepency in the SDL+Vulkan example to match the Glfw+Vulkan example. (cc #2097) omar 2018-09-24 10:13:01 +0200
  • 67be485e24 Docking: Fixed losing tab bar selection when extracting a whole docked node + reusing existing dock node when possible. omar 2018-09-21 15:59:31 +0200
  • fda57f48d5 Merge branch 'viewport' into docking omar 2018-09-21 11:52:32 +0200
  • 840652830d Docking: Fixed undocking on whole dock node from leaving undesirable empty node in the docking tree. Fixed calls to MarkIniSettingsDirty(). omar 2018-09-21 11:48:22 +0200
  • 5eabf44021 Nav: Use Platform_SetWindowFocus when CTRL+Tabbing to another viewport. omar 2018-09-21 11:11:38 +0200
  • 599d5f185c TabBar: Recover if SelectedTabId doesn't exist anymore. omar 2018-09-21 11:02:03 +0200
  • 5719b23e01 ImDrawList: Fixed AddConvexPolyFilled() undefined behavior when passing points_count smaller than 3, in particular, points_count==0 could lead to a memory stomp if the draw list was previously empty. omar 2018-09-21 10:00:26 +0200
  • 7abc368927 Viewport: GLFW: Build fix for pre GLFW 3.2 (#1542) omar 2018-09-20 18:46:36 +0200
  • 7c3b9172ad Examples: Referring to missing gamepad support in back-end that are missing it. omar 2018-09-20 10:37:55 +0200
  • b57baa5ba0 Viewport: Enabled viewports by default in more example apps. omar 2018-09-20 10:31:23 +0200
  • 3d318a6577 ArrowButton(): Fixed arrow shape being horizontally misaligned by (FramePadding.y-FramePadding.x) if they are different. Demo: Added extra usage of AlignTextToFramePadding() in a more visible section. omar 2018-09-20 10:24:29 +0200
  • 3e47978a80 Docking: Renamed ImGuiDockSpaceFlags to ImGuiDockNodeFlags. Clarified in comments/demos that DockSpace creates a Node. Renamed IsExplicitRoot to IsDockSpace. Assert against explicitly calling DockSpace twice in a frame. omar 2018-09-20 09:25:50 +0200