Commit Graph

  • 6db0766564 Misc comments, internal renaming, added disable indentation option to Columns demo section. omar 2019-04-24 17:04:20 +02:00
  • 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 +02:00
  • 994a92d79d Added support to use controllers via SDL_GameController. (#2509) David Amador 2019-04-22 13:34:34 +01:00
  • d0fb547dc1 Viewports: Avoid rendering/swapping secondary viewports that are minimized. (#1542, #2496) omar 2019-04-22 11:46:04 +02:00
  • 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 +02:00
  • f159eb35fb Examples: SDL: Removed unused code. (#2484) omar 2019-04-22 10:42:39 +02:00
  • 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 +02:00
  • 03b64defa5 Merge branch 'master' into docking omar 2019-04-19 19:52:45 +02:00
  • 59f012d656 Internals: ImHashStr() default parameter. omar 2019-04-19 19:48:51 +02:00
  • 5078fa208b Added SetNextItemWidth() helper to avoid using PushItemWidth/PopItemWidth() for single items. omar 2019-04-18 18:29:28 +02:00
  • 8d53f834ee Demo: Documents: Fix misusage of ListBoxHeader(). omar 2019-04-18 18:24:51 +02:00
  • 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 +02:00
  • a1cf7d636d Internals: Rework CalcItemWidth / CalcItemSize but make their similarities and their differences more obvious. (#2449) omar 2019-04-18 14:48:36 +02:00
  • f355a40367 Added commentary about ContentRegion functions. Added internal GetContentRegionMaxScreen() to facilitate internal code at the moment. omar 2019-04-18 14:10:01 +02:00
  • 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 +02:00
  • 240dddff87 Combo, Slider: Improve rendering in situation when there's there's very little space available. omar 2019-04-18 15:00:40 +02:00
  • 1aeee9d40f Internals: Columns: Tweaks, renaming. Metrics: Show rectangles for child windows. Renamed SameLine() first parameter. omar 2019-04-17 12:26:51 +02:00
  • 1d3ebef364 Columns: Fixed boundary of clipping being off by 1 pixel within the left column. omar 2019-04-17 21:50:15 +02:00
  • 74a3878be4 emscripten: replace shell_minimal.html with 'soft fullscreen' version Andre Weissflog 2019-04-15 20:55:52 +02:00
  • 1f25cdd6b4 Clarified asserts comments + todo entries. (#2500) omar 2019-04-17 09:59:03 +02:00
  • 7baf45cffa Metrics: Added "Show windows rectangles" tool to visualize the different rectangles. omar 2019-04-16 22:02:30 +02:00
  • 655ebe4eaf Merge branch 'master' into docking omar 2019-04-16 13:12:01 +02:00
  • 742b5f4c68 Merged a bunch of small changes from Docking branch to reduce the difference between branches. Noticeable: horizontal alignment of CloseButton. Menu fill take account of border. Various stylistic tweaks to accomodate other changes in Docking. omar 2019-04-16 13:07:43 +02:00
  • 311469e9d6 Internals: Columns: Some renaming, extracted code into GetColumnsID(). omar 2019-04-16 11:58:17 +02:00
  • 8130fd9816 Examples: DirectX10/11/12, Allegro, Marmalade: Render functions early out when display size is zero (minimized). (#2496) omar 2019-04-15 18:47:36 +02:00
  • 1fe6533192 Examples: Emscripten: Tweaks for size. (#2494) omar 2019-04-15 16:36:14 +02:00
  • b89202824e Merge branch 'master' into docking omar 2019-04-15 16:03:17 +02:00
  • 35cbf9c052 Examples: Visual Studio: Updated default platform toolset+sdk in vcproj files from v100+sdk7 (vs2010) to v110+sdk8 (vs2012). This is mostly so we can remove reliance on DXSDK_DIR for the DX10/DX11 example, which if existing and when switching to recent SDK ends up conflicting and creating warnings. omar 2019-04-15 15:48:38 +02:00
  • eeea7da3d0 Examples: Emscripten: Fixed error in shell template. (#2494) omar 2019-04-15 01:46:34 +02:00
  • 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) omar 2019-04-15 01:01:44 +02:00
  • 882d480b5e Examples: Removed unused variable (will be used in docking branch tho, undo when merging!) omar 2019-04-15 01:01:39 +02:00
  • 622556719e Merge branch 'standalone-emscripten' of https://github.com/nicolasnoble/imgui omar 2019-04-15 00:36:56 +02:00
  • a936d0669c Adding standalone Emscripten example. Nicolas "Pixel" Noble 2019-04-13 17:25:06 +02:00
  • f70eacee8e Docking: Internal: Added helper for automation to process docking at the mouse level. omar 2019-04-13 19:50:30 +02:00
  • 433a7556c7 Docking: Fixed another issue where the resulting node of a split would sometimes recall the pos/size of previous host window. Spent a whole day adding framework for testing more of docking so hopefully we'll heading toward the magical world of less regressions. (#2109) omar 2019-04-13 19:19:56 +02:00
  • 712203dbcb Merge branch 'master' into docking omar 2019-04-13 18:53:00 +02:00
  • e805ca29d8 Internals: Moved resize grips and borders to nav layer 1 so that testing system doesn't attempt to scroll to get them inside the InnerRect. omar 2019-04-13 18:51:18 +02:00
  • 800fb26606 Docking: Renamed target_node > node in some functions to facilitate debugger watch use across functions. omar 2019-04-13 00:26:40 +02:00
  • 224f087a5f Docking: Rename typo Autority -> Authority + Rename DockContextNewFrameUpdateDocking -> DockContextUpdateDocking. omar 2019-04-12 23:26:46 +02:00
  • fb2626c21b Tests: Added hook/tweaks for imgui-test engine. + Fixed warnings. omar 2019-04-12 19:44:29 +02:00
  • 092426bed2 Docking: Hold Shift to force disable docking. (#2109) omar 2019-04-12 19:44:54 +02:00
  • c6f1b7b92a Tests: Added hook/tweaks for imgui-test engine. + Fixed warnings. omar 2019-04-12 19:44:29 +02:00
  • 30d81f53cb PlotLines, PlotHistogram: Ignore NaN values when calculating min/max bounds. (#2485) omar 2019-04-12 22:16:59 +02:00
  • ee02cdbf03 Internals, Docs: Added a bunch of clarification about ButtonBehavior in the form of a table (and to facilitate writing tests) omar 2019-04-12 17:43:50 +02:00
  • 328e4fa7e7 Merge branch 'master' into docking omar 2019-04-11 15:53:38 +02:00
  • 07a70dc972 Internals: Merge minor things from range_select branch. Added ImGuiButtonFlags_NoHoveredOnNav. Added IsItemToggledSelected() - unused here. Renaming. omar 2019-04-11 15:40:36 +02:00
  • 570d0bbbda Demo: Comments, tweaks, removed some uses of ImColor helpers. omar 2019-04-11 15:12:18 +02:00
  • f3110a57cd Docking: Fixed an issue where newly created dock node override hosted window pos/size (#2109, #2386) omar 2019-04-11 14:51:01 +02:00
  • b8fe0df7df Examples: Null: Added Makefile. omar 2019-04-08 19:16:45 +02:00
  • cf029b3e1c Merge branch 'master' into docking omar 2019-04-08 18:05:52 +02:00
  • 1391904fd2 Internals: Selectable: Added ImGuiSelectableFlags_AllowItemOverlap in imgui_internal.h (~ #684, #2341) omar 2019-04-08 17:27:17 +02:00
  • b53630813e Internals: Tweak ItemSize calls. Added todo items. omar 2019-04-07 23:45:21 +02:00
  • 42423d5ea4 Examples: Makefile: Tweaks so they are more consistent with each others. Added -g./opt/local includes for MacPorts on Mac OS X. (#297) omar 2019-04-07 23:02:07 +02:00
  • 1295205cd4 Examples: Vulkan: Fixed warnings. (#2480) omar 2019-04-07 22:27:45 +02:00
  • 7056032483 Merge branch 'vulkan_fix_docking' into docking omar 2019-04-07 16:23:34 +02:00
  • 50ceb25003 Merge branch 'master' into docking omar 2019-04-07 16:23:31 +02:00
  • ccca76fdea Merge branch 'vulkan_fix_master' omar 2019-04-07 16:22:47 +02:00
  • 302af7b2c9 FAQ tweaks. Add missing entries in imgui.cpp (which until now where only in the README). omar 2019-04-07 16:22:41 +02:00
  • c43dab2414 Vulkan: Fix not incrementing semaphore index. (#2472, #2071) omar 2019-04-07 15:57:07 +02:00
  • 9c364b16ff Merge branch 'vulkan_fix_master' into vulkan_fix_docking omar 2019-04-05 20:28:42 +02:00
  • e099a7dc74 Vulkan: Bits. Using IM_ALLOC/IM_FREE instead of new[] / delete[]. omar 2019-04-05 20:27:46 +02:00
  • c8fd4afd75 Misc: Added IM_MALLOC/IM_FREE macros mimicking IM_NEW/IM_DELETE so user doesn't need to revert to using the ImGui::MemAlloc()/MemFree() calls directly. omar 2019-04-05 20:20:08 +02:00
  • bd351e9ac5 Misc: Added IM_MALLOC/IM_FREE macros mimicking IM_NEW/IM_DELETE so user doesn't need to revert to using the ImGui::MemAlloc()/MemFree() calls directly. omar 2019-04-05 20:20:08 +02:00
  • d61caf5714 Vulkan, Viewports: ImGui_ImplVulkan_RenderDrawData and renderer back-end automatically manage ImGui_ImplVulkanH_WindowRenderBuffers for each viewports so user doesn't have to do it. (#2461, #2348, #2378, #2097) omar 2019-04-05 18:52:40 +02:00
  • e70f866ed2 Merge branch 'vulkan_fix_master' into vulkan_fix_docking (WARNING: as is the validation layer will error on same vertex/index buffer being used for all frames) omar 2019-04-05 18:27:15 +02:00
  • 6bc47dfe48 Vulkan: Removed superfluous vkInstance parameters being passed along. omar 2019-04-05 17:54:16 +02:00
  • 452047c7ca Vulkan: Removed requirement for user to pass their own render buffer storage to ImGui_ImplVulkan_RenderDrawData(), this is managed internally. omar 2019-04-05 17:48:47 +02:00
  • ec76722d2d Vulkan: Added ImageCount to InitInfo structure (!= MinImageCount) will be needed for viewports. Renamed FramesQueueSize -> ImageCount. (#2472, #2071) omar 2019-04-05 17:22:24 +02:00
  • a45840746e Vulkan, Viewports: Fix for resizing viewport windows crashing. (#2472) MindSpunk 2019-04-05 15:50:21 +11:00
  • 9acb158990 Vulkan, Viewports: Fix for resizing viewport windows crashing. (#2472) MindSpunk 2019-04-05 15:50:21 +11:00
  • 1ba79baab5 Vulkan, Viewports: Fixed ImGui_ImplVulkan_SetWindowSize() not recreating command-buffers, fence etc. (#2472, #2461, #2071) omar 2019-04-05 16:33:41 +02:00
  • 01de69de36 Vulkan: Note for unsupported feature with multi-viewports. (#2071) omar 2019-04-05 00:25:42 +02:00
  • 8ec24036d7 Vulkan: Viewports: Removed redundant field. omar 2019-04-05 00:00:29 +02:00
  • 29269d2aa8 Merge branch 'vulkan_fix_master' into vulkan_fix_docking omar 2019-04-04 23:55:33 +02:00
  • 0034e65c26 Vulkan: Renaming demo/helper structures. Tidying up examples main.cpp. omar 2019-04-04 23:28:29 +02:00
  • 4f54a527ab Vulkan: Renaming, we want InitInfo to source MinImageCount which is the "source" value (so viewport creation can use this). Made ImGui_ImplVulkan_DestroyFrameRenderBuffers public. (#2071) omar 2019-04-04 23:11:15 +02:00
  • 86f5945f49 Vulkan: Storing user info into a single g_VulkanInitInfo structure to simplify code. omar 2019-04-04 22:36:12 +02:00
  • 66f4be2e13 Vulkan: Added extra parameter to ImGui_ImplVulkan_RenderDrawData(). User is in charge of owning/storing 1 ImGui_ImplVulkan_FrameRenderBuffers per in-flight rendering frame. Removed ImGui_ImplVulkan_SetFramesQueueSize. (#2461, #2348, #2378, #2097, #2071, #1677) omar 2019-04-04 22:27:29 +02:00
  • 6bf981c85c Vulkan: More renaming. Comments. omar 2019-04-03 19:21:06 +02:00
  • f586764cdd Examples: Vulkan: Merged helpers into ImGui_ImplVulkanH_CreateWindowData. Removed ImGui_ImplVulkan_InvalidateFrameDeviceObjects from API. Comments. (#2071) omar 2019-04-03 18:33:13 +02:00
  • 54b8a65d9e Examples: Vulkan: Renamed QueuedFramesCount to FramesQueueSize. Moved Framebuffer, Backbuffer to FrameData structure. (#2071) omar 2019-04-03 17:56:18 +02:00
  • 317859a3da Examples: Vulkan: Updated Changelog, removed debug code, tweaked code, made GLFW/SDL match each others. Initialize FrameDataForRender fields. Added Assertion. Clearing fields on DestroyFrameData(). (#2071) omar 2019-04-03 15:48:22 +02:00
  • c7eef99a33 Examples: Vulkan: Fixed tabs->space, removed extraneous braces and empty lines. (#2071) omar 2018-09-11 22:18:24 +02:00
  • b88a3b2711 Examples: Vulkan: Added calls to supports runtime changing back buffer count. (#2071) MindSpunk 2018-09-09 16:04:44 +10:00
  • 43a85dd02e Merge branch 'master' into docking omar 2019-04-04 22:10:18 +02:00
  • 1c3311e4d6 Vulkan: Avoid passing negative coordinates to vkCmdSetScissor, which debug validation layers do not like. omar 2019-04-04 22:09:12 +02:00
  • 9ba64f9fe3 Viewport: Fixed PushClipRectFullScreen() missing out on negative coordinates. Among other things, the outer highlight during CTRL+Tab wouldn't appear in negative coordinates monitors. (~#2176, #1542) omar 2019-04-04 22:02:36 +02:00
  • fc52364652 Tabs to Spaces, comments. omar 2019-04-03 17:23:31 +02:00
  • cdb109f617 Renamed freeglut vcxproj files + Comments, Changelog (#2465) omar 2019-04-03 16:23:50 +02:00
  • ece322ff12 freeglut -> glut rename Andrew Willmott 2019-04-03 14:53:11 +01:00
  • 3fad375f5f ifdef freeglut extensions properly Andrew Willmott 2019-04-02 16:07:28 +01:00
  • 81f70e5b7c Fixups for OSX Andrew Willmott 2019-04-02 12:47:14 +01:00
  • a402f5b9a9 Add makefile for freeglut Andrew Willmott 2019-04-02 12:25:33 +01:00
  • 5c4cc370bb Examples: Vulkan: Added shader sources/references in the .cpp source. omar 2019-04-03 11:23:54 +02:00
  • 49fb8e6c45 Merge branch 'master' into docking omar 2019-04-03 11:17:26 +02:00
  • 8dab7ac021 InputText: Made Shift+Tab consistently do nothing regardless of whether the back-end emits both char and keys or just keys. (#2467, #1336) omar 2019-04-03 11:14:34 +02:00
  • da035ced97 InputText, Examples/SDL: Emulate \t input if back-end doesn't provide it. (#1336, #2467) + Fix some output filename in SDL build batch files. omar 2019-04-03 11:04:00 +02:00
  • 01e29a3933 InputText: Fixed ImGuiInputTextFlags_AllowTabInput leading to two tabs characters being inserted if the back-end provided both Key and Character input. (#2467, #1336) omar 2019-04-03 10:45:51 +02:00
  • 4a57507f75 InputText: Work-around for buggy standard libraries where isprint('\t') returns true. (#2467, #1336) Not using isprint. + todo items. omar 2019-04-03 10:40:14 +02:00
  • e3cd6b1cbb Examples: Vulkan: Using IM_ARRAYSIZE() where possible. omar 2019-04-01 18:12:24 +02:00