local imgui = require 'mimgui'
local renderWindow = imgui.new.bool(true)
local int_item = imgui.new.int(0)
local item_list = {"Item 1", "item 2"}
local ImItems = imgui.new['const char*'][#item_list](item_list)
imgui.OnInitialize(function()
imgui.GetStyle().PopupRounding = 10
end)
local newFrame = imgui.OnFrame(
function() return renderWindow[0] end,
function(self)
if imgui.Begin('Main Window', renderWindow) then
imgui.Combo("Test", int_item, ImItems, #item_list)
imgui.End()
end
end
)
function main()
wait(-1)
end