Brew MP 1.0.2
The widgets framework provides several built-in decorators such as the border and blend
widgets, and the gradient decorator that perform very specific drawing operations on wrapped
objects. The draw decorator provides applications with the ability to perform customized
drawing operations to the objects wrapped by a decorator.
IDrawDecorator *pidDraw = 0;
nErr = ISHELL_CreateInstance(GETSHELL(me), AEECLSID_DrawDecoratorWidget, (void**)&pidDraw);
The Display Widget is reference-counted. When you are done with your
reference to the cursor widget, you should Release it. Any specific cleanup
will be handled for you when all references are released.