IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcLoadCursorFromFile ( const char *  path  ) 

This function can be used to load a cursor from a file. The cursor must be supplied as a Beck Graphics Cursor file (extension .bgc) and can have a maximum size of 32 x 32 pixels.

Parameters:
path Path of the cursor file that is to be loaded
Returns:
One of the following error codes is returned:
Note:
The GC04 does currently not support loading a cursor from a file. Instead the function can be used to select a predefined cursor:
  • "stock_smallArrow" - Small arrow cursor
  • "stock_mediumArrow" - Medium arrow cursor
  • "stock_largeArrow" - Large arrow cursor
  • "stock_smallArrowInverted" - Small inverted arrow cursor
  • "stock_mediumArrowInverted" - Medium inverted arrow cursor
  • "stock_largeArrowInverted" - Large inverted arrow cursor
  • "stock_smallCross" - Small cross cursor
  • "stock_mediumCross" - Medium cross cursor
  • "stock_largeCross" - Large cross cursor
  • "stock_smallCrossInverted" - Small inverted corss cursor
  • "stock_mediumCrossInverted" - Medium inverted corss cursor
  • "stock_largeCrossInverted" - Large inverted corss cursor
Since:
1.00
Targets:

GC01

GC04

X

X

Examples:
example09.c.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1