View rectangle class. More...
#include <ilviews/gadgets/rectgadc.h>
Public Member Functions | |
IlvGadgetContainerRectangle (IlvDisplay *display, const IlvRect &rect, IlvPalette *palette=0) | |
Constructor. More... | |
virtual IlvGadgetContainer * | getGadgetContainer () const |
Returns a pointer to the encapsulated gadget container. More... | |
View rectangle class.
Library: ilvgadgt
The IlvGadgetContainerRectangle
class defines a graphic object that encapsulates an instance of IlvGadgetContainer
. This instance can be associated with a file name. When the gadget container is created, it reads the corresponding file.
IlvGadgetContainer
Graphic property | CSS property | Type |
---|---|---|
Background color | background-color | Color |
IlvGadgetContainerRectangle::IlvGadgetContainerRectangle | ( | IlvDisplay * | display, |
const IlvRect & | rect, | ||
IlvPalette * | palette = 0 |
||
) |
Constructor.
Initializes a new instance of the IlvGadgetContainerRectangle
class.
display | The connection to the display. |
rect | The size and position of the object. |
palette | The palette used to draw the object. The palette background color is set to the background color of the encapsulated gadget container. |
|
virtual |
Returns a pointer to the encapsulated gadget container.
Reimplemented in IlvSCGadgetContainerRectangle.