Predefined Graphic Resources
The following list summarizes the IlvDisplay member functions that produce the predefined graphic resources:
IlvColor* defaultBackground() const;
IlvColor* defaultForeground() const;
IlvLineStyle* defaultLineStyle() const;
IlvPattern* defaultPattern() const;
IlvCursor* defaultCursor() const;
-
The foreground color default value in a palette is the color returned by defaultForeground.
-
The background color default value in a palette is the color returned by defaultBackground.
-
The default font value in a palette is the font returned by defaultFont.
-
The default line style value in a palette is the line style returned by defaultLineStyle.
-
The default fill pattern value in a palette is the pattern returned by defaultPattern.
-
The default cursor value in a palette is the pattern returned by defaultCursor.
The graphic resource classes are subclasses of IlvResource. For details on these subclasses see:
In Views, the drawing resources are assembled into an object of the IlvPalette class, also a subclass of IlvResource. For more details on palettes see: