- 4,750
- 1,815
Малиновый, если быть точнее.Розовый, слепой что ли?
@crazy punk кажись эта тема:
Lua:
function applyTheme()
imgui.SwitchContext()
local style = imgui.GetStyle()
local colors = style.Colors
local clr = imgui.Col
local ImVec4 = imgui.ImVec4
local ImVec2 = imgui.ImVec2
style.WindowPadding = ImVec2(6, 4)
style.WindowRounding = 5.0
style.FramePadding = ImVec2(5, 2)
style.FrameRounding = 5.0
style.ItemSpacing = ImVec2(7, 5)
style.ItemInnerSpacing = ImVec2(1, 1)
style.TouchExtraPadding = ImVec2(0, 0)
style.IndentSpacing = 6.0
style.ScrollbarSize = 12.0
style.ScrollbarRounding = 5.0
style.GrabMinSize = 20.0
style.GrabRounding = 2.0
style.ChildWindowRounding = 5.0
style.WindowTitleAlign = ImVec2(0.5, 0.5)
colors[clr.Border] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.WindowBg] = ImVec4(0.13, 0.14, 0.17, 1.00)
colors[clr.FrameBg] = ImVec4(0.200, 0.220, 0.270, 0.85)
colors[clr.TitleBg] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.TitleBgActive] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.Button] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.ButtonHovered] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.Separator] = ImVec4(1, 0, 0.3, 1.00)
--CollapsingHeader
colors[clr.Header] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.HeaderHovered] = ImVec4(0.68, 0, 0.2, 0.86)
colors[clr.HeaderActive] = ImVec4(1, 0.24, 0.47, 1.00)
colors[clr.CheckMark] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.ModalWindowDarkening] = ImVec4(0.200, 0.220, 0.270, 0.73)
colors[clr.ScrollbarBg] = ImVec4(0.200, 0.220, 0.270, 0.85)
colors[clr.ScrollbarGrab] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.ScrollbarGrabHovered] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.ScrollbarGrabActive] = ImVec4(1, 0, 0.3, 1.00)
colors[clr.ButtonActive] = ImVec4(1, 0, 0.3, 1.00)
end
applyTheme()
Взял из этого скрипта: https://www.blast.hk/threads/100654/