![]() | InDesign SDK 20.5 |
#include <CursorSpec.h>
Public Types | |
| typedef object_type | data_type |
Public Member Functions | |
| CursorSpec () | |
| CursorSpec (CreateCursorBitmapProc customDrawCallback, CursorID id) | |
| CursorSpec (CursorID id) | |
| CursorSpec (const PluginID &plugInId, CursorID id) | |
| CursorSpec (const IDFile &resFile, CursorID id) | |
| CursorSpec (const CursorSpec &spec) | |
| CursorSpec (const PluginID &plugInId, const IDFile &resFile, CursorID id, CreateCursorBitmapProc customDrawCallback, bool32 bDynamicBitmap=kFalse) | |
| CursorSpec & | operator= (const CursorSpec &spec) |
| bool | operator== (const CursorSpec &spec) const |
| PluginID | GetPlugInID () const |
| IDFile | GetResourceFile () const |
| CursorID | GetID () const |
| CreateCursorBitmapProc | GetCustomBitmapCreationProc () const |
| bool32 | GetDynamicCallback () const |
Data type used to refer to cursor resources. Contains both a PluginID and a CursorID to avoid potential conflicts between plugins. Can also contain a reference to a separate resource file.
| inline |
Empty constructor
| inline |
constructor for cursors with image data
| inline |
Constructor: CursorID only
| inline |
Constructor: PluginID and CursorID
| inline |
Copy Constructor
| inline |
Constructor: PluginID, IDFile and CursorID (not sure why is this needed)
| customDrawCallback | [IN]: Pointer to a callback routine for the generation of a custom cursor. |
| bDynamicBitmap | [IN]: If kTrue, then the customDrawCallback might return a different cursor every time it is called. For example, if the cursor shows the X, Y position of the mouse, then kTrue should be passed to ensure that the callback gets a chance to be called. |
| inline |
Get the custom draw proc, if any
| inline |
Get whether or not the custom draw proc's results are dynamic.
| inline |
Get the CursorID
| inline |
Get the PluginID
| inline |
assignment operator
| inline |
equality operator