#ifndef VGUI_LINEBORDER_H #define VGUI_LINEBORDER_H #include #include #include namespace vgui { class Panel; class VGUIAPI LineBorder : public Border { private: Color _color; public: LineBorder(); LineBorder(int thickness); LineBorder(Color color); LineBorder(int thickness,Color color); inline void setLineColor(int r, int g, int b, int a) {_color = Color(r,g,b,a);} private: virtual void init(int thickness,Color color); protected: virtual void paint(Panel* panel); }; } #endif