1
0
forked from 0ad/0ad
0ad/source/lib/res/graphics/cursor.h

14 lines
378 B
C
Raw Normal View History

#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 int cursor_draw(const char* name, int x, int y);
// internal use only:
extern int g_yres;
#endif // #ifndef CURSOR_H__