VGUI: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(Created page with "==VGUI==")
 
Line 1: Line 1:
==VGUI==
==VGUI==
==Borders==
<code>
DebugBorder2
{
"inset" "0 0 0 0" // margin
Left // the
{
"1"  // a border can have more then 1 line.
{
"color" "0 255 0 255" // color of the border
"offset" "2 1"  // start and end offset. skip the first 2 pixels and skip the last 1 pixel
}
}
Right
{
"1"
{
"color" "0 255 0 255"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "0 255 0 255"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "0 255 0 255"
"offset" "0 0"
}
}
}
</code>

Revision as of 21:33, 16 April 2017

VGUI

Borders

DebugBorder2 { "inset" "0 0 0 0" // margin Left // the { "1" // a border can have more then 1 line. { "color" "0 255 0 255" // color of the border "offset" "2 1" // start and end offset. skip the first 2 pixels and skip the last 1 pixel } } Right { "1" { "color" "0 255 0 255" "offset" "1 0" } } Top { "1" { "color" "0 255 0 255" "offset" "0 0" } } Bottom { "1" { "color" "0 255 0 255" "offset" "0 0" } } }