macros for cursor shape