1750 Commits (features/demo_input_owner_and_routing)

Author SHA1 Message Date
omar 0f2852806c Amend 48a09a7 with changelog, breaking changes, tweak demo code for spacing. (#2518) ago%!(EXTRA string=6 years)
omar 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). 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 61d92580aa Window: Fixed contents region being off by WindowBorderSize amount on the right when scrollbar is active. ago%!(EXTRA string=6 years)
omar c5d83d8af2 Separator: Declare its thickness (1.0f) to the layout, making items around separator more symmetrical. ago%!(EXTRA string=6 years)
omar 56c3aaf6bd Nav: Fixed Drag/Slider functions going into text input mode when keyboard CTRL is held while pressing NavActivate. 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 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. 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 6789ea3482 Examples: SDL: Gamepad support minor amend. Fixes ImGuiBackendFlags_HasGamepad not being set. Enable in Emscripten demo. Tweaks. (#2509, #2484). ago%!(EXTRA string=6 years)
omar 5078fa208b Added SetNextItemWidth() helper to avoid using PushItemWidth/PopItemWidth() for single items. ago%!(EXTRA string=6 years)
omar 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, ago%!(EXTRA string=6 years)
omar 240dddff87 Combo, Slider: Improve rendering in situation when there's there's very little space available. ago%!(EXTRA string=6 years)
omar 1d3ebef364 Columns: Fixed boundary of clipping being off by 1 pixel within the left column. ago%!(EXTRA string=6 years)
omar 1f25cdd6b4 Clarified asserts comments + todo entries. (#2500) ago%!(EXTRA string=6 years)
omar 7baf45cffa Metrics: Added "Show windows rectangles" tool to visualize the different rectangles. ago%!(EXTRA string=6 years)
omar 742b5f4c68 Merged a bunch of small changes from Docking branch to reduce the difference between branches. ago%!(EXTRA string=6 years)
omar 8130fd9816 Examples: DirectX10/11/12, Allegro, Marmalade: Render functions early out when display size is zero (minimized). (#2496) ago%!(EXTRA string=6 years)
omar 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. 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 30d81f53cb PlotLines, PlotHistogram: Ignore NaN values when calculating min/max bounds. (#2485) ago%!(EXTRA string=6 years)
omar b53630813e Internals: Tweak ItemSize calls. Added todo items. ago%!(EXTRA string=6 years)
omar 302af7b2c9 FAQ tweaks. Add missing entries in imgui.cpp (which until now where only in the README). ago%!(EXTRA string=6 years)
omar 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. ago%!(EXTRA string=6 years)
omar 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. ago%!(EXTRA string=6 years)
omar 452047c7ca Vulkan: Removed requirement for user to pass their own render buffer storage to ImGui_ImplVulkan_RenderDrawData(), this is managed internally. ago%!(EXTRA string=6 years)
omar ec76722d2d Vulkan: Added ImageCount to InitInfo structure (!= MinImageCount) will be needed for viewports. Renamed FramesQueueSize -> ImageCount. (#2472, #2071) ago%!(EXTRA string=6 years)
omar 0034e65c26 Vulkan: Renaming demo/helper structures. Tidying up examples main.cpp. ago%!(EXTRA string=6 years)
omar 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) ago%!(EXTRA string=6 years)
omar 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) ago%!(EXTRA string=6 years)
omar 54b8a65d9e Examples: Vulkan: Renamed QueuedFramesCount to FramesQueueSize. Moved Framebuffer, Backbuffer to FrameData structure. (#2071) ago%!(EXTRA string=6 years)
omar 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) ago%!(EXTRA string=6 years)
omar 1c3311e4d6 Vulkan: Avoid passing negative coordinates to vkCmdSetScissor, which debug validation layers do not like. ago%!(EXTRA string=6 years)
omar cdb109f617 Renamed freeglut vcxproj files + Comments, Changelog (#2465) ago%!(EXTRA string=6 years)
Andrew Willmott ece322ff12 freeglut -> glut rename 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 01e29a3933 InputText: Fixed ImGuiInputTextFlags_AllowTabInput leading to two tabs characters being inserted if the back-end provided both Key and Character input. (#2467, #1336) 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 3a737e665a Examples: Vulkan: Added missing support for 32-bit indices (#define ImDrawIdx unsigned int). + demo typo ago%!(EXTRA string=6 years)
omar e21bbee311 Examples: DirectX9: Fixed erroneous assert in ImGui_ImplDX9_InvalidateDeviceObjects(). FreeType: Fixed suggested code to not require an initial build call.. (#2454) ago%!(EXTRA string=6 years)
omar 512d39d031 Examples: OpenGL3: Minor tweaks, clarifications + not calling glBindBuffer more than necessary in the render loop. ago%!(EXTRA string=6 years)
omar 20188b19d6 Comments (#2441) + Freeglut fixes (#2430) ago%!(EXTRA string=6 years)
omar cf1b02e54e Rearrange code in UpdateMouseWheel(). (#2424, #1463) + Fix old io.FontAllowUserScaling feature (probably should be made obsolete, but until then best fixed) ago%!(EXTRA string=6 years)
omar 3d8ea352d1 InputText: Fixed selection background starts rendering one frame after the cursor movement when first transitioning from no-selection to has-selection. (Bug in 1.69) (#2436) [@Nazg-Gul] ago%!(EXTRA string=6 years)
Gnimuc a53c57152b Mention Julia binding in README (#2446) ago%!(EXTRA string=6 years)
omar 221bf93a55 Comments, todo list, remove trailing spaces. ago%!(EXTRA string=6 years)
omar 857381b9ca GetMouseDragDelta(): also returns the delta on the mouse button released frame. Verify that mouse positions are valid otherwise returns zero. Removed obsolete comment. Tweaked demo. (#2419) ago%!(EXTRA string=6 years)
omar ff03ae503b Examples: OpenGL: Added a dummy GL call + comments in ImGui_ImplOpenGL3_Init() to detect uninitialized GL function loaders early, and help users understand what they are missing. (#2421) ago%!(EXTRA string=6 years)
omar cf2c52282d Version 1.70 WIP ago%!(EXTRA string=6 years)