
Next: On and Off Settings
Up: Main Class Reference
Previous: wxStyle::SwitchTo
A wxStyleDelta encapsulates a style change. The changes expressible
by a wxStyleDelta object include:
- Changing the font family
- Changing the font face
- Changing the font size to a new value
- Enlarging the font by an additive amount
- Enlarging the font by a multiplicative amount, etc.
- Changing the font style (normal, italic, or slant)
- Toggling the font style
- Changing the font to italic if it is currently slant, etc.
- Changing the font weight, etc.
- Changing the underline, etc.
- Changing the vertical alignment, etc.
- Changing the foreground color
- Dimming or brightening the foreground color, etc.
- Changing the background color, etc.
To specify the most arbitrary possible changes, you will have to
understand the instance variables of the wxStyleDelta class
and modify them directly in an object. For most purposes,
however, the SetDelta methods will give you enough
control over the delta specification.
PLT