StaticRectangle

 

class StaticLine : public Ctrl

 

Some lines as seen in layout designer:

 

 

As seen in program:

 

 

StaticLine shows a line.

 

 

Constructor Detail


 

StaticLine()

Initializes StaticLine.

 

 

Public Member List


 

StaticLine& SetWidth(int w)

Sets the line width w in pixels.

 


 

StaticLine& SetColor(Color c)

Sets the line color c.

 


 

StaticLine& SetOrientation(String o)

Sets the line orientation o. Valid orientation values are "|", "\\", "-" and "/"

 


 

StaticLine& SetOrientation(int o)

Sets the line orientation o. Valid orientation values are OrVert, OrHor, OrNW_SE, OrSW_NE.