omar
|
49fb8e6c45
|
Merge branch 'master' into docking
# Conflicts:
# examples/imgui_impl_dx9.cpp
# examples/imgui_impl_opengl3.cpp
|
6 years ago |
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)
|
6 years ago |
omar
|
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.
|
6 years ago |
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)
|
6 years ago |
omar
|
4a57507f75
|
InputText: Work-around for buggy standard libraries where isprint('\t') returns true. (#2467, #1336)
Not using isprint. + todo items.
|
6 years ago |
omar
|
e3cd6b1cbb
|
Examples: Vulkan: Using IM_ARRAYSIZE() where possible.
|
6 years ago |
omar
|
3a737e665a
|
Examples: Vulkan: Added missing support for 32-bit indices (#define ImDrawIdx unsigned int). + demo typo
|
6 years ago |
Nicolas Noble
|
d9568c717d
|
Silencing -Wstack-protector (#2459)
|
6 years ago |
omar
|
e21bbee311
|
Examples: DirectX9: Fixed erroneous assert in ImGui_ImplDX9_InvalidateDeviceObjects(). FreeType: Fixed suggested code to not require an initial build call.. (#2454)
|
6 years ago |
omar
|
163779da51
|
Examples: DirectX12: Various tidying up.
|
6 years ago |
omar
|
512d39d031
|
Examples: OpenGL3: Minor tweaks, clarifications + not calling glBindBuffer more than necessary in the render loop.
|
6 years ago |
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)
|
6 years ago |
omar
|
5af385ea78
|
Viewport: Renamed member + added note about a Docking issue with restoring focus.
|
6 years ago |
omar
|
47219dd5c6
|
Docking: Remove code in BeginDocked() to set HiddenFramesCannotSkipItems based on upcoming tab bar selection, solely based on focus (might break something subtle?). Follow-up to c355ed1267 . (#2453, #2109)
|
6 years ago |
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)
|
6 years ago |
omar
|
a33d45d7cd
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
|
6 years ago |
omar
|
9a0e71a6ec
|
Internals: Renamed the ImGuiWindow HiddenFrameXXX fields to decorrelate them from resizing behavior, as those values are set by other logic.
|
6 years ago |
omar
|
5a665e423c
|
Docking: Added ImGuiDockNodeFlags_NoTabBar (not exposed publicly). (#2423, #2109)
|
6 years ago |
omar
|
fc95da8aa3
|
Docking: Internals: Moved CentralNode and HiddenTabBar state into LocalFlags for consistency. (#2423, #2109)
|
6 years ago |
omar
|
fd5859ed04
|
Docking: Separating SharedFlags vs LocalFlags in dock node so settings can be applied to individual nodes. Made _NoResize logic on single node applies as expected. (#2423, #2109)
|
6 years ago |
omar
|
75e3793f4d
|
Docking: Fix DockBuilderAddNode() not storing flags when creating floating node.
|
6 years ago |
omar
|
8d4b5fef1d
|
Renamed ImGuiDockNodeFlags_Dockspace to ImGuiDockNodeFlags_DockSpace for consistency. DockBuilderCopyDockspace() to DockBuilderCopyDockSpace(). Made casing consistent elsewhere. (#2109)
|
6 years ago |
omar
|
04a9ce3a18
|
Docking: Renamed ImGuiDockNodeFlags_PassthruDockspace to ImGuiDockNodeFlags_PassthruCentralNode. + Comments, shallow tweaks. (#2109)
|
6 years ago |
omar
|
87883abd86
|
Docking: Tweak and silencing PVS studio static analyzer (back to zero warnings among our selected ones).
|
6 years ago |
Tom Watson
|
f20725eada
|
Docking: Fixed an issue where windows docked into a node that's part of their dockspace wouldn't recover their order correctly after init. (#2109)
(It only worked on floating dock node for the accidental reason that BeginDocked would generally early out on the first frame)
|
6 years ago |
omar
|
26646f2450
|
Docking: Wrapping tab bar creation/destroy to make it easier to debug them.
|
6 years ago |
omar
|
f208fd7ebb
|
Docking: Fixed crash with ImGuiDockNodeFlags_AutoHideTabBar flag. (#2423, #2109)
|
6 years ago |
omar
|
20188b19d6
|
Comments (#2441) + Freeglut fixes (#2430)
|
6 years ago |
omar
|
cf1b02e54e
|
Rearrange code in UpdateMouseWheel(). (#2424, #1463) + Fix old io.FontAllowUserScaling feature (probably should be made obsolete, but until then best fixed)
|
6 years ago |
Luca Rood
|
1963cc59be
|
Implement horizontal scrolling with Shift+Scroll
This is standard scrolling behaviour in most applications.
|
6 years ago |
omar
|
9350158d61
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# examples/imgui_impl_opengl3.cpp
# imgui.cpp
# imgui_internal.h
|
6 years ago |
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]
|
6 years ago |
omar
|
abb7d7b18a
|
InputText: Simplify read-only code path.
|
6 years ago |
omar
|
d9f6ba3035
|
IsWindowHovered() made change which should have no effect in master but fix result of IsWindowHovered(ImGuiHoveredFlags_ChildWindows) over multiple viewport in docking branch. (#2432)
|
6 years ago |
Gnimuc
|
a53c57152b
|
Mention Julia binding in README (#2446)
Thank you!
|
6 years ago |
omar
|
7a5196601e
|
Docking: BeginDocked() doesn't need to rely on tab bar data (will allow removing tab bar).
|
6 years ago |
omar
|
c7619d4a6a
|
Docking: Preserve existing docked nodes when setting the ImGuiDockNodeFlags_NoDockingInCentralNode flag. (#2423, #2109)
|
6 years ago |
omar
|
221bf93a55
|
Comments, todo list, remove trailing spaces.
|
6 years ago |
omar
|
7ba774a440
|
Viewports: Fixed being unable to refocus windows when ConfigViewportsNoTaskBarIcon + ConfigViewportsNoDecoration are enabled. (#2420, #1542) [@PathogenDavid] + comments.
|
6 years ago |
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)
|
6 years ago |
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)
|
6 years ago |
omar
|
cf2c52282d
|
Version 1.70 WIP
|
6 years ago |
omar
|
ebe79bbed0
|
Demo: Custom rendering: Minor sizing issue fix.
|
6 years ago |
omar
|
b1af4d36ce
|
Merge branch 'master' into docking
# Conflicts:
# docs/CHANGELOG.txt
# examples/example_win32_directx10/main.cpp
# examples/example_win32_directx11/main.cpp
# examples/example_win32_directx12/main.cpp
# examples/example_win32_directx9/main.cpp
|
6 years ago |
omar
|
55c02099c5
|
Version 1.69, comments, typos
|
6 years ago |
omar
|
c3f20f6b81
|
Viewport: DestroyPlatformWindow() skips calling user function if PlatformWindowCreated is set. + Clarified comment about implicit Debug viewport which may be hogging a viewport.
|
6 years ago |
David Maas
|
e7dca4fec2
|
Fixed main viewport not being marked as created, which broke updating the IME input position for the main viewport.
This change also removes the logic scattered about that compensated for PlatformWindowCreated being wrong for the main viewport.
|
6 years ago |
omar
|
a26085ed53
|
Internals: Fixed Navigation from reaching ImGuiItemFlags_Disabled items (#211) + Examples comments
|
6 years ago |
omar
|
53e0c13be2
|
TabBar: Reworked scrolling policy (when ImGuiTabBarFlags_FittingPolicyScroll is set) to teleport the view when aiming at a tab far away the visible section, and otherwise accelerate the scrolling speed to cap the scrolling time to 0.3 seconds.
|
6 years ago |
omar
|
99d8425173
|
TabBar: Fixed Tab tooltip code making drag and drop tooltip disappear during the frame where the drag payload activate a tab.
|
6 years ago |