0ad/source/lib/res/graphics/cursor.h
janwas 4aa740bff5 - split up lib/res into file, graphics and sound.
- wposix.cpp: initial support for MEM_RESERVE and MEM_COMMIT semantics
in mmap
- cstr: removed no longer necessary serialization header
- xmlutils: wrap new() calls in nommgr/mmgr; allows tracking other
allocs in this file.
- add u64_from_u32
- various minor comments/improvements.

This was SVN commit r2604.
2005-08-12 17:06:53 +00:00

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