#include <os2win.h>
#include <stdio.h>
#include <string.h>
#include <winicon.h>
#include <win\cursoricon.h>
#include <objhandle.h>
#include "dib.h"
#include <heapstring.h>
#include <win\virtual.h>
#include "initterm.h"
#include "oslibres.h"
#include "oslibwin.h"
#include "dc.h"
#include "dbglocal.h"
Include dependency graph for winicon.cpp:
Go to the source code of this file.
Compounds | |
struct | tagICONCACHE |
Defines | |
#define | DBG_LOCALLOG DBG_winicon |
Typedefs | |
typedef tagICONCACHE | ICONCACHE |
Functions | |
HGLOBAL | CURSORICON_CreateFromResource (HINSTANCE hInstance, DWORD dwResGroupId, HGLOBAL hObj, LPBYTE bits, UINT cbSize, BOOL bIcon, DWORD dwVersion, INT width, INT height, UINT loadflags) |
HGLOBAL | CURSORICON_Copy (HGLOBAL handle) |
CURSORICONDIRENTRY * | CURSORICON_FindBestIcon (CURSORICONDIR *dir, int width, int height, int colors) |
CURSORICONDIRENTRY * | CURSORICON_FindBestCursor (CURSORICONDIR *dir, int width, int height, int color) |
BOOL | CURSORICON_SimulateLoadingFromResourceW (LPWSTR filename, BOOL fCursor, CURSORICONDIR **res, LPBYTE **ptr) |
INT | CURSORICON_DelSharedIcon (HANDLE handle) |
void | CURSORICON_AddSharedIcon (HMODULE hModule, HRSRC hRsrc, HRSRC hGroupRsrc, HANDLE handle) |
HANDLE | CURSORICON_FindSharedIcon (HMODULE hModule, HRSRC hRsrc) |
ICONCACHE * | CURSORICON_FindCache (HANDLE handle) |
HGLOBAL | CreateCursorIconIndirect (HINSTANCE hInstance, CURSORICONINFO *info, LPCVOID lpANDbits, LPCVOID lpXORbits, BOOL fIcon) |
HICON WIN32API | CreateIcon (HINSTANCE hInstance, INT nWidth, INT nHeight, BYTE bPlanes, BYTE bBitsPixel, LPCVOID lpANDbits, LPCVOID lpXORbits) |
HICON WIN32API | CreateIconFromResource (LPBYTE bits, UINT cbSize, BOOL bIcon, DWORD dwVersion) |
HICON WIN32API | CreateIconFromResourceEx (LPBYTE bits, UINT cbSize, BOOL bIcon, DWORD dwVersion, INT width, INT height, UINT cFlag) |
HICON WINAPI | CreateIconIndirect (ICONINFO *iconinfo) |
BOOL WIN32API | DestroyIcon (HICON hIcon) |
HICON WIN32API | CopyIcon (HICON hIcon) |
HICON WIN32API | GetOS2Icon (HICON hIcon) |
BOOL WINAPI | GetIconInfo (HICON hIcon, ICONINFO *iconinfo) |
HCURSOR WIN32API | CreateCursor (HINSTANCE hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, const VOID *lpANDbits, const VOID *lpXORbits) |
BOOL WIN32API | DestroyCursor (HCURSOR hCursor) |
HCURSOR WIN32API | GetCursor (void) |
HCURSOR WIN32API | SetCursor (HCURSOR hCursor) |
BOOL WIN32API | GetCursorPos (PPOINT lpPoint) |
BOOL WIN32API | SetCursorPos (int X, int Y) |
BOOL WIN32API | ClipCursor (const RECT *lpRect) |
BOOL WIN32API | GetClipCursor (LPRECT lpRect) |
BOOL WIN32API | SetSystemCursor (HCURSOR hCursor, DWORD dwCursorId) |
INT _System | __ShowCursor (BOOL bShow) |
INT | _ShowCursor (BOOL bShow) |
void | RestoreCursor () |
int WIN32API | ShowCursor (BOOL bShow) |
HGLOBAL | CURSORICON_Load (HINSTANCE hInstance, LPCWSTR name, INT width, INT height, INT colors, BOOL fCursor, UINT loadflags) |
WORD WIN32API | CURSORICON_Destroy (HGLOBAL handle, UINT flags) |
HGLOBAL | CURSORICON_ExtCopy (HGLOBAL Handle, UINT nType, INT iDesiredCX, INT iDesiredCY, UINT nFlags) |
INT WIN32API | LookupIconIdFromDirectoryEx (LPBYTE xdir, BOOL bIcon, INT width, INT height, UINT cFlag) |
INT WIN32API | LookupIconIdFromDirectory (LPBYTE dir, BOOL bIcon) |
void | CURSORICON_FreeModuleIcons (HMODULE hModule) |
Variables | |
ICONCACHE * | IconAnchor = NULL |
CRITICAL_SECTION | IconCrst = CRITICAL_SECTION_INIT |
WORD | ICON_HOTSPOT = 0x4242 |
HCURSOR | hActiveCursor = 0 |
HCURSOR | hActiveCursorPM = 0 |
int | cursorshowcnt = 0 |
|
Definition at line 59 of file winicon.cpp. |
|
|
|
Definition at line 886 of file winicon.cpp. Referenced by CURSORICON_ExtCopy(), CURSORICON_Load(), and CreateIconFromResourceEx().
|
|
Definition at line 1291 of file winicon.cpp. Referenced by CURSORICON_ExtCopy(), and CopyIcon().
|
|
Definition at line 1516 of file winicon.cpp. Referenced by CURSORICON_ExtCopy(), CURSORICON_Load(), and LookupIconIdFromDirectoryEx().
|
|
Definition at line 1578 of file winicon.cpp. Referenced by CURSORICON_ExtCopy(), CURSORICON_Load(), and LookupIconIdFromDirectoryEx().
|
|
Definition at line 786 of file winicon.cpp. Referenced by CURSORICON_Load().
|
|
Definition at line 1755 of file winicon.cpp. Referenced by CURSORICON_Destroy().
|
|
Definition at line 1735 of file winicon.cpp. Referenced by CURSORICON_Load().
|
|
Definition at line 1676 of file winicon.cpp. Referenced by CURSORICON_Load().
|
|
Definition at line 1709 of file winicon.cpp. Referenced by CURSORICON_ExtCopy().
|
|
Definition at line 563 of file winicon.cpp. Referenced by CreateCursor(), and CreateIcon().
|
|
Definition at line 111 of file winicon.cpp. |
|
Definition at line 134 of file winicon.cpp. |
|
Definition at line 141 of file winicon.cpp. Referenced by CreateIconFromResource().
|
|
Definition at line 152 of file winicon.cpp. |
|
Definition at line 251 of file winicon.cpp. Referenced by STATIC_NCDestroy(), and STATIC_SetIcon().
|
|
Definition at line 258 of file winicon.cpp. |
|
Definition at line 265 of file winicon.cpp. Referenced by OSLibWinSetIcon().
|
|
Definition at line 284 of file winicon.cpp. Referenced by BUTTON_DrawPushButton(), DrawIcon(), DrawIconEx(), STATIC_PaintIconfn(), and STATIC_SetIcon().
|
|
Definition at line 375 of file winicon.cpp. |
|
Definition at line 398 of file winicon.cpp. Referenced by SetSystemCursor().
|
|
Definition at line 405 of file winicon.cpp. Referenced by SetCursor().
|
|
Definition at line 416 of file winicon.cpp. Referenced by CURSORICON_Destroy().
|
|
Definition at line 455 of file winicon.cpp. |
|
Definition at line 470 of file winicon.cpp. |
|
Definition at line 477 of file winicon.cpp. |
|
Definition at line 487 of file winicon.cpp. |
|
Definition at line 512 of file winicon.cpp. |
|
Referenced by _ShowCursor().
|
|
Definition at line 524 of file winicon.cpp. Referenced by ShowCursor().
|
|
Definition at line 537 of file winicon.cpp. |
|
Definition at line 554 of file winicon.cpp. Referenced by RestoreCursor().
|
|
Definition at line 625 of file winicon.cpp. Referenced by LoadImageW().
|
|
Definition at line 1233 of file winicon.cpp. Referenced by CURSORICON_FreeModuleIcons(), DestroyCursor(), and DestroyIcon().
|
|
Definition at line 1353 of file winicon.cpp. Referenced by CopyImage().
|
|
Definition at line 1628 of file winicon.cpp. Referenced by LookupIconIdFromDirectory().
|
|
Definition at line 1662 of file winicon.cpp. |
|
Definition at line 1778 of file winicon.cpp. |
|
Definition at line 81 of file winicon.cpp. |
|
Definition at line 82 of file winicon.cpp. |
|
Definition at line 83 of file winicon.cpp. |
|
Definition at line 84 of file winicon.cpp. |
|
Definition at line 85 of file winicon.cpp. |
|
Definition at line 535 of file winicon.cpp. |