ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

#include <cardwindow.h>

Public Member Functions

 CardWindow ()
 ~CardWindow ()
BOOL Create (HWND hwndParent, DWORD dwExStyle, DWORD dwStyle, int x, int y, int width, int height)
BOOL Destroy ()
 operator HWND ()
CardButtonCreateButton (int id, TCHAR *szText, UINT uStyle, bool fVisible, int x, int y, int width, int height)
CardRegionCreateRegion (int id, bool fVisible, int x, int y, int xoffset, int yoffset)
CardButtonCardButtonFromId (int id)
CardRegionCardRegionFromId (int id)
bool DeleteButton (CardButton *pButton)
bool DeleteRegion (CardRegion *pRegion)
bool DeleteAll ()
void SetBackColor (COLORREF cr)
COLORREF GetBackColor ()
void SetBackCardIdx (UINT uBackIdx)
UINT GetBackCardIdx ()
void SetBackImage (HBITMAP hBitmap)
void EmptyStacks (void)
void Redraw (void)
void Update (void)
bool DistributeStacks (int nIdFrom, int nNumStacks, UINT xJustify, int xSpacing, int nStartX)
void SetResizeProc (pResizeWndProc proc)
int GetWidth ()
int GetHeight ()
bool RegisterDropZone (int id, RECT *rect, pDropZoneProc proc)
bool DeleteDropZone (int id)

Private Member Functions

int GetNumDropZones ()
DropZoneGetDropZoneFromRect (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 ()
CardButtonCardButtonFromPoint (int x, int y)
CardRegionCardRegionFromPoint (int x, int y)
CardRegionGetBestStack (int x, int y, int w, int h)

Static Private Member Functions

static LRESULT CALLBACK CardWndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)

Private Attributes

HWND m_hWnd
int nWidth
int nHeight
UINT nBackCardIdx
HBITMAP hbmBackImage
HDC hdcBackImage
CardButtonButtons [MAXBUTTONS]
int nNumButtons
CardRegionRegions [MAXCARDSTACKS]
int nNumCardRegions
DropZonedropzone [MAXDROPZONES]
int nNumDropZones
COLORREF crBackgnd
pResizeWndProc ResizeWndCallback

Friends

class CardRegion
class CardButton
void RegisterCardWindow ()

Detailed Description

Definition at line 16 of file cardwindow.h.


The documentation for this class was generated from the following files:

Generated on Sat May 26 2012 06:15:35 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.