Carbon


ThemeButtonDrawWithContextProcPtr

Header: Appearance.h Carbon status: Under Evaluation

typedef void(* ThemeButtonDrawWithContextProcPtr) (
    const Rect *bounds, 
    ThemeButtonKind kind, 
    const ThemeButtonDrawInfo *info, 
    UInt32 userData, 
    SInt16 depth, 
    Boolean isColorDev, 
    void *context
);

You would declare your function like this if you were to name it MyThemeButtonDrawWithContextCallback:

void MyThemeButtonDrawWithContextCallback (
    const Rect *bounds, 
    ThemeButtonKind kind, 
    const ThemeButtonDrawInfo *info, 
    UInt32 userData, 
    SInt16 depth, 
    Boolean isColorDev, 
    void *context
);

© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)