темы для имгуи "бравл старс" и "манйкрафт"

user164451

Потрачен
Автор темы
406
125
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
басяцкие темы для имгуи

gta_sa_GzvA6zblxt.png

Lua:
function brawlstarstheme()
    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(15, 15)
    style.WindowRounding      = 7
    style.ChildWindowRounding = 0
    style.FramePadding        = ImVec2(5, 5)
    style.FrameRounding       = 4
    style.ItemSpacing         = ImVec2(8, 6)
    style.TouchExtraPadding   = ImVec2(0, 0)
    style.IndentSpacing       = 25
    style.ScrollbarSize       = 15
    style.ScrollbarRounding   = 9
    style.GrabMinSize         = 5
    style.GrabRounding        = 3
    style.WindowTitleAlign    = ImVec2(0, 1)
    style.ButtonTextAlign     = ImVec2(1, 1)

    colors[clr.Text]                 = ImVec4(0.80, 0.80, 0.83, 1.00)
    colors[clr.TextDisabled]         = ImVec4(0.24, 0.23, 0.29, 1.00)
    colors[clr.WindowBg]             = ImVec4(0.06, 0.05, 0.07, 1.00)
    colors[clr.ChildWindowBg]        = ImVec4(0.07, 0.07, 0.09, 1.00)
    colors[clr.PopupBg]              = ImVec4(0.07, 0.07, 0.09, 1.00)
    colors[clr.Border]               = ImVec4(0.80, 0.80, 0.83, 0.88)
    colors[clr.BorderShadow]         = ImVec4(0.92, 0.91, 0.88, 0.00)
    colors[clr.FrameBg]              = ImVec4(0.10, 0.09, 0.12, 1.00)
    colors[clr.FrameBgHovered]       = ImVec4(0.24, 0.23, 0.29, 1.00)
    colors[clr.FrameBgActive]        = ImVec4(0.56, 0.56, 0.58, 1.00)
    colors[clr.TitleBg]              = ImVec4(0.73, 0.11, 0.44, 1.00)
    colors[clr.TitleBgActive]        = ImVec4(0.73, 0.11, 0.44, 1.00)
    colors[clr.TitleBgCollapsed]     = ImVec4(1.00, 0.98, 0.95, 0.75)
    colors[clr.MenuBarBg]            = ImVec4(0.10, 0.09, 0.12, 1.00)
    colors[clr.ScrollbarBg]          = ImVec4(0.10, 0.09, 0.12, 1.00)
    colors[clr.ScrollbarGrab]        = ImVec4(0.80, 0.80, 0.83, 0.31)
    colors[clr.ScrollbarGrabHovered] = ImVec4(0.56, 0.56, 0.58, 1.00)
    colors[clr.ScrollbarGrabActive]  = ImVec4(0.06, 0.05, 0.07, 1.00)
    colors[clr.ComboBg]              = ImVec4(0.19, 0.18, 0.21, 1.00)
    colors[clr.CheckMark]            = ImVec4(0.73, 0.11, 0.44, 1.00)
    colors[clr.SliderGrab]           = ImVec4(0.73, 0.11, 0.44, 1.00)
    colors[clr.SliderGrabActive]     = ImVec4(0.73, 0.11, 0.44, 1.00)
    colors[clr.Button]               = ImVec4(0.10, 0.09, 0.12, 1.00)
    colors[clr.ButtonHovered]        = ImVec4(0.24, 0.23, 0.29, 1.00)
    colors[clr.ButtonActive]         = ImVec4(0.56, 0.56, 0.58, 1.00)
    colors[clr.Header]               = ImVec4(0.10, 0.09, 0.12, 1.00)
    colors[clr.HeaderHovered]        = ImVec4(0.56, 0.56, 0.58, 1.00)
    colors[clr.HeaderActive]         = ImVec4(0.06, 0.05, 0.07, 1.00)
    colors[clr.Separator]            = ImVec4(0.50, 0.50, 0.50, 1.00)
    colors[clr.SeparatorHovered]     = ImVec4(0.60, 0.60, 0.70, 1.00)
    colors[clr.SeparatorActive]      = ImVec4(0.70, 0.70, 0.90, 1.00)
    colors[clr.ResizeGrip]           = ImVec4(0.00, 0.00, 0.00, 0.00)
    colors[clr.ResizeGripHovered]    = ImVec4(0.56, 0.56, 0.58, 1.00)
    colors[clr.ResizeGripActive]     = ImVec4(0.06, 0.05, 0.07, 1.00)
    colors[clr.CloseButton]          = ImVec4(0.40, 0.39, 0.38, 0.16)
    colors[clr.CloseButtonHovered]   = ImVec4(0.40, 0.39, 0.38, 0.39)
    colors[clr.CloseButtonActive]    = ImVec4(0.40, 0.39, 0.38, 1.00)
    colors[clr.PlotLines]            = ImVec4(0.40, 0.39, 0.38, 0.63)
    colors[clr.PlotLinesHovered]     = ImVec4(0.25, 1.00, 0.00, 1.00)
    colors[clr.PlotHistogram]        = ImVec4(0.40, 0.39, 0.38, 0.63)
    colors[clr.PlotHistogramHovered] = ImVec4(0.25, 1.00, 0.00, 1.00)
    colors[clr.TextSelectedBg]       = ImVec4(0.25, 1.00, 0.00, 0.43)
    colors[clr.ModalWindowDarkening] = ImVec4(1.00, 0.98, 0.95, 0.73)
end

gta_sa_zcfkgEuH3x.png

Lua:
function minecrafttheme()
    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(12, 20)
    style.WindowRounding      = 10
    style.ChildWindowRounding = 5
    style.FramePadding        = ImVec2(4, 5)
    style.FrameRounding       = 6
    style.ItemSpacing         = ImVec2(8, 4)
    style.TouchExtraPadding   = ImVec2(5, 5)
    style.IndentSpacing       = 21
    style.ScrollbarSize       = 15
    style.ScrollbarRounding   = 9
    style.GrabMinSize         = 7
    style.GrabRounding        = 12
    style.WindowTitleAlign    = ImVec2(1, 1)
    style.ButtonTextAlign     = ImVec2(1, 0)

    colors[clr.Text]                 = ImVec4(1.00, 1.00, 1.00, 1.00)
    colors[clr.TextDisabled]         = ImVec4(1.00, 1.00, 1.00, 1.00)
    colors[clr.WindowBg]             = ImVec4(0.26, 0.11, 0.00, 1.00)
    colors[clr.ChildWindowBg]        = ImVec4(0.87, 0.87, 0.87, 0.00)
    colors[clr.PopupBg]              = ImVec4(0.36, 0.36, 0.36, 0.88)
    colors[clr.Border]               = ImVec4(0.20, 0.20, 0.20, 0.50)
    colors[clr.BorderShadow]         = ImVec4(0.00, 0.00, 0.00, 0.00)
    colors[clr.FrameBg]              = ImVec4(0.34, 0.34, 0.34, 1.00)
    colors[clr.FrameBgHovered]       = ImVec4(1.00, 1.00, 1.00, 0.40)
    colors[clr.FrameBgActive]        = ImVec4(0.84, 0.66, 0.66, 0.67)
    colors[clr.TitleBg]              = ImVec4(0.00, 0.72, 0.21, 1.00)
    colors[clr.TitleBgActive]        = ImVec4(0.00, 0.75, 0.09, 1.00)
    colors[clr.TitleBgCollapsed]     = ImVec4(0.01, 0.68, 0.00, 1.00)
    colors[clr.MenuBarBg]            = ImVec4(0.10, 0.87, 0.00, 1.00)
    colors[clr.ScrollbarBg]          = ImVec4(1.00, 1.00, 1.00, 0.53)
    colors[clr.ScrollbarGrab]        = ImVec4(0.52, 0.52, 0.52, 1.00)
    colors[clr.ScrollbarGrabHovered] = ImVec4(1.00, 1.00, 1.00, 1.00)
    colors[clr.ScrollbarGrabActive]  = ImVec4(1.00, 1.00, 1.00, 1.00)
    colors[clr.ComboBg]              = ImVec4(0.37, 0.37, 0.37, 0.99)
    colors[clr.CheckMark]            = ImVec4(1.00, 1.00, 1.00, 1.00)
    colors[clr.SliderGrab]           = ImVec4(0.46, 0.46, 0.46, 0.73)
    colors[clr.SliderGrabActive]     = ImVec4(0.34, 0.34, 0.34, 1.00)
    colors[clr.Button]               = ImVec4(0.33, 0.33, 0.33, 1.00)
    colors[clr.ButtonHovered]        = ImVec4(0.41, 0.41, 0.41, 1.00)
    colors[clr.ButtonActive]         = ImVec4(0.11, 0.11, 0.11, 0.96)
    colors[clr.Header]               = ImVec4(0.40, 0.40, 0.40, 1.00)
    colors[clr.HeaderHovered]        = ImVec4(0.24, 0.24, 0.24, 0.93)
    colors[clr.HeaderActive]         = ImVec4(0.13, 0.13, 0.13, 1.00)
    colors[clr.Separator]            = ImVec4(0.09, 0.09, 0.09, 0.93)
    colors[clr.SeparatorHovered]     = ImVec4(1.00, 1.00, 1.00, 0.96)
    colors[clr.SeparatorActive]      = ImVec4(1.00, 0.96, 0.96, 0.91)
    colors[clr.ResizeGrip]           = ImVec4(0.24, 0.24, 0.24, 0.54)
    colors[clr.ResizeGripHovered]    = ImVec4(1.00, 1.00, 1.00, 0.66)
    colors[clr.ResizeGripActive]     = ImVec4(0.99, 0.96, 0.96, 0.85)
    colors[clr.CloseButton]          = ImVec4(1.00, 1.00, 0.85, 1.00)
    colors[clr.CloseButtonHovered]   = ImVec4(0.59, 0.59, 0.59, 1.00)
    colors[clr.CloseButtonActive]    = ImVec4(0.55, 0.55, 0.55, 1.00)
    colors[clr.PlotLines]            = ImVec4(1.00, 1.00, 1.00, 1.00)
    colors[clr.PlotLinesHovered]     = ImVec4(1.00, 0.89, 0.87, 1.00)
    colors[clr.PlotHistogram]        = ImVec4(0.39, 0.39, 0.39, 1.00)
    colors[clr.PlotHistogramHovered] = ImVec4(0.39, 0.39, 0.39, 1.00)
    colors[clr.TextSelectedBg]       = ImVec4(0.00, 0.13, 1.00, 0.35)
    colors[clr.ModalWindowDarkening] = ImVec4(0.80, 0.80, 0.80, 0.35)
end