Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

StaticRectangle

 

class StaticRectangle : public Ctrl

 

As seen in layout designer:

 

 

As seen in program:

 

 

StaticRectangle shows a rectangle. All the rectangle, including border width, is inside Ctrl limits.

 

 

Constructor Detail


 

StaticRectangle()

Initializes StaticRectangle.

 

 

Public Member List

 

StaticRectangle& SetWidth(int w)

Sets the rectangle width w in pixels.

 


 

StaticRectangle& SetColor(Color c)

Sets the rectangle border color c.

 


 

StaticRectangle& SetBackground(Color c)

Sets the rectangle background color c.

 


 

StaticRectangle& IsSquare(bool is = false)

If is.is true it maintains the shape as an square by fixing the height to the width.

 

 

Do you want to contribute?