ocornut
482a1f50b6
Internals: rename ImGuiDataVarInfo to ImGuiStyleVarInfo. Move ImGuiStyleMod, ImGuiColorMod to own section.
...
# Conflicts:
# imgui.cpp
2025-02-27 21:51:07 +01:00
ocornut
494ea57b65
Image: removed 'tint_col', 'border_col' parameters from Image(). Added ImageWithBg(). Added style.ImageBorderSize, ImGuiStyleVar_ImageBorderSize. ( #8131 , #8238 )
...
Displaying a black background behind Font Atlas texture.
2025-02-27 21:48:24 +01:00
ocornut
3fb14b50f8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
2025-02-26 21:08:45 +01:00
ocornut
4c0604ec2e
Font: shallow refactor, rename ConfigData[] fields to Sources[], ConfigDataCount to SourcesCount.
...
In theory this is all internal stuff.
2025-02-25 17:41:29 +01:00
ocornut
9ab0b66f50
Backends: fixed comment to state that ImGuiViewport::PlaformHandle is used to store SDL's WindowID, not SDL_Window*. ( #7853 )
...
Amend 2d99052
2025-02-25 15:55:54 +01:00
ocornut
030746faff
Debug Tools: Added io.ConfigDebugHighlightIdConflictsShowItemPicker. ( #7961 , #7669 )
2025-02-24 17:45:16 +01:00
ocornut
773060155f
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_osx.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_win32.cpp
# imgui.cpp
2025-02-21 19:56:20 +01:00
ocornut
6dc376f676
ImFontAtlas: added software/drawlist version of ImGuiMouseCursor_Wait/ImGuiMouseCursor_Progress + moved GetMouseCursorTexData() to internals.
2025-02-20 12:17:21 +01:00
ocornut
eec097fe35
Added ImGuiMouseCursor_Progress mouse cursor 8a35386+ support in SDL2,SDL3,Win32,Allegro5 backends.
...
Amend 8a35386
2025-02-18 18:52:08 +01:00
ocornut
8a35386ba7
Added ImGuiMouseCursor_Wait mouse cursor (busy/wait/hourglass shape) + support in SDL2,SDL3,Win32,Allegro5 backends.
2025-02-18 18:40:47 +01:00
ocornut
71d39a4634
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
# imgui_internal.h
2025-02-12 19:17:48 +01:00
ocornut
ef7ffaff74
Styles, Tabs: (Breaking) Renamed TabMinWidthForCloseButton to TabCloseButtonMinWidthUnselected. Added TabCloseButtonMinWidthSelected. ( #8387 )
2025-02-12 15:46:17 +01:00
ocornut
3b2f2602b4
Windows: Fixed an issue where BeginChild() inside a collapsed Begin() wouldn't inherit the SkipItems flag.
...
Amend/fix a89f05a10
(old!)
Discovered while looking at glyph being processed in WIP branch.
2025-02-10 21:34:55 +01:00
ocornut
a18622c369
TextLinkOpenURL(): fixed default Win32 io.PlatformOpenInShellFn handler to handle UTF-8 regardless of system regional settings. ( #7660 )
2025-02-10 12:02:01 +01:00
edenware
e8ad60cc4f
Fix typo ( #8382 )
2025-02-08 04:01:46 +01:00
ocornut
8679cfa2d8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# examples/example_apple_metal/example_apple_metal.xcodeproj/project.pbxproj
# imgui.cpp
2025-02-07 18:27:32 +01:00
ocornut
4982602f6f
Windows, Style: Added style.WindowBorderHoverPadding setting to configure inner/outer padding applied to hit-testing of windows borders.
...
Amend 3c7177c6
, 59f3c4fc2
, ae7f833c6
.
Could be latched inside windows to be multi-dpi friendly, but likely won't matter soon.
2025-02-07 18:16:04 +01:00
ocornut
914fbcf2e5
Fonts: removed unnecessary const qualifier from ImFont::FindGlyph()
...
Amend 0bde57c
2025-02-07 16:26:20 +01:00
fdsa
4f1d3809c3
Fixed tabs and spaces ( #8377 )
2025-02-06 19:54:43 +01:00
ocornut
cfed18afc7
Add ImFontConfig::GlyphExtraAdvanceX as a replacement for GlyphExtraSpacing.x ( #242 )
...
Partly restore 1a31e31
.
2025-02-06 12:34:37 +01:00
ocornut
d80347613a
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.mm
# imgui.cpp
# imgui_internal.h
2025-02-03 18:42:24 +01:00
ocornut
1a31e31ae9
(Breaking) Fonts: removed ImFontConfig::GlyphExtraSpacing option which seems largely obsolete and unused. ( #242 )
2025-02-03 17:55:35 +01:00
ocornut
de962e83d0
ImFont: remove SetGlyphVisible()
...
Which was never marked public. Added by d284a6cff
. (#2149 , #515 )
Making room by removing stuff that are inconvenient to implement in our scaling system.
If you were using this function please post an issue to report it.
2025-02-03 17:50:12 +01:00
ocornut
f820bf7cd4
Version 1.91.9 WIP
2025-02-03 12:33:40 +01:00
ocornut
1820fe5f83
Comments, minor alignments tweaks.
2025-01-31 19:48:40 +01:00
ocornut
11b3a7c8ca
Merge branch 'master' into docking
2025-01-31 16:10:20 +01:00
ocornut
dbb5eeaadf
Version 1.91.8
2025-01-31 16:08:17 +01:00
ocornut
c2dcc80660
Docking: fixed ImGuiWindowFlags_DockNodeHost/ImGuiWindowFlags_NavFlattened clash introduced by c38c18c1a
just for 1.91.7 ( #8357 )
2025-01-30 11:39:52 +01:00
ocornut
082595200d
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
2025-01-29 20:04:45 +01:00
ocornut
dabc990189
Rename internal id for standardizing naming convention. "##menubar" -> "##MenuBar", "###NavWindowingList" -> "###NavWindowingOverlay"
...
"###NavUpdateWindowing" one should have zero side effect on anyone.
2025-01-29 19:59:41 +01:00
ocornut
355cb589e3
Merge branch 'master' into docking, incl conflict merge in BeginMenuBar() for #8267
...
# Conflicts:
# imgui_widgets.cpp
2025-01-24 19:40:54 +01:00
ocornut
8a1613a382
Fonts: OversampleH/OversampleV value defaults to 0 for automatic selection.
2025-01-24 19:32:30 +01:00
ocornut
4211fdc70b
ImFont: compact comments in header section.
2025-01-24 17:49:34 +01:00
ocornut
9eafb7bbfb
ImFont: IndexLookup[] table hold 16-bit values even in ImWchar32 mode.
2025-01-24 16:54:59 +01:00
ocornut
10199341b1
ImFontAtlas: made calling ClearFonts() call ClearInputData(). ( #8174 , #6556 , #6336 , #4723 )
2025-01-23 11:31:32 +01:00
ocornut
64e738cae7
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-01-22 12:19:09 +01:00
ocornut
6906ac979e
ColorEdit, ColorPicker: (Breaking) redesigned how alpha is displayed in the preview square. ( #8335 , #1578 , #346 )
...
Added ImGuiColorEditFlags_AlphaOpaque, ImGuiColorEditFlags_AlphaNoBg.
Removed ImGuiColorEditFlags_AlphaPreview.
2025-01-22 12:12:07 +01:00
ocornut
fdca6c08ad
Inputs: added IsMouseReleasedWithDelay() helper. ( #8337 , #8320 )
2025-01-22 11:28:47 +01:00
ocornut
bf13442c7c
Moved ImGuiColorEditFlags_AlphaPreview/ImGuiColorEditFlags_AlphaPreviewHalf flags. Demo: reorganized some of color edit/picker demo section.
2025-01-21 14:59:29 +01:00
ocornut
6e94f6cefb
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
# imgui_internal.h
2025-01-20 18:04:31 +01:00
ocornut
80c9cd1f6e
Font: reduce unnecessary padding in ImFontConfig struct too.
2025-01-18 16:45:58 +01:00
ocornut
d7454de80a
Font: minor tweak to struct alignment.
2025-01-17 18:09:28 +01:00
ocornut
487d7f9a29
Font: Internals: make used page maps smaller. Since it's extremely rarely used and for iterations only. ~34->16 bytes with ImWchar32.
2025-01-16 22:30:43 +01:00
ocornut
b7c27c5333
Windows: legacy SetWindowFontScale() is properly inherited by nested child windows. ( #2701 , #8138 , #1018 )
2025-01-16 19:08:39 +01:00
ocornut
015186aaf8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_vulkan.cpp
2025-01-15 17:34:17 +01:00
ocornut
0e21bde77b
Misc shallow merge to reduce diff in other branches.
2025-01-15 14:00:03 +01:00
ocornut
8a9de84cd0
FontAtlas: reduced baked IM_DRAWLIST_TEX_LINES_WIDTH_MAX from 63 to 32. ( #3245 )
2025-01-15 14:00:03 +01:00
ocornut
c59a2267d0
Version 1.91.8 WIP
2025-01-15 11:58:47 +01:00
ocornut
c0ae3258f9
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-01-14 13:46:39 +01:00
ocornut
5c1d2d1e4c
Version 1.91.7
2025-01-14 13:29:25 +01:00