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 <cardbutton.h>

Public Member Functions

void SetStyle (UINT uStyle)
UINT GetStyle ()
void SetText (TCHAR *fmt,...)
void SetFont (HFONT font)
void SetPlacement (UINT xJustify, UINT yJustify, int xAdjust, int yAdjust)
void SetForeColor (COLORREF cr)
void SetBackColor (COLORREF cr)
void Move (int x, int y, int width, int height)
void Show (bool fShow)
void Redraw ()
int Id ()
void SetIcon (HICON hicon, bool fRedraw)
void SetButtonProc (pButtonProc proc)
CardWindowGetCardWindow ()
bool Lock ()
bool UnLock ()

Static Public Member Functions

static COLORREF GetHighlight (COLORREF crBase)
static COLORREF GetShadow (COLORREF crBase)
static COLORREF GetFace (COLORREF crBase)

Private Member Functions

 CardButton (CardWindow &parent, int id, TCHAR *szText, UINT style, bool visible, int x, int y, int width, int height)
 ~CardButton ()
void AdjustPosition (int winwidth, int winheight)
void DrawRect (HDC hdc, RECT *rect, bool fNormal)
void Draw (HDC hdc, bool fNormal)
void Clip (HDC hdc)
int OnLButtonDown (HWND hwnd, int x, int y)
int OnMouseMove (HWND hwnd, int x, int y)
int OnLButtonUp (HWND hwnd, int x, int y)

Private Attributes

CardWindowparentWnd
RECT rect
int id
UINT uStyle
bool fVisible
int xadjust
int xjustify
int yadjust
int yjustify
HICON hIcon
HFONT hFont
TCHAR szText [MAXBUTTONTEXT]
COLORREF crBack
COLORREF crText
COLORREF crHighlight
COLORREF crShadow
COLORREF crShadow2
bool fMouseDown
bool fButtonDown
HANDLE mxlock
pButtonProc ButtonCallback

Friends

class CardWindow

Detailed Description

Definition at line 8 of file cardbutton.h.


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

Generated on Sun May 27 2012 06:16:04 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.