cardwindow.cpp File Reference
#include <windows.h>
#include <tchar.h>
#include <stdlib.h>
#include "globals.h"
#include "cardlib.h"
#include "cardbutton.h"
#include "cardregion.h"
#include "cardwindow.h"
#include "cardcolor.h"
Go to the source code of this file.
Functions |
| HPALETTE | UseNicePalette (HDC hdc, HPALETTE hPalette) |
| void | RestorePalette (HDC hdc, HPALETTE hOldPal) |
| HPALETTE | MakePaletteFromCols (COLORREF cols[], int nNumColours) |
| void | PaintRect (HDC hdc, RECT *rect, COLORREF colour) |
| HBITMAP | CreateSinkBmp (HDC hdcCompat, HDC hdc, COLORREF col, int width, int height) |
| void | GetSinkCols (COLORREF crBase, COLORREF *fg, COLORREF *bg, COLORREF *sh1, COLORREF *sh2) |
| void | LoadCardBitmaps () |
| void | FreeCardBitmaps () |
| void | RegisterCardWindow () |
Variables |
| HPALETTE | __holdplacepal |
| static TCHAR | szCardName [] = _T("CardWnd32") |
| static bool | fRegistered = false |
| static LONG | uCardBitmapRef = 0 |