Chris Savoie
c46b79846c
Metrics: Fix metrics crash with viewports.
5 years ago
omar
6636cb9f2f
Viewports: Don't set ImGuiViewportFlags_NoRendererClear when ImGuiWindowFlags_NoBackground is set. ( #3213 )
5 years ago
Rokas Kupstys
a6f4b0fd70
Nav, Menus: Fix vertical wrap-around in menus or popups created with multiple appending calls to BeginMenu()/EndMenu() or BeginPopup/EndPopup(). ( #3223 , #1207 )
...
First call to EndPopup() called NavRequestTryWrapWindow() which performed wrap-around operation while we were not done composing menu. This resulted in navigation wrapping around to first item.
Since wrap-around operation is only valid in last call to EndPopup() and there is no way to know which call is last - this operation is delayed to the end of the frame.
5 years ago
omar
7b3d379819
FocusWindow(NULL) correctly steal active id from previous window. ( #1738 ) amend b0a9bbf6
5 years ago
Albert Vaca
685ca27d84
Backends: OpenGL: On OSX, if unspecified by app, made default GLSL version 150. ( #3199 )
5 years ago
Ivan Zinkevich
1e7672acf4
Backends: DX12: Fixed OBJECT_DELETED_WHILE_STILL_IN_USE on viewport resizing. ( #3210 )
...
Tested with detaching/attaching a viewport and resizing it. DX12 debug
layer is clean.
5 years ago
omar
8596f2b0fc
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
5 years ago
omar
4f33dd15c4
Internals: stand-in for large branches to facilitate merging.
5 years ago
omar
5f752a5ba9
Internals: shuffling some sections (2)
5 years ago
omar
f466cfc2ca
Internals: shuffling some sections, added index.
5 years ago
omar
3aa1684129
Comments
5 years ago
omar
538d28e29e
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
5 years ago
omar
c0d5b3f55a
Fix to facilitate branch merges
5 years ago
omar
53ebd6a02f
Metrics: Added Table settings block.
5 years ago
omar
574ff0a280
Docking, Settings: Allow reload of settings data at runtime. ( #2573 )
5 years ago
omar
51e568f9dc
Docking: Fix to allow basic reload of non-docking .ini data (following d33021d8
) + moved settings blocks
5 years ago
omar
582f4db59b
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
5 years ago
omar
d33021d828
Settings: Made it possible to load window .ini data mid-frame. Added clear and post-read handlers. ( #2573 )
5 years ago
omar
b6a04d7750
Settings: Added Clear Settings in Metrics. ( #2188 ) + Preserve last loaded copy in internal buffer used for save (so it can be browsed easily).
5 years ago
omar
9ee442d3f0
Metrics: Added a "Settings" section with some details about persistent ini settings. InputText: Assert early on null buffer.
5 years ago
omar
510f301c9f
Internals: Removed seemingly unnecessary size_on_first_use arg to CreateNewWindow(), extracted code into ApplyWindowSettings.
5 years ago
omar
0679e05677
Internals: Added code in TempInputScalar() to clamp values, NOT used by stock Drag/Float ( #3209 , #1829 , #946 , #413 )
5 years ago
omar
673d6df85f
Demo: Clamping font scale. Added helpers in demo. Comments. Update sponsors. ( #3206 )
5 years ago
omar
f152fac4f1
Demo: Wrapped many (not all) code and comments lines to 120 characters to fit below GitHub viewer limit. ( #3193 )
5 years ago
omar
419f905f91
Demo: Extracted some code out of ShowStyleEditor() into NodeFont().
5 years ago
omar
11a3e75f47
Backends: Win32: Fix _WIN32_WINNT < 0x0600 (MinGW defaults to 0x502 == Windows 2003). ( #3183 )
5 years ago
omar
5116eee108
Merge branch 'master' into docking
...
# Conflicts:
# examples/imgui_impl_opengl3.cpp
# imgui.cpp
5 years ago
omar
b4dd28ffbb
Style: Added style.TabMinWidthForUnselectedCloseButton settings.
...
Set to 0.0f (default) to always make a close button appear on hover (same as Chrome, VS).
Set to FLT_MAX to only display a close button when selected (merely hovering is not enough).
Set to an intermediary value to toggle behavior based on width (same as Firefox).
5 years ago
omar
099091280f
Backends: DX10/DX11: Minor tweaks.
5 years ago
Silent
1e9abf60d1
Backends: Keep shader blobs as local variables. ( #3176 )
5 years ago
Rokas Kupstys
794bf7a28d
CI: Implement builds with IMGUI_DISABLE_WIN32_FUNCTIONS, IMGUI_DISABLE_FILE_FUNCTIONS, IMGUI_USE_BGRA_PACKED_COLOR IM_VEC2_CLASS_EXTRA, IM_VEC4_CLASS_EXTRA and building library as a DLL.
5 years ago
omar
d5ce3b43ae
Backends: Vulkan: Fixed error in if initial frame has no vertices. ( #3177 )
5 years ago
Clownacy
a2454f2a45
Use __NEWLIB__ instead of __SWITCH__ and __CYGWIN__ for alloca.h-detection ( #3070 )
...
Cygwin uses newlib, so it's covered by the __NEWLIB__ check.
You can see how it defines __NEWLIB__ here: https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=newlib/configure.in#l453
5 years ago
Ryan Pavlik
8cbff5ccb2
Fix various typos. ( #3161 )
...
(found by Debian's lintian on a package that uses imgui.)
(found by codespell.)
5 years ago
Rokas Kupstys
2593b6a1c8
Drag and Drop: Fix unintended fallback "..." tooltip during drag operation when drag source uses _SourceNoPreviewTooltip flags. ( #3160 )
5 years ago
Chris Savoie
73c30aa085
Backends: Vulkan: Don't skip drawing when there's no vertexes to ensure that user callbacks are still processed.
5 years ago
Matt Haynie
d3212482fe
Fix multiple macro definitions of GLFW_INCLUDE_NONE ( #3157 )
5 years ago
omar
5ac5d3674f
Removed unncessary ID (first arg) of ImFontAtlas::AddCustomRectRegular() function.
5 years ago
omar
223297b075
Clarified comments about popups input blocking and ImGuiHoveredFlags_AllowWhenBlockedByPopup flag. ( #3154 )
5 years ago
omar
7ddc1adefb
Internals: FIxed commented out IMGUI_DEBUG_LOG_xxx macros, added extra. Revert incorrect 103c5edaa
.
5 years ago
Silent
fd6d3155c0
Fix wrong comment in ImGuiCond_ ( #3139 )
5 years ago
u3shit
528b12eb7a
Fix glClipControl(GL_UPPER_LEFT) handling in opengl3.
5 years ago
ocornut
266dff9bed
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
# imgui_internal.h
5 years ago
ocornut
c0283c1289
TestEngine: Changed PushID hooks into GetID(), makes more sense and catches more information.
5 years ago
omar
37f665b619
Backends: Win32: Support for #define NOGDI, won't try to call GetDeviceCaps(). ( #3137 , #2327 )
5 years ago
Rokas Kupstys
7f8b076f2b
Viewports, Backends: GLFW: Fix windows resizing incorrectly due to GLFW firing window positioning callbacks on next frame after window is resized manually. ( #2117 )
...
+ Docking fixed PVS warning
5 years ago
Patryk Czachurski
36ac557df0
Docking: Fix unused variable warning. ( #3135 )
5 years ago
András Kucsma
388bf66247
Fix missing comma in FAQ.md ( #3134 )
5 years ago
omar
9f9ff84ba1
TestEngine: Added PushID() hooks.
5 years ago
omar
b0e9092d6f
TestEngine: Added extra storage and global enable flag. Added missing ItemInfo hooks.
5 years ago