- 88
- 19
- Версия MoonLoader
- Другое
как сохранить изменение стиля imgui после перезагрузки? мой код:
Lua:
local combo_styles = imgui.ImInt(0)
styles_str = {u8"Фиолетовая", u8"Красная", u8"Синяя", u8"Жёлтая", u8"Тёмно-красная"}
if menu == 5 then
imgui.BeginChild(u8"Настройки", imgui.ImVec2(445, 205), true)
if combo_styles.v == 0 then
apply_custom_style()
end
if combo_styles.v == 1 then
apply_custom_style1()
end
if combo_styles.v == 2 then
apply_custom_style2()
end
if combo_styles.v == 3 then
apply_custom_style3()
end
if combo_styles.v == 4 then
apply_custom_style4()
end
imgui.Text(u8'Тема: ')
imgui.SameLine()
imgui.Combo(u8' ', combo_styles, styles_str)
imgui.EndChild()
end