Package pyjsdl :: Module cursors

Module cursors

Functions
 
compile(strings, black='X', white='.', xor='o')
Compile binary data from cursor string. Arguments cursor string, and optional symbols representing colors. Data represents black and white pixels, xor color defaulting to black. Data should be a string list of width divisible by 8. Return cursor data and mask, can be used with mouse.set_cursor.
 
create_cursor(size, data, mask)
Create cursor image from binary data. Arguments cursor size and its binary data and mask. Return surface, can be used with mouse.set_cursor.
 
get_cursor_types()
Return list of cursor types from CSS Cursor API.
Variables
  tri_right = ()
  tri_left = ()
  broken_x = ()
  diamond = ()
  arrow = ()