Interface to Alias cursors. Note that some of this class’s methods are not available on Windows.
#include <AlCursor.h>
class AlCursor
enum
{
kArrowSquare = 0,
kEmpty,
kHourGlass,
kEyeDropper,
kFullEyeDropper,
kMove,
kSelect,
kInsert,
kDelete,
kCross,
kTarget,
kHourGlassAI
} Predefined;
static statusCode push( int id );
static statusCode pop( void );This class lets you change the image Alias uses to show the cursor.
Push one of the cursor types provided by the enum 'Predefined' onto the internal cursor stack to change the cursor. By popping it off the stack again, you go back to the previous cursor.
Make sure each call to push is matched by a pop call.
Pushes the given member of enum Predefined onto the cursor stack, making it the active cursor.
id - the id to set the cursor to
sSuccess - the cursor changed
sInvalidArgument - the cursor ID value was not valid
Restores the cursor to its previous state.
sSuccess - worked