omar
000c1fc221
Demo: Added comments / tweaks related to the popups.
ago%!(EXTRA string=7 years)
omar
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 )
ago%!(EXTRA string=7 years)
omar
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 )
ago%!(EXTRA string=7 years)
omar
69db792bf0
Viewport: Exposed GetOverlayDrawList(ImGuiViewport* viewport) in public API. ( #1542 , #1660 , #1878 , etc.)
ago%!(EXTRA string=7 years)
omar
8b956216b7
Demo: Testing return value of BeginTabBar() for consistency.
ago%!(EXTRA string=7 years)
Elias Daler
8606d9fa11
Fix Clang/GCC's null-conversion warning: ( #2081 )
...
The warning is "implicit conversion of NULL constant to 'unsigned int' [-Wnull-conversion]". Happens when ImTextureID is not a void*, but unsigned int, for example.
ago%!(EXTRA string=7 years)
omar
b039dbc62e
Update README.md
ago%!(EXTRA string=7 years)
Konstantin Podsvirov
edb06a6c4d
Fixed typo in misc/README.txt ( #2131 )
ago%!(EXTRA string=7 years)
omar
e6cc547a94
Merge branch 'viewport' into docking
...
# Conflicts:
# imgui.cpp
# imgui_widgets.cpp
ago%!(EXTRA string=7 years)
omar
e73217d6f7
Merge branch 'master' into viewport
...
# Conflicts:
# examples/imgui_impl_sdl.cpp
# imgui.cpp
ago%!(EXTRA string=7 years)
omar
ca753829cb
Revert using wchar_t functions ( 9cf94d5
+ 2eaf5b0
). Big mistake, wchar_t is not guaranteed to be 16-bits.
ago%!(EXTRA string=7 years)
omar
28953208d4
Tests: Added imgui-test engine hooks (experimental).
ago%!(EXTRA string=7 years)
omar
2eaf5b03df
Fixes crash introduced in previous commit 9cf94d5
.
ago%!(EXTRA string=7 years)
omar
ede3a3b92d
Fixes crash introduced in previous commit 9cf94d5
.
ago%!(EXTRA string=7 years)
omar
c398153b40
Merge branch 'master' into docking
...
# Conflicts:
# examples/imgui_impl_sdl.cpp
# imgui.cpp
# imgui_internal.h
ago%!(EXTRA string=7 years)
omar
33994bbfa1
Docking: Fixed Modal window from being dockable.
ago%!(EXTRA string=7 years)
omar
9cf94d5dd6
RenderText(), InputTextMultiline(): Optimization for large text by using memchr, wmemchr, wcschr when appropriate.
ago%!(EXTRA string=7 years)
omar
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.
ago%!(EXTRA string=7 years)
omar
74c0309126
InputText: Clarified comments around ImGuiInputTextFlags_CallbackResize and other callbacks. ( #2006 , #1443 , #1008 )
ago%!(EXTRA string=7 years)
omar
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()
ago%!(EXTRA string=7 years)
omar
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().
...
# Conflicts:
# imgui.cpp
ago%!(EXTRA string=7 years)
omar
15ec78e9d8
Internal: Moved stored window name update code to the first_begin_of_the_frame block. This will be useful in the Docking branch.
ago%!(EXTRA string=7 years)
omar
cf0afb48ac
TextUnformatted: Using memchr(), fixed not properly testing for text_end bound + comments.
...
Internals: Added ImStreolRange() + used in LogRenderedText() + comments.
ago%!(EXTRA string=7 years)
omar
d02b11dfbd
ImGuiTextBuffer: Avoid heap allocation when empty.
ago%!(EXTRA string=7 years)
omar
1efafa1d29
Comments + internal using Tab Stop terminology (ImGuiItemFlags_NoTabStop instead of !ImGuiItemFlags_AllowKeyboardFocus)
ago%!(EXTRA string=7 years)
omar
3a7828de6b
Viewport: Added ImGuiConfigFlags_ViewportsDecoration to re-enable platform decoration ( #1542 )
ago%!(EXTRA string=7 years)
omar
7b3433c68b
Viewport: Added ImGuiConfigFlags_ViewportsDecoration to re-enable platform decoration ( #1542 )
ago%!(EXTRA string=7 years)
omar
84507cc744
Docking: Kept ImGuiDockNodeFlags_PassthruDockspace and removed ImGuiDockNodeFlags_PassthruInEmptyNodes, ImGuiDockNodeFlags_RenderWindowBg. Doesn't include ImGuiDockNodeFlags_NoDockingInCentralNode. ( #2109 )
ago%!(EXTRA string=7 years)
omar
3fcc178c23
Update README.md
ago%!(EXTRA string=7 years)
omar
dd748f0e39
Update README.md
ago%!(EXTRA string=7 years)
hesiod
500a60debc
Examples: OpenGL3: Cast compile/link status to GLboolean ( #2112 , #2125 )
...
Some OpenGL loaders/bindings do not allow comparisons between GLints and GLbooleans.
ago%!(EXTRA string=7 years)
omar
02afbaeef0
Examples: imgui_imp_opengl3.cpp explicit casting for overly aggressive glbinding compatibility. ( #2112 ) [ @hesiod ]
ago%!(EXTRA string=7 years)
omar
cb76c086e0
Docking: Removed context parameter from internal DockBuilderXXX api at it is expected we transition it to be public facing. ( #2109 )
ago%!(EXTRA string=7 years)
omar
a3b0e0acfa
Examples: DirectX10, DirectX11: Removed seemingly unnecessary calls to invalidate and recreate device objects in the WM_SIZE handler. ( #2088 )
ago%!(EXTRA string=7 years)
Michael Vetter
084c26aa41
Fix spacing in imgui_imp_sdl example ( #2111 )
ago%!(EXTRA string=7 years)
omar
407822e6a5
BeginTabItem: Fixed missing parameter name in .h file messing up with cimgui generator. ( #2115 )
ago%!(EXTRA string=7 years)
omar
3c427e284f
Update pull_request_template.md
ago%!(EXTRA string=7 years)
omar
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 )
ago%!(EXTRA string=7 years)
omar
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 )
ago%!(EXTRA string=7 years)
omar
059560d28b
ButtonBehavior, ImGuiButtonFlags_FlattenChildren flag can be used from a child window. Would typically affect calling SplitterBehavior() from a child window.
ago%!(EXTRA string=7 years)
omar
d348d86df4
Docking: Renamed "DocRoot/DocumentRoot" to "CentralNode", more self explanatory. Moved Splitter update higher up in DockNodeUpdate() + minor misc tweak. ( #2109 )
ago%!(EXTRA string=7 years)
omar
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 )
ago%!(EXTRA string=7 years)
omar
bd82539ad5
Docking: Fixed DockSpace() child window displaying a scrollbar behind the node backgrounds. Rename ImGuiCol_DockingBg to ImGuiCol_DockingEmptyBg. Added ImGuiDockNode::IsLeaftNode(). ( #2109 )
ago%!(EXTRA string=7 years)
omar
83f55c9de5
Merge branch 'viewport' into docking
ago%!(EXTRA string=7 years)
omar
33b88a0339
Merge branch 'master' into viewport
...
# Conflicts:
# imgui.cpp
ago%!(EXTRA string=7 years)
omar
fbfe193fcd
Window, Inputs: Fixed resizing from edges when io.MousePos is not pixel-rounded by rounding mouse position input. ( #2110 )
ago%!(EXTRA string=7 years)
omar
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 )
ago%!(EXTRA string=7 years)
omar
44bfa24cc3
Docking: Fixed crash using DockBuilderSplitNode(). ( #2109 )
ago%!(EXTRA string=7 years)
omar
2cff3f6a65
Docking: Renamed io.ConfigDockingWithKeyMode to io.ConfigDockingWithShift.
ago%!(EXTRA string=7 years)
omar
76e31bd51a
Fixed typo. ( #2108 , #2083 )
ago%!(EXTRA string=7 years)