Changeset 5385 for trunk/src/user32/oslibres.h
- Timestamp:
- Mar 27, 2001, 6:17:52 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibres.h
r4573 r5385 1 /* $Id: oslibres.h,v 1. 5 2000-11-09 18:15:18sandervl Exp $ */1 /* $Id: oslibres.h,v 1.6 2001-03-27 16:17:52 sandervl Exp $ */ 2 2 /* 3 3 * Window GUI resource wrapper functions for OS/2 … … 14 14 15 15 #ifdef OS2_INCLUDED 16 #include "win32type.h"16 #include <win32type.h> 17 17 #endif 18 19 #include <win\cursoricon.h> 20 21 #ifdef OS2_INCLUDED 22 typedef struct 23 { 24 BYTE rgbBlue; 25 BYTE rgbGreen; 26 BYTE rgbRed; 27 BYTE rgbReserved; 28 } RGBQUAD, *LPRGBQUAD; 29 #endif 30 31 typedef struct 32 { 33 INT bmType; 34 INT bmWidth; 35 INT bmHeight; 36 INT bmWidthBytes; 37 WORD bmPlanes; 38 WORD bmBitsPixel; 39 LPVOID bmBits; 40 } BITMAP_W, *LPBITMAP_W; 18 41 19 42 HANDLE OSLibWinSetAccelTable(HWND hwnd, HANDLE hAccel, PVOID acceltemplate); 20 43 HANDLE OSLibWinCreateIcon(PVOID iconbitmap, ULONG cxDesired, ULONG cyDesired); 44 45 //NOTE: Depends on origin of bitmap data!!! 46 // Assumes 1 bpp bitmaps have a top left origin and all others have a bottom left origin 21 47 HANDLE OSLibWinCreatePointer(PVOID cursorbitmap, ULONG cxDesired, ULONG cyDesired); 48 49 HANDLE OSLibWinCreateCursor(CURSORICONINFO *pInfo, char *pAndBits, BITMAP_W *pAndBmp, char *pXorBits, BITMAP_W *pXorBmp); 22 50 HANDLE OSLibWinQuerySysPointer(ULONG type,INT w,INT h); 23 51 HANDLE OSLibWinQuerySysIcon(ULONG type,INT w,INT h); 52 VOID OSLibWinDestroyPointer(HANDLE hPointer); 53 BOOL OSLibWinSetPointer(HANDLE hPointer); 24 54 25 55 #endif //__OSLIBGDI_H__
Note:
See TracChangeset
for help on using the changeset viewer.