1
0
forked from 0ad/0ad
0ad/source/lib/res/graphics/cursor.h
janwas b755ddefda remove all author/modified by tags.
make include guards consistent.

This was SVN commit r5040.
2007-05-07 16:33:24 +00:00

24 lines
747 B
C

/**
* =========================================================================
* File : cursor.h
* Project : 0 A.D.
* Description : mouse cursors (either via OpenGL texture or hardware)
* =========================================================================
*/
// license: GPL; see lib/license.txt
#ifndef INCLUDED_GRAPHICS_CURSOR
#define INCLUDED_GRAPHICS_CURSOR
// 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 INCLUDED_GRAPHICS_CURSOR