1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: curico.h
|
|
|
|
// Purpose: Icon and cursor functions
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 01/02/97
|
|
|
|
// RCS-ID: $Id$
|
1998-08-07 23:52:45 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:12:05 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
HICON ReadIconFile( char *szFileName, HINSTANCE hInst,
|
|
|
|
int *W = 0, int *H = 0);
|
|
|
|
HCURSOR ReadCursorFile( char *szFileName, HINSTANCE hInst,
|
|
|
|
int *W = 0, int *H = 0, int *XHot = 0, int *YHot = 0);
|
|
|
|
HCURSOR IconToCursor( char *szFileName, HINSTANCE hInst, int XHot, int YHot,
|
|
|
|
int *W = 0, int *H = 0);
|
|
|
|
HICON CursorToIcon( char *szFileName, HINSTANCE hInst,
|
|
|
|
int *W = 0, int *H = 0);
|
|
|
|
|
|
|
|
HCURSOR MakeCursorFromBitmap(HINSTANCE hInst, HBITMAP hBitmap, POINT *pPoint);
|
|
|
|
HICON MakeIconFromBitmap(HINSTANCE hInst, HBITMAP hBitmap);
|