ReactOS 0.4.16-dev-598-gc07fba4
|
#include <cardwindow.h>
Private Member Functions | |
int | GetNumDropZones () |
DropZone * | GetDropZoneFromRect (RECT *rect) |
LRESULT CALLBACK | WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) |
void | Paint (HDC hdc) |
void | PaintCardRgn (HDC hdc, int dx, int dy, int width, int height, int sx, int sy) |
HPALETTE | CreateCardPalette () |
CardButton * | CardButtonFromPoint (int x, int y) |
CardRegion * | CardRegionFromPoint (int x, int y) |
CardRegion * | GetBestStack (int x, int y, int w, int h) |
Static Private Member Functions | |
static LRESULT CALLBACK | CardWndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) |
Friends | |
class | CardRegion |
class | CardButton |
void | RegisterCardWindow () |
Definition at line 13 of file cardwindow.h.
CardWindow::CardWindow | ( | ) |
Definition at line 63 of file cardwindow.cpp.
CardWindow::~CardWindow | ( | ) |
Definition at line 131 of file cardwindow.cpp.
CardButton * CardWindow::CardButtonFromId | ( | int | id | ) |
Definition at line 542 of file cardwindow.cpp.
|
private |
Definition at line 229 of file cardwindow.cpp.
Referenced by CardButton::OnLButtonUp(), and WndProc().
CardRegion * CardWindow::CardRegionFromId | ( | int | id | ) |
Definition at line 531 of file cardwindow.cpp.
Referenced by CardRegion::OnLButtonUp().
|
private |
Definition at line 249 of file cardwindow.cpp.
Referenced by WndProc().
|
staticprivate |
Definition at line 270 of file cardwindow.cpp.
BOOL CardWindow::Create | ( | HWND | hwndParent, |
DWORD | dwExStyle, | ||
DWORD | dwStyle, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Definition at line 109 of file cardwindow.cpp.
Referenced by WndProc().
CardButton * CardWindow::CreateButton | ( | int | id, |
TCHAR * | szText, | ||
UINT | uStyle, | ||
bool | fVisible, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
Definition at line 334 of file cardbutton.cpp.
|
private |
Definition at line 702 of file cardwindow.cpp.
Referenced by CardWindow(), and SetBackColor().
CardRegion * CardWindow::CreateRegion | ( | int | id, |
bool | fVisible, | ||
int | x, | ||
int | y, | ||
int | xoffset, | ||
int | yoffset | ||
) |
Definition at line 104 of file cardregion.cpp.
Referenced by CreateSol(), and CreateSpider().
bool CardWindow::DeleteAll | ( | ) |
Definition at line 152 of file cardwindow.cpp.
Referenced by ~CardWindow().
bool CardWindow::DeleteButton | ( | CardButton * | pButton | ) |
Definition at line 559 of file cardwindow.cpp.
Definition at line 44 of file dropzone.cpp.
bool CardWindow::DeleteRegion | ( | CardRegion * | pRegion | ) |
Definition at line 583 of file cardwindow.cpp.
BOOL CardWindow::Destroy | ( | ) |
Definition at line 123 of file cardwindow.cpp.
bool CardWindow::DistributeStacks | ( | int | nIdFrom, |
int | nNumStacks, | ||
UINT | xJustify, | ||
int | xSpacing, | ||
int | nStartX | ||
) |
Definition at line 618 of file cardwindow.cpp.
Definition at line 607 of file cardwindow.cpp.
Referenced by GameFinished(), NewGame(), and SuitStackAddProc().
UINT CardWindow::GetBackCardIdx | ( | ) |
Definition at line 738 of file cardwindow.cpp.
Referenced by SaveSettings().
COLORREF CardWindow::GetBackColor | ( | ) |
Definition at line 224 of file cardwindow.cpp.
|
private |
Definition at line 34 of file cardrgnmouse.cpp.
Referenced by CardRegion::OnLButtonUp().
Definition at line 22 of file dropzone.cpp.
Referenced by CardRegion::OnLButtonUp().
|
inline |
Definition at line 56 of file cardwindow.h.
|
inlineprivate |
Definition at line 66 of file cardwindow.h.
|
inline |
Definition at line 55 of file cardwindow.h.
|
inline |
Definition at line 31 of file cardwindow.h.
Definition at line 276 of file cardwindow.cpp.
Referenced by WndProc().
|
private |
Definition at line 743 of file cardwindow.cpp.
Referenced by Paint(), CardRegion::PrepareDragBitmaps(), CardRegion::PrepareDragBitmapsThreed(), and CardRegion::Render().
Definition at line 553 of file cardwindow.cpp.
Referenced by DeckClickProc(), CardRegion::DoFlash(), EmptyStacks(), CardRegion::Flash(), NewGame(), CardRegion::RedrawIfNotDim(), ShowDeckOptionsDlg(), and Undo().
bool CardWindow::RegisterDropZone | ( | int | id, |
RECT * | rect, | ||
pDropZoneProc | proc | ||
) |
Definition at line 10 of file dropzone.cpp.
Definition at line 728 of file cardwindow.cpp.
Referenced by LoadSettings(), SetBackCardIdx(), and ShowDeckOptionsDlg().
Definition at line 176 of file cardwindow.cpp.
Definition at line 805 of file cardwindow.cpp.
void CardWindow::SetResizeProc | ( | pResizeWndProc | proc | ) |
Definition at line 696 of file cardwindow.cpp.
Definition at line 687 of file cardwindow.cpp.
Definition at line 339 of file cardwindow.cpp.
Referenced by CardWndProc().
|
friend |
Definition at line 16 of file cardwindow.h.
Referenced by CreateButton().
|
friend |
Definition at line 15 of file cardwindow.h.
Referenced by CreateRegion().
|
friend |
Definition at line 42 of file cardwindow.cpp.
Referenced by CardWindow().
|
private |
Definition at line 100 of file cardwindow.h.
Referenced by CardButtonFromId(), CardButtonFromPoint(), CreateButton(), DeleteAll(), DeleteButton(), Paint(), SetBackColor(), and WndProc().
|
private |
Definition at line 109 of file cardwindow.h.
Referenced by CardWindow(), CreateButton(), CreateCardPalette(), CreateRegion(), GetBackColor(), PaintCardRgn(), and SetBackColor().
|
private |
Definition at line 106 of file cardwindow.h.
Referenced by DeleteAll(), DeleteDropZone(), GetDropZoneFromRect(), and RegisterDropZone().
|
private |
Definition at line 96 of file cardwindow.h.
Referenced by CardWindow(), PaintCardRgn(), and SetBackImage().
|
private |
Definition at line 97 of file cardwindow.h.
Referenced by CardWindow(), PaintCardRgn(), and SetBackImage().
|
private |
Definition at line 91 of file cardwindow.h.
Referenced by Create(), Destroy(), operator HWND(), Paint(), Redraw(), SetBackColor(), and ~CardWindow().
|
private |
Definition at line 94 of file cardwindow.h.
Referenced by CardWindow(), CreateRegion(), GetBackCardIdx(), and SetBackCardIdx().
|
private |
Definition at line 92 of file cardwindow.h.
Referenced by GetHeight(), Update(), and WndProc().
|
private |
Definition at line 101 of file cardwindow.h.
Referenced by CardButtonFromId(), CardButtonFromPoint(), CardWindow(), CreateButton(), DeleteAll(), DeleteButton(), Paint(), SetBackColor(), and WndProc().
|
private |
Definition at line 104 of file cardwindow.h.
Referenced by CardRegionFromId(), CardRegionFromPoint(), CardWindow(), CreateRegion(), DeleteAll(), DeleteRegion(), DistributeStacks(), EmptyStacks(), GetBestStack(), Paint(), SetBackCardIdx(), SetBackColor(), Update(), and WndProc().
|
private |
Definition at line 107 of file cardwindow.h.
Referenced by CardWindow(), DeleteAll(), DeleteDropZone(), GetDropZoneFromRect(), GetNumDropZones(), and RegisterDropZone().
|
private |
Definition at line 92 of file cardwindow.h.
Referenced by GetWidth(), Update(), and WndProc().
|
private |
Definition at line 103 of file cardwindow.h.
Referenced by CardRegionFromId(), CardRegionFromPoint(), CreateRegion(), DeleteAll(), DeleteRegion(), DistributeStacks(), EmptyStacks(), GetBestStack(), Paint(), SetBackCardIdx(), SetBackColor(), Update(), and WndProc().
|
private |
Definition at line 111 of file cardwindow.h.
Referenced by CardWindow(), SetResizeProc(), and WndProc().