omar
5691385a33
IO: Added BackendPlatformUserData, BackendRendererUserData, BackendLanguageUserData void* for storage use by back-ends. ( #2004 + for cimgui)
ago%!(EXTRA string=6 years)
omar
89ac0ea7c1
Various user-facing comments
ago%!(EXTRA string=6 years)
omar
f1c7596409
Internals: Popup related comments. Renamed the misleading internal ClosePopup() function. Added bool* test to BeginPopupModal in demo.
ago%!(EXTRA string=6 years)
omar
5d20da1b36
Viewport, DPI: Now using DpiScale from the ImGuiPlatformMonitor array instead of calling Platform_GetWindowDpiScale() before the platform window creation. Might even tentatively see if things work out without Platform_GetWindowDpiScale. ( #1676 )
ago%!(EXTRA string=6 years)
omar
8497948ba0
Comments, minor tweaks.
ago%!(EXTRA string=6 years)
omar
ccce47c6a2
Demo: Using Tabs in Style Editor and Simple Layout example. + Adding missing early out in About and Documents examples.
ago%!(EXTRA string=6 years)
omar
54a60aaa40
Added BETA api for Tab Bar/Tabs widgets. ( #261 , #351 ) (merged this feature from the from Docking branch so it can be used earlier as as standalone feature)
...
- Added BeginTabBar(), EndTabBar(), BeginTabItem(), EndTabItem(), SetTabItemClosed() API.
- Added ImGuiTabBarFlags flags for BeginTabBar().
- Added ImGuiTabItemFlags flags for BeginTabItem().
- Style: Added ImGuiCol_Tab, ImGuiCol_TabHovered, ImGuiCol_TabActive, ImGuiCol_TabUnfocused, ImGuiCol_TabUnfocusedActive colors.
- Demo: Added Layout->Tabs demo code.
- Demo: Added "Documents" example app showcasing possible use for tabs.
ago%!(EXTRA string=6 years)
omar
cc1283fb78
Added ImGuiWindowFlags_UnsavedDocument window flag to append '*' to title without altering the ID, as a convenience to avoid using the ### operator. (merged from Docking branch)
ago%!(EXTRA string=6 years)
omar
15447f5b7b
Using named flags instead of 0 + shallow formatting tweaks from other branches.
ago%!(EXTRA string=6 years)
omar
9476e07d5a
Added io.ConfigWindowsMoveFromTitleBarOnly option. Still is ignored by window with no title bars (often popups). This affects clamping window within the visible area: with this option enabled title bars need to be visible. ( #899 )
...
Tweaked default value of style.DisplayWindowPadding from (20,20) to (19,19) so the default style as a value which is the same as the title bar height.
ago%!(EXTRA string=6 years)
omar
59f3c4fc20
Renamed io.ConfigResizeWindowsFromEdges to io.ConfigWindowsResizeFromEdges and removed its [Beta] mark. Resizing windows from edge is now enabled by default (io.ConfigWindowsResizeFromEdges=true). Note that it only works _if_ the back-end sets ImGuiBackendFlags_HasMouseCursors, which the standard back-end do.
ago%!(EXTRA string=6 years)
omar
f3a0b17bb8
Viewport: Win32, GLFW, SDL: Clarified back-ends by using global mouse position direction. GLFW: disabled io.MouseHoveredViewport setting under Mac/Linux. ( #1542 , #2117 ) + various comments.
ago%!(EXTRA string=6 years)
omar
b96b1f2412
Docking: Documenting an issue. Renamed member of ImGuiDockFamily.
ago%!(EXTRA string=6 years)
omar
b58bd5b311
Version 1.67 WIP + todo notes
ago%!(EXTRA string=6 years)
omar
6644f1ff64
Docking: Added io.ConfigDockingTabBarOnSingleWindows option (mostly made possible by the previous fixes).
...
Note that dock node have regressions compared to current floating window: no collapse, no auto-resize, resize grip under the scrollbar, border issues, general overhead. Will tackle those.
ago%!(EXTRA string=6 years)
omar
f6b6ad1959
Viewport: Minor tweaks, better struct layout.
ago%!(EXTRA string=7 years)
omar
eb311abc92
Fixed IMGUI_API tag on ImFontAtlas::IsBuilt() preventing to build as DLL on some setups. ( #2226 )
ago%!(EXTRA string=7 years)
omar
10e13dd6bb
Version 1.67 WIP (again, this time IMGUI_VERSION_NUM has leeway for another hot-fix).
ago%!(EXTRA string=7 years)
omar
801645d350
Version 1.66b (will revisit how to change IMGUI_VERSION_NUM across versions, this commit reduces the numerical IMGUI_VERSION_NUM compared to the commit on Nov 22).
ago%!(EXTRA string=7 years)
omar
7658035e5a
About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose.
ago%!(EXTRA string=7 years)
omar
3849def253
Added ShowAboutWindow(), About Window now showing various config/build information.
ago%!(EXTRA string=7 years)
omar
a423f032ee
About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose.
ago%!(EXTRA string=7 years)
omar
4ef06f5aa2
Added ShowAboutWindow(), About Window now showing various config/build information.
ago%!(EXTRA string=7 years)
omar
4a94b251fd
Comments
ago%!(EXTRA string=7 years)
omar
2fbbcaa339
Viewport: Avoid calling platform functions when window is not created (apart from Platform_GetWindowDpiScale, documented as such). Main viewport situation is still ambiguous. ( #1542 )
ago%!(EXTRA string=7 years)
omar
19d17ed274
Docking: Added io.ConfigDockingTransparentPayload option (to use with ImGuiConfigFlags_ViewportsNoMerge)
ago%!(EXTRA string=7 years)
omar
4cadb57c46
Viewport: Comments.
ago%!(EXTRA string=7 years)
omar
4105cc7e97
Added ImGuiConfigFlags_None, ImGuiBackendFlags_None for good measure.
ago%!(EXTRA string=7 years)
omar
1fa2cb8748
imgui.h: Comments
ago%!(EXTRA string=7 years)
omar
ce07d55d1b
imgui.h: Moved ImGuiListClipper
ago%!(EXTRA string=7 years)
omar
8495c931c0
mgui.h: Moved ImGuiInputTextCallbackData,, ImGuiSizeCallbackData, ImGuiPayload structures so they are not in the "Helpers" section.
ago%!(EXTRA string=7 years)
omar
962dcb466d
Docking: Added ImGuiDockNodeFlags_NoResize. ( #2109 )
ago%!(EXTRA string=7 years)
omar
12a1e7d04e
Viewport: Comment to suggest making WindowBg opaque when viewports are enabled.
ago%!(EXTRA string=7 years)
omar
131de7ab62
Docking: Added ImGuiConfigFlags_DockingNoSplit flag. ( #2109 )
ago%!(EXTRA string=7 years)
omar
d8ab2c1ac9
Viewport: Added support for minimized window which caused problem when ImGuiBackendFlags_HasMouseHoveredViewport was not supported. ( #1542 ) + todo
ago%!(EXTRA string=7 years)
omar
d27ffefbd4
Version 1.67 WIP
ago%!(EXTRA string=7 years)
omar
da3c4330c1
Version 1.66
ago%!(EXTRA string=7 years)
omar
19b4fcdacb
Made IsWindowFocused() work outside of NewFrame()-EndFrame() and added comments about how ImGuiFocusedFlags_AnyWindow should NOT be used in place of io.WantCaptureMouse. ( #2185 )
ago%!(EXTRA string=7 years)
Konstantin Podsvirov
faecf90383
SliderAngle: Added optional `format` argument to allow users customize precision and make localization. ( #2150 )
ago%!(EXTRA string=7 years)
omar
a72d5ada61
Misc comments improvements
ago%!(EXTRA string=7 years)
omar
c547b2e8ee
Added DockSpaceOverViewport() call, not sure about this because of the menu bar limitation. ( #2109 )
ago%!(EXTRA string=7 years)
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)
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
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
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)