-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
tested with tab bar, window and inputs only work/respond if they're not inside anything other than addItem
do_mission_file("mission")
ImGui.AddItem("GNS-530", "DEBUG", function()
local step = 0.1 -- size of step for + and - buttons
value = ImGui:InputFloat("Input Float Label", value, step)
ImGui:Text("Input Float Value: " .. value)
if ImGui:Button("DUMP Mission Table") then
--dumpTableToFile(mission, "Logs/GNS-530_MissionDump.lua")
print_message_to_user("Mission table dumped to Logs/GNS-530_MissionDump.lua")
end
ImGui:TabBar("GNS-530 Debug", function()
ImGui:TabItem("Mission", function()
local step = 0.1 -- size of step for + and - buttons
value2 = ImGui:InputFloat("Input Float Label 2", value2, step)
ImGui:Text("Input Float Value: " .. value2)
recursiveImGuiTree(mission)
end)
end)
end, 500, 1200)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
