]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: curico.h | |
3 | // Purpose: Icon and cursor functions | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart and Markus Holzem | |
9 | // Licence: wxWindows license | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | HICON ReadIconFile( char *szFileName, HINSTANCE hInst, | |
13 | int *W = 0, int *H = 0); | |
14 | HCURSOR ReadCursorFile( char *szFileName, HINSTANCE hInst, | |
15 | int *W = 0, int *H = 0, int *XHot = 0, int *YHot = 0); | |
16 | HCURSOR IconToCursor( char *szFileName, HINSTANCE hInst, int XHot, int YHot, | |
17 | int *W = 0, int *H = 0); | |
18 | HICON CursorToIcon( char *szFileName, HINSTANCE hInst, | |
19 | int *W = 0, int *H = 0); | |
20 | ||
21 | HCURSOR MakeCursorFromBitmap(HINSTANCE hInst, HBITMAP hBitmap, POINT *pPoint); | |
22 | HICON MakeIconFromBitmap(HINSTANCE hInst, HBITMAP hBitmap); |