Inheritance diagram for CP_StColorStateSaver:

Public Member Functions | |
| CP_StColorStateSaver () | |
| CP_StColorStateSaver (CP_Canvas &inCanvas) | |
| ~CP_StColorStateSaver () | |
| void | Save () |
| void | Restore () |
| void | Default () |
Private Attributes | |
| CP_Canvas | fCanvas |
| RGBColor | fSavedForeColor |
| RGBColor | fSavedBackColor |
| COLORREF | fSavedBackColor |
| GdkGCValues | fSavedGCValues |
|
|
Constructor. This will also save the current color state of the passed in canvas object.
|
|
|
Constructor. This will also save the current color state of the passed in canvas object.
|
|
|
Destructor. This will restore the saved information. |
|
|
Save the current colors unsed in the canvas object. |
|
|
Restore the previously saved colors in the canvas object. |
|
|
Sets the colors to the default black and white in a canvas port. |
|
|
|
|
|
Canvas object we are saving information in. |
|
|
Saved MacOS foreground color. |
|
|
Saved MacOS background color. |
|
|
Saved Windows background color. |
1.4.0