mirror of
https://github.com/pkdawson/imgui-godot.git
synced 2026-09-15 19:24:18 +00:00
CI: revert to beta3 because rc1 breaks headless
This commit is contained in:
8
.github/workflows/gdext.yml
vendored
8
.github/workflows/gdext.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
|
||||
|
||||
env:
|
||||
vcpkg_tag: 943c5ef1c8f6b5e6ced092b242c8299caae2ff01 # 2024.04.26
|
||||
vcpkg_tag: 1de2026f28ead93ff1773e6e680387643e914ea1 # 2024.07.12
|
||||
|
||||
jobs:
|
||||
windows:
|
||||
@@ -286,7 +286,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-14, windows-latest]
|
||||
gdver: ["4.2.2", "4.3.0-rc.1"]
|
||||
gdver: ["4.2.2", "4.3.0-beta.3"]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
name: 🐧GdsGameProject
|
||||
@@ -367,7 +367,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-14, windows-latest]
|
||||
gdver: ["4.2.2", "4.3.0-rc.1"]
|
||||
gdver: ["4.2.2", "4.3.0-beta.3"]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
name: 🐧🧪GDScript
|
||||
@@ -415,7 +415,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-14, windows-latest]
|
||||
gdver: ["4.2.2", "4.3.0-rc.1"]
|
||||
gdver: ["4.2.2", "4.3.0-beta.3"]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
name: 🐧🧪C#
|
||||
|
||||
2
.github/workflows/godot.yml
vendored
2
.github/workflows/godot.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-14, windows-latest]
|
||||
gdver: ["4.2.2", "4.3.0-rc.1"]
|
||||
gdver: ["4.2.2", "4.3.0-beta.3"]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
name: 🐧🧪C# Only
|
||||
|
||||
@@ -9,41 +9,41 @@ var anim_counter := 0
|
||||
var wc_topmost: ImGuiWindowClassPtr
|
||||
|
||||
func _ready():
|
||||
var io := ImGui.GetIO()
|
||||
io.ConfigFlags |= ImGui.ConfigFlags_ViewportsEnable
|
||||
var io := ImGui.GetIO()
|
||||
io.ConfigFlags |= ImGui.ConfigFlags_ViewportsEnable
|
||||
|
||||
wc_topmost = ImGuiWindowClassPtr.new()
|
||||
wc_topmost.ViewportFlagsOverrideSet = ImGui.ViewportFlags_TopMost | ImGui.ViewportFlags_NoAutoMerge
|
||||
wc_topmost = ImGuiWindowClassPtr.new()
|
||||
wc_topmost.ViewportFlagsOverrideSet = ImGui.ViewportFlags_TopMost | ImGui.ViewportFlags_NoAutoMerge
|
||||
|
||||
var style := ImGui.GetStyle()
|
||||
style.Colors[ImGui.Col_PlotHistogram] = Color.REBECCA_PURPLE
|
||||
style.Colors[ImGui.Col_PlotHistogramHovered] = Color.SLATE_BLUE
|
||||
var style := ImGui.GetStyle()
|
||||
style.Colors[ImGui.Col_PlotHistogram] = Color.REBECCA_PURPLE
|
||||
style.Colors[ImGui.Col_PlotHistogramHovered] = Color.SLATE_BLUE
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
ImGui.ShowDemoWindow()
|
||||
ImGui.ShowDemoWindow()
|
||||
|
||||
ImGui.Begin("hello")
|
||||
ImGui.Text("hello from GDScript")
|
||||
ImGui.DragFloat("myfloat", myfloat)
|
||||
ImGui.Text(str(myfloat[0]))
|
||||
ImGui.InputText("mystr", mystr, 32)
|
||||
ImGui.Text(mystr[0])
|
||||
ImGui.Begin("hello")
|
||||
ImGui.Text("hello from GDScript")
|
||||
ImGui.DragFloat("myfloat", myfloat)
|
||||
ImGui.Text(str(myfloat[0]))
|
||||
ImGui.InputText("mystr", mystr, 32)
|
||||
ImGui.Text(mystr[0])
|
||||
|
||||
ImGui.PlotHistogram("histogram", values, values.size())
|
||||
ImGui.PlotLines("lines", values, values.size())
|
||||
ImGui.ListBox("choices", current_item, items, items.size())
|
||||
ImGui.Combo("combo", current_item, items)
|
||||
ImGui.Text("choice = %s" % items[current_item[0]])
|
||||
ImGui.End()
|
||||
ImGui.PlotHistogram("histogram", values, values.size())
|
||||
ImGui.PlotLines("lines", values, values.size())
|
||||
ImGui.ListBox("choices", current_item, items, items.size())
|
||||
ImGui.Combo("combo", current_item, items)
|
||||
ImGui.Text("choice = %s" % items[current_item[0]])
|
||||
ImGui.End()
|
||||
|
||||
ImGui.SetNextWindowClass(wc_topmost)
|
||||
ImGui.SetNextWindowSize(Vector2(200, 200), ImGui.Cond_Once)
|
||||
ImGui.Begin("topmost viewport window")
|
||||
ImGui.TextWrapped("when this is a viewport window outside the main window, it will stay on top")
|
||||
ImGui.End()
|
||||
ImGui.SetNextWindowClass(wc_topmost)
|
||||
ImGui.SetNextWindowSize(Vector2(200, 200), ImGui.Cond_Once)
|
||||
ImGui.Begin("topmost viewport window")
|
||||
ImGui.TextWrapped("when this is a viewport window outside the main window, it will stay on top")
|
||||
ImGui.End()
|
||||
|
||||
func _physics_process(_delta: float) -> void:
|
||||
anim_counter += 1
|
||||
if anim_counter >= 10:
|
||||
anim_counter = 0
|
||||
values.push_back(values.pop_front())
|
||||
anim_counter += 1
|
||||
if anim_counter >= 10:
|
||||
anim_counter = 0
|
||||
values.push_back(values.pop_front())
|
||||
|
||||
Reference in New Issue
Block a user