Skip to content

Commit b02e341

Browse files
authored
[imgui] update to 1.91.9 (#44425)
1 parent a97104f commit b02e341

File tree

8 files changed

+69
-9
lines changed

8 files changed

+69
-9
lines changed

ports/hello-imgui/portfile.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ vcpkg_from_github(
99
PATCHES
1010
cmake-config.diff
1111
imgui-test-engine.diff
12+
# PR has been merged into https://github.com/pthom/hello_imgui/pull/142. This patch should not be needed in the next release.
13+
support-imgui-1_91_9.patch
1214
)
1315
file(REMOVE_RECURSE
1416
"${SOURCE_PATH}/external/imgui"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
diff --git a/src/hello_imgui/impl/imgui_theme.cpp b/src/hello_imgui/impl/imgui_theme.cpp
2+
index 8bc60cb..87f2de4 100644
3+
--- a/src/hello_imgui/impl/imgui_theme.cpp
4+
+++ b/src/hello_imgui/impl/imgui_theme.cpp
5+
@@ -314,7 +314,7 @@ namespace ImGuiTheme
6+
style.GrabRounding = 0.0f;
7+
style.TabRounding = 0.0f;
8+
style.TabBorderSize = 0.0f;
9+
- style.TabMinWidthForCloseButton = 0.0f;
10+
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
11+
style.ColorButtonPosition = ImGuiDir_Left;
12+
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
13+
style.SelectableTextAlign = ImVec2(0.0f, 0.0f);
14+
@@ -408,7 +408,7 @@ namespace ImGuiTheme
15+
style.GrabRounding = 0.0f;
16+
style.TabRounding = 0.0f;
17+
style.TabBorderSize = 1.0f;
18+
- style.TabMinWidthForCloseButton = 0.0f;
19+
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
20+
style.ColorButtonPosition = ImGuiDir_Right;
21+
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
22+
style.SelectableTextAlign = ImVec2(0.0f, 0.0f);
23+
@@ -577,7 +577,7 @@ namespace ImGuiTheme
24+
style.GrabRounding = 0.0f;
25+
style.TabRounding = 4.0f;
26+
style.TabBorderSize = 0.0f;
27+
- style.TabMinWidthForCloseButton = 0.0f;
28+
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
29+
style.ColorButtonPosition = ImGuiDir_Right;
30+
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
31+
style.SelectableTextAlign = ImVec2(0.0f, 0.0f);
32+
@@ -615,7 +615,7 @@ namespace ImGuiTheme
33+
style.GrabRounding = 2.0f;
34+
style.TabRounding = 4.0f;
35+
style.TabBorderSize = 1.0f;
36+
- style.TabMinWidthForCloseButton = 0.0f;
37+
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
38+
style.ColorButtonPosition = ImGuiDir_Right;
39+
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
40+
style.SelectableTextAlign = ImVec2(0.0f, 0.0f);
41+
@@ -814,7 +814,7 @@ namespace ImGuiTheme
42+
style.ScrollbarSize = 15.5f;
43+
style.GrabMinSize = 10.89999961853027f;
44+
style.TabBorderSize = 1.0f;
45+
- style.TabMinWidthForCloseButton = 0.0f;
46+
+ style.TabCloseButtonMinWidthUnselected = 0.0f;
47+
style.ColorButtonPosition = ImGuiDir_Right;
48+
style.ButtonTextAlign = ImVec2(0.5f, 0.5f);
49+
style.SelectableTextAlign = ImVec2(0.0f, 0.5f);

ports/hello-imgui/vcpkg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hello-imgui",
33
"version": "1.6.0",
4-
"port-version": 2,
4+
"port-version": 3,
55
"description": [
66
"Hello ImGui: unleash your creativity in app development and prototyping",
77
"Note that at least on renderer backend and at least one platform backend must be chosen."

ports/imgui/portfile.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ if ("docking-experimental" IN_LIST FEATURES)
55
OUT_SOURCE_PATH SOURCE_PATH
66
REPO ocornut/imgui
77
REF "v${VERSION}-docking"
8-
SHA512 8c43016957a4811922e2bbf9108eecb0c94944e34b357087b8c989eb8c1155483eeb84af6b5291b3512fcd1bfe3e1a2bc04870594e7e9f4e28b0629e3eecbf25
8+
SHA512 3a019533e638b2023e0c71d0455561ee9d589ff33b677c8135345e85c28edb7b83580271d49a787e0e838fd6217d1625baad65e6559ae7faec53f3a309917ecd
99
HEAD_REF docking
1010
)
1111
else()
1212
vcpkg_from_github(
1313
OUT_SOURCE_PATH SOURCE_PATH
1414
REPO ocornut/imgui
1515
REF "v${VERSION}"
16-
SHA512 421aa81b55a85a8c4ea21d1b352e41e916b9e0f3ccfee3dcf415fc69c49a5feffc742c991fe10a19725a3766c92ebc5bff1027d6278ae7b8f1861474e891d6e6
16+
SHA512 c9393bd9f6b49b036ad6ab3ba4d972876c6f60ce7f5c13a7a56ff11b3559ea3211b0caa03eed10b4f4fbe9c371e14f7f24866bd476652f543f3ed3aa878ea930
1717
HEAD_REF master
1818
)
1919
endif()
@@ -64,7 +64,7 @@ if ("test-engine" IN_LIST FEATURES)
6464
OUT_SOURCE_PATH TEST_ENGINE_SOURCE_PATH
6565
REPO ocornut/imgui_test_engine
6666
REF "v${VERSION}"
67-
SHA512 c6478efa8d26da7c538bc73c20ff5dfdedee98467128b1d88e5efa384fa8969ff06ff076878c1c4223646ec87ebab4b44081f1cc029fef389eb4c3cfdca57ae7
67+
SHA512 44d6fd1c26c9c2cb3fcbd1560dba8e056f84dc170051dcb8db5d642945fb26475006a8166486f7f62e900a97d65f2f98d364ac06c121a57309b3229cc41556a4
6868
HEAD_REF master
6969
)
7070

ports/imgui/vcpkg.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "imgui",
3-
"version": "1.91.8",
4-
"port-version": 4,
3+
"version": "1.91.9",
54
"description": "Bloat-free Immediate Mode Graphical User interface for C++ with minimal dependencies.",
65
"homepage": "https://github.com/ocornut/imgui",
76
"license": "MIT",

versions/baseline.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3562,7 +3562,7 @@
35623562
},
35633563
"hello-imgui": {
35643564
"baseline": "1.6.0",
3565-
"port-version": 2
3565+
"port-version": 3
35663566
},
35673567
"hexl": {
35683568
"baseline": "1.2.5",
@@ -3721,8 +3721,8 @@
37213721
"port-version": 0
37223722
},
37233723
"imgui": {
3724-
"baseline": "1.91.8",
3725-
"port-version": 4
3724+
"baseline": "1.91.9",
3725+
"port-version": 0
37263726
},
37273727
"imgui-node-editor": {
37283728
"baseline": "0.9.3",

versions/h-/hello-imgui.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "78ac4b6bc7b6c824cb961ef178de22f621631b03",
5+
"version": "1.6.0",
6+
"port-version": 3
7+
},
38
{
49
"git-tree": "7b5fb698a8594d93f40dc96edbbce679a852c1bf",
510
"version": "1.6.0",

versions/i-/imgui.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "cecad336497c19491c07fead1897ac139a173ed2",
5+
"version": "1.91.9",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "5f4112249c873fd337a417c75e45127362785b75",
510
"version": "1.91.8",

0 commit comments

Comments
 (0)