This class allows developers to provide some additional information on a superclass.
This class is available in release 3.0 and later only. Currently this includes a color, and a method which draws a representative image in a Windows Device Context. DrawRepresentation(...) can return false to indicate that no image was drawn. DrawRepresentation(...) should cache its image (if applicable) as the method is called repeatedly while drawing certain UI components (like the schematic view).
#include <plugin.h>
Public Member Functions |
|
virtual | ~SClassUIInfo () |
virtual CoreExport COLORREF | Color (SClass_ID superClassID) |
virtual CoreExport bool | DrawRepresentation (SClass_ID superClassID, COLORREF bkColor, HDC hDC, Rect &rect) |
virtual ~SClassUIInfo | ( | ) | [inline, virtual] |
{}
virtual CoreExport COLORREF Color | ( | SClass_ID | superClassID | ) | [inline, virtual] |
{ return RGB(128, 128, 128); };
virtual CoreExport bool DrawRepresentation | ( | SClass_ID | superClassID, |
COLORREF | bkColor, | ||
HDC | hDC, | ||
Rect & | rect | ||
) | [inline, virtual] |
{ return false; }