Graphic Resources > IlvResource: The Resource Object Base Class > Predefined Graphic Resources
 
Predefined Graphic Resources
The following list summarizes the IlvDisplay member functions that produce the predefined graphic resources:
IlvColor* defaultBackground() const;
IlvColor* defaultForeground() const;
IlvFont* defaultFont() const;
IlvLineStyle* defaultLineStyle() const;
IlvPattern* defaultPattern() const;
IlvCursor* defaultCursor() const;
*The foreground color default value in a palette is the color returned by IlvDisplay::defaultForeground.
*The background color default value in a palette is the color returned by IlvDisplay::defaultBackground.
*The default font value in a palette is the font returned by IlvDisplay::defaultFont.
*The default line style value in a palette is the line style returned by IlvDisplay::defaultLineStyle.
*The default fill pattern value in a palette is the pattern returned by IlvDisplay::defaultPattern.
*The default cursor value in a palette is the pattern returned by IlvDisplay::defaultCursor.
The graphic resource classes are subclasses of IlvResource. For details on these subclasses see:
*IlvColor: The Color Class
*IlvLineStyle: The Line Style Class
*IlvPattern and IlvColorPattern: The Pattern Classes
*IlvFont: The Font Class
*IlvCursor: The Cursor Class
In Rogue Wave Views, the drawing resources are assembled into an object of the IlvPalette class, also a subclass of IlvResource. For more details on palettes see:
*IlvPalette: Drawing Using a Group of Resources

Version 5.5.1
Copyright © 2012, Rogue Wave Software, Inc. All Rights Reserved.