#include <plugin.h>
This class allows developers to provide some additional information on a superclass.
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).
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] |
{}
{ return RGB(128, 128, 128); };
virtual CoreExport bool DrawRepresentation | ( | SClass_ID | superClassID, |
COLORREF | bkColor, | ||
HDC | hDC, | ||
Rect & | rect | ||
) | [inline, virtual] |
{ return false; }