106 if(
width == 0)
return;
168 xdir = xdir < 0 ? -1 : 1;
169 ydir = ydir < 0 ? -1 : 1;
229 for(
int j = 0;
j < numtoclip;
j ++)
237 if(yoffset < 0 && numtoclip > 0)
241 else if(xoffset < 0 && numtoclip > 0)
285 cardval = card.
Idx();
373 return -
offset * numcards;
375 return -
offset * (numtodrag) +
376 -
offset * (realvisible - 1);
415 int iwhichcard = numcards - 1;
434 for(icard = 0; icard < realvisible; icard++)
453 int xoff = 0, yoff = 0;
485 for(icard = 0; icard < numtodrag; icard++)
490 else xoff = -
xoffset * (numtodrag - icard - 1);
493 else yoff = -
yoffset * (numtodrag - icard - 1);
541 iwhichcard = (numcards+numtodrag) - numunder - 1;
554 for(icard = 0; icard < numunder; icard++)
597 for(icard = 0; icard < numtodrag; icard++)
FORCEINLINE VOID SetPixel(_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color)
DWORD GetPixel(LPDIRECTDRAWSURFACE7 Surface, UINT x, UINT y)
void PaintRect(HDC hdc, RECT *rect, COLORREF col)
void CardBlt(HDC hdc, int x, int y, int nCardNum)
HPALETTE UseNicePalette(HDC hdc, HPALETTE hPalette)
void DrawCardCorner(HDC hdc, int x, int y, int cardval, int xdir, int ydir)
int ClipCard(HDC hdc, int x, int y, int width, int height)
int calc_offset(int offset, int numcards, int numtodrag, int realvisible)
void DrawVertCardStrip(HDC hdc, int x, int y, int nCardNum, int width, BOOL fDrawTips)
void DrawCard(HDC hdc, int x, int y, HDC hdcSource, int width, int height)
void PaintRect(HDC hdc, RECT *rect, COLORREF colour)
void DrawHorzCardStrip(HDC hdc, int x, int y, int nCardNum, int height, BOOL fDrawTips)
void CardBlt(HDC hdc, int x, int y, int nCardNum)
void ReleaseDragBitmaps(void)
void PrepareDragBitmaps(int numtodrag)
void PrepareDragBitmapsThreed(int numtodrag)
Card cardlist[MAX_CARDSTACK_SIZE]
void PaintCardRgn(HDC hdc, int dx, int dy, int width, int height, int sx, int sy)
static VOID BitBlt(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Width, _In_ ULONG Height, _In_reads_bytes_(Delta *Height) PUCHAR Buffer, _In_ ULONG BitsPerPixel, _In_ ULONG Delta)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
GLint GLint GLint yoffset
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
int WINAPI ExcludeClipRect(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
HBITMAP WINAPI CreateCompatibleBitmap(_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
BOOL WINAPI DeleteDC(_In_ HDC)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)