Rhino C++ API
8.6
|
#include <RhRdkAngleCtrl.h>
Public Member Functions | |
virtual | ~IRhRdkAngleDialDecorator () |
virtual void | DeleteThis (void)=0 |
virtual void | DialColors (CRhRdkColor &colOut1, CRhRdkColor &colOut2) const =0 |
virtual void | Draw (HDC dc, const ON_4iRect &dialRect, double dRadius, double dAngle, bool bEnabled, bool bHot) const =0 |
virtual void * | EVF (const wchar_t *, void *)=0 |
virtual IRhRdkAngleDialDecorator * | NextDecorator (void) const =0 |
Implement this interface to provide decoration for the dial of an angle control.
|
inlinevirtual |
|
pure virtual |
You must implement this method as
|
pure virtual |
Implement this method to override the default dial colors when the style is kUnmarked, kCompass or kAzimuth. If you don't want to override the dial colors, implement a no-op stub.
|
pure virtual |
Implement this method to draw the decoration.
dc | is the device context to draw into. |
dialRect | is the rectangle of the dial. |
dRadius | is the radius of the dial. |
dAngle | is the angle being displayed by the control. |
bEnabled | is true if the control is enabled, else false. |
bHot | is true if the decoration should be drawn in hot-tracked style. |
|
pure virtual |
Emergency virtual function for future expansion.
|
pure virtual |
Implement this method to return a pointer to an optional next decorator. This allows decorators to be chained together. Return null if not needed.