VGUI: Difference between revisions
Jump to navigation
Jump to search
(→VGUI) |
|||
Line 5: | Line 5: | ||
==Borders== | ==Borders== | ||
< | <pre> | ||
DebugBorder2 | DebugBorder2 | ||
{ | { | ||
Line 42: | Line 42: | ||
} | } | ||
} | } | ||
</ | </pre> |
Revision as of 22:34, 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" } } }