UI GREY LUA

csxMpak

csxMpak

Administrator
2,924
3,605
83
7WQamS5.png



C++:
function OnInit()
 
    menu.restore_styles()
    menu.set_color(menu_color.FrameBg, 68, 68, 70)
    menu.set_color(menu_color.FrameBgActive, 51, 51, 54)
    menu.set_color(menu_color.Text, 230, 230 ,230)
    menu.set_color(menu_color.WindowBg, 34,34,38)
    menu.set_color(menu_color.ChildBg, 51,51,54)
    menu.set_color(menu_color.TextSelectedBg, 255, 15, 60)
    menu.set_color(menu_color.SliderGrab, 34,34,38)
    menu.set_color(menu_color.ScrollbarGrab, 51, 51, 54)
    menu.set_color(menu_color.SliderGrabActive, 34,34,38)
    menu.set_color(menu_color.Button, 34,34,38)
    menu.set_color(menu_color.ButtonHovered, 119, 119, 119)
    menu.set_color(menu_color.ButtonActive, 119, 119, 119)
    menu.set_color(menu_color.HeaderHovered, 119, 119, 119)
    menu.set_color(menu_color.Header, 51, 51, 54)
    menu.set_color(menu_color.HeaderActive, 34,34,38)
    menu.set_color(menu_color.PlotLines, 235, 235 ,235)
    menu.set_color(menu_color.CheckMark, 236,190,112)
    menu.set_widget_color(menu_widget_color.Text, 255, 255, 255)
    menu.set_widget_color(menu_widget_color.Icons, 235, 235 ,235)
    menu.set_widget_color(menu_widget_color.PopupBg, 34,34,38)
    menu.set_widget_color(menu_widget_color.NotifyDefault, 119, 119, 119)
    menu.set_widget_color(menu_widget_color.NotifyRect, 34,34,38)
    menu.set_widget_color(menu_widget_color.NotifyRectLine, 119, 119, 119)
    menu.set_widget_color(menu_widget_color.NotifyIcon, 255, 255, 255)
    menu.set_widget_color(menu_widget_color.NotifyText, 255, 255, 255)
    menu.set_widget_color(menu_widget_color.NotifyTextShadow, 119, 119, 119)
    menu.set_widget_color(menu_widget_color.NotifyImportant, 150, 20, 150)
    menu.set_widget_color(menu_widget_color.NotifyFatal, 150, 20, 150)
end

function OnDone()
menu.restore_styles()
end

Pastebin
Raw
 

Houdini_

Houdini_

Customer
21
8
3
Hello! I'm currently working on a Lua where the user can changed the menu theme by choosing its corresponding option and I want to use this theme of yours.
So before I publish it I wanted to ask you if I can use your theme or if you don't want me to, I will give credit.
 
Вверх