Home
last modified time | relevance | path

Searched refs:CardRegion (Results 1 – 14 of 14) sorted by relevance

/reactos/sdk/lib/3rdparty/cardlib/
H A Dcardregion.cpp62 CardRegion::~CardRegion() in ~CardRegion()
106 CardRegion *cr; in CreateRegion()
207 void CardRegion::Update() in Update()
245 bool CardRegion::IsVisible() in IsVisible()
344 void CardRegion::DoFlash() in DoFlash()
361 int CardRegion::Id() in Id()
477 bool CardRegion::MoveCard(CardRegion *pDestStack, int nNumCards, bool fAnimate) in MoveCard()
552 bool CardRegion::Lock() in Lock()
569 bool CardRegion::UnLock() in UnLock()
583 bool CardRegion::PlayCard(CardRegion *pDestStack, int value, int num) in PlayCard()
[all …]
H A Dcardlib.h80 class CardRegion; variable
85 typedef bool (CARDLIBPROC *pCanDragProc) (CardRegion &stackobj, int iNumDragging);
86 typedef bool (CARDLIBPROC *pCanDropProc) (CardRegion &stackobj, CardStack &cards);
87 typedef void (CARDLIBPROC *pClickProc) (CardRegion &stackobj, int iNumCards);
88 typedef void (CARDLIBPROC *pAddProc) (CardRegion &stackobj, const CardStack &cards);
89 typedef void (CARDLIBPROC *pRemoveProc) (CardRegion &stackobj, int iNumRemoved);
106 typedef bool (CARDLIBPROC *pDebugClickProc) (CardRegion &stackobj);
H A Dcardwindow.h8 class CardRegion; variable
15 friend class CardRegion; variable
34 CardRegion *CreateRegion (int id, bool fVisible, int x, int y, int xoffset, int yoffset);
37 CardRegion *CardRegionFromId(int id);
40 bool DeleteRegion(CardRegion *pRegion);
84 CardRegion *CardRegionFromPoint(int x, int y);
85 CardRegion *GetBestStack(int x, int y, int w, int h);
103 CardRegion * Regions[MAXCARDSTACKS];
H A Dcardregion.h11 class CardRegion
20 CardRegion(CardWindow &parent, int id, bool fVisible,
23 ~CardRegion();
71 bool PlayCard(CardRegion *pDestStack, int value, int num);
72 bool MoveCard(CardRegion *pDestStack, int nNumCards, bool fAnimate);
73 bool SimulateDrag(CardRegion *pDestStack, int nNumCards, bool fAnimate);
101 void RedrawIfNotDim(CardRegion *compare, bool fFullRedraw);
109 void ZoomCard(HDC hdc, int xpos, int ypos, CardRegion *dest);
H A Dcardrgnmouse.cpp65 bool CardRegion::IsPointInStack(int x, int y) in IsPointInStack()
76 int CardRegion::GetNumDragCards(int x, int y) in GetNumDragCards()
141 bool CardRegion::CanDragCards(int iNumCards) in CanDragCards()
185 bool CardRegion::CanDropCards(CardStack &cards) in CanDropCards()
218 bool CardRegion::OnLButtonDblClk(int x, int y) in OnLButtonDblClk()
228 bool CardRegion::OnLButtonDown(int x, int y) in OnLButtonDown()
279 void CardRegion::ClickRelease(int x, int y) in ClickRelease()
287 bool CardRegion::OnLButtonUp(int x, int y) in OnLButtonUp()
289 CardRegion *pDestStack = 0; in OnLButtonUp()
378 bool CardRegion::OnMouseMove(int x, int y) in OnMouseMove()
[all …]
H A Dcardwindow.cpp249 CardRegion* CardWindow::CardRegionFromPoint(int x, int y) in CardRegionFromPoint()
347 static CardRegion *stackptr = 0; in WndProc()
429 CardRegion *stackobj = (CardRegion *)wParam;//CardStackFromId(wParam); in WndProc()
531 CardRegion* CardWindow::CardRegionFromId(int id) in CardRegionFromId()
583 bool CardWindow::DeleteRegion(CardRegion *pRegion) in DeleteRegion()
589 CardRegion *cr = Regions[i]; in DeleteRegion()
H A Dcardrgndraw.cpp208 void CardRegion::Clip(HDC hdc) in Clip()
253 void CardRegion::Render(HDC hdc) in Render()
379 void CardRegion::PrepareDragBitmaps(int numtodrag) in PrepareDragBitmaps()
503 void CardRegion::PrepareDragBitmapsThreed(int numtodrag) in PrepareDragBitmapsThreed()
606 void CardRegion::ReleaseDragBitmaps(void) in ReleaseDragBitmaps()
618 void CardRegion::Redraw() in Redraw()
H A Dcardstack.h8 friend class CardRegion; variable
/reactos/base/applications/games/solitaire/
H A Dsolitaire.h59 extern CardRegion *pDeck;
60 extern CardRegion *pPile;
61 extern CardRegion *pSuitStack[];
62 extern CardRegion *pRowStack[];
70 bool CARDLIBPROC RowStackDragProc(CardRegion &stackobj, int iNumCards);
75 void CARDLIBPROC SuitStackClickProc(CardRegion &stackobj, int iNumClicked);
77 void CARDLIBPROC RowStackClickProc(CardRegion &stackobj, int iNumClicked);
80 void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int iNumClicked);
81 void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked);
82 void CARDLIBPROC PileClickProc(CardRegion &stackobj, int iNumClicked);
[all …]
H A Dsolgame.cpp104 bool CARDLIBPROC RowStackDragProc(CardRegion &stackobj, int iNumDragCards) in RowStackDragProc()
128 bool CARDLIBPROC RowStackDropProc(CardRegion &stackobj, CardStack &dragcards) in RowStackDropProc()
197 bool CanDrop(CardRegion &stackobj, Card card) in CanDrop()
276 void CARDLIBPROC SuitStackClickProc(CardRegion &stackobj, int iNumClicked) in SuitStackClickProc()
291 void CARDLIBPROC RowStackClickProc(CardRegion &stackobj, int iNumClicked) in RowStackClickProc()
323 CardRegion *FindSuitStackFromCard(Card card) in FindSuitStackFromCard()
418 CardRegion *pDest = FindSuitStackFromCard(cardstack[0]); in RowStackDblClickProc()
438 void CARDLIBPROC PileClickProc(CardRegion &stackobj, int iNumClicked) in PileClickProc()
452 void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked) in PileDblClickProc()
481 void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iItems) in PileRemoveProc()
[all …]
H A Dsolcreate.cpp3 CardRegion *pDeck;
4 CardRegion *pPile;
5 CardRegion *pSuitStack[4];
6 CardRegion *pRowStack[NUM_ROW_STACKS];
H A Dsolundo.cpp55 CardRegion *source = NULL; in Undo()
56 CardRegion *destination = NULL; in Undo()
/reactos/base/applications/games/spider/
H A Dspider.h35 bool CARDLIBPROC RowStackDragProc(CardRegion &stackobj, int iNumCards);
36 bool CARDLIBPROC RowStackDropProc(CardRegion &stackobj, const CardStack &dragcards);
38 void CARDLIBPROC RowStackClickProc(CardRegion &stackobj, int iNumClicked);
40 void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int iNumClicked);
41 void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked);
43 void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iRemoved);
H A Dspigame.cpp19 CardRegion *from;
20 CardRegion *pDeck;
21 CardRegion *pStack[NUM_STACKS];
112 void TurnStackCard(CardRegion &stackobj) in TurnStackCard()
126 void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int NumDragCards) in DeckClickProc()
169 bool CARDLIBPROC StackDragProc(CardRegion &stackobj, int numDragCards) in StackDragProc()
212 void CARDLIBPROC StackAddProc(CardRegion &stackobj, const CardStack &added) in StackAddProc()
221 bool CARDLIBPROC StackDropProc(CardRegion &stackobj, CardStack &dragcards) in StackDropProc()