- 65
- 8
Lua:
local imadd = require 'imgui_addons'
-- Левый блок (меню)
imgui.BeginChild('##menu', imgui.ImVec2(150, 400), true)
imgui.PushFont(font[25])
imgui.CenterText(u8"Helper")
imadd.Spinner(10, 3)
imgui.PopFont()
imgui.Separator()
imgui.SetCursorPosY(imgui.GetCursorPosY() + 10)
if imgui.Button(u8"Основное", imgui.ImVec2(133, 30)) then
currentSection = "main"
end
if imgui.Button(u8"Лекции", imgui.ImVec2(133, 30)) then
currentSection = "lectures"
end
if imgui.Button(u8"Тренировки", imgui.ImVec2(133, 30)) then
currentSection = "workout"
end
imgui.EndChild()