1#ifndef CARDREGION_INCLUDED
2#define CARDREGION_INCLUDED
51 void Show (
bool fShow);
void(CARDLIBPROC * pClickProc)(CardRegion &stackobj, int iNumCards)
bool(CARDLIBPROC * pCanDragProc)(CardRegion &stackobj, int iNumDragging)
void(CARDLIBPROC * pAddProc)(CardRegion &stackobj, const CardStack &cards)
bool(CARDLIBPROC * pCanDropProc)(CardRegion &stackobj, CardStack &cards)
void(CARDLIBPROC * pRemoveProc)(CardRegion &stackobj, int iNumRemoved)
void SetClickProc(pClickProc proc)
void Push(const Card card)
void Push(const CardStack &cs)
void SetBackColor(COLORREF cr)
void Flash(int count, int timeout)
bool MoveCard(CardRegion *pDestStack, int nNumCards, bool fAnimate)
void SetBackCardIdx(UINT uBackIdx)
pRemoveProc RemoveCallback
bool CanDragCards(int iNumCards)
void SetEmptyImage(UINT uImage)
bool IsPointInStack(int x, int y)
int GetNumDragCards(int x, int y)
bool SetDropRule(UINT uDropType, pCanDropProc proc=0)
void SetClickReleaseProc(pClickProc proc)
void RedrawIfNotDim(CardRegion *compare, bool fFullRedraw)
void SetRemoveCardProc(pRemoveProc proc)
void ClickRelease(int x, int y)
pCanDragProc CanDragCallback
bool CanDropCards(CardStack &cards)
bool PlayCard(CardRegion *pDestStack, int value, int num)
bool SetDragRule(UINT uDragType, pCanDragProc proc=0)
void ReleaseDragBitmaps(void)
void PrepareDragBitmaps(int numtodrag)
void SetPlacement(UINT xJustify, UINT yJustify, int xAdjust, int yAdjust)
CardWindow & GetCardWindow()
bool OnLButtonDblClk(int x, int y)
void SetAddCardProc(pAddProc proc)
void PrepareDragBitmapsThreed(int numtodrag)
void RenderBottomMost(HDC hdc, int minustopmost=0)
bool OnMouseMove(int x, int y)
bool SetThreedCount(int count)
void SetFaceDirection(UINT uDirType, int nOption)
bool OnLButtonUp(int x, int y)
void AdjustPosition(int winwidth, int winheight)
void SetCardStack(const CardStack &cs)
const CardStack & GetCardStack()
void SetPos(int x, int y)
void SetOffsets(int x, int y)
int GetOverlapRatio(int x, int y, int width, int height)
pClickProc DblClickCallback
UINT GetFaceDirection(int *pnOption)
bool SimulateDrag(CardRegion *pDestStack, int nNumCards, bool fAnimate)
void ZoomCard(HDC hdc, int xpos, int ypos, CardRegion *dest)
void MoveDragCardTo(HDC hdc, int x, int y)
pCanDropProc CanDropCallback
bool OnLButtonDown(int x, int y)
void UpdateFaceDir(CardStack &cards)
void SetDblClickProc(pClickProc proc)
pClickProc ClickReleaseCallback
void Push(const Card card)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLuint GLuint GLsizei count
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width