forked from 0ad/0ad
janwas
1c1200a049
- add translators from errno and GetLastError to LibError - clarified return values of callbacks (they must return INFO_CB_CONTINUE to continue) - this exposed a few bugs in error handling chains (returning incorrect values); also reduced say-nothing instances of return -1. - move CHECK_ERR etc. macros to lib_error This was SVN commit r3229.
14 lines
383 B
C
Executable File
14 lines
383 B
C
Executable File
#ifndef CURSOR_H__
|
|
#define CURSOR_H__
|
|
|
|
// draw the specified cursor at the given pixel coordinates
|
|
// (origin is top-left to match the windowing system).
|
|
// uses a hardware mouse cursor where available, otherwise a
|
|
// portable OpenGL implementation.
|
|
extern LibError cursor_draw(const char* name, int x, int y);
|
|
|
|
// internal use only:
|
|
extern int g_yres;
|
|
|
|
#endif // #ifndef CURSOR_H__
|