ReactOS 0.4.16-dev-112-g52265ae
|
#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) |
CardWindow & | GetCardWindow () |
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) |
Friends | |
class | CardWindow |
Definition at line 6 of file cardbutton.h.
|
private |
|
private |
Definition at line 41 of file cardbutton.cpp.
Definition at line 208 of file cardbutton.cpp.
Referenced by CardWindow::WndProc().
Definition at line 102 of file cardbutton.cpp.
Referenced by CardWindow::Paint().
Definition at line 109 of file cardbutton.cpp.
Referenced by Redraw().
Definition at line 46 of file cardbutton.cpp.
Referenced by Draw().
|
inline |
Definition at line 41 of file cardbutton.h.
Definition at line 426 of file cardbutton.cpp.
Referenced by CardWindow::CreateButton(), and CardWindow::CreateCardPalette().
Definition at line 415 of file cardbutton.cpp.
Referenced by CardWindow::CreateCardPalette(), and SetBackColor().
Definition at line 421 of file cardbutton.cpp.
Referenced by CardWindow::CreateCardPalette(), and SetBackColor().
UINT CardButton::GetStyle | ( | ) |
Definition at line 481 of file cardbutton.cpp.
int CardButton::Id | ( | ) |
Definition at line 370 of file cardbutton.cpp.
bool CardButton::Lock | ( | ) |
Definition at line 458 of file cardbutton.cpp.
Definition at line 253 of file cardbutton.cpp.
Referenced by CardWindow::WndProc().
Definition at line 301 of file cardbutton.cpp.
Referenced by CardWindow::WndProc().
Definition at line 278 of file cardbutton.cpp.
Referenced by CardWindow::WndProc().
void CardButton::Redraw | ( | ) |
Definition at line 385 of file cardbutton.cpp.
Referenced by OnLButtonDown(), OnLButtonUp(), OnMouseMove(), CardWindow::Paint(), and SetIcon().
Definition at line 403 of file cardbutton.cpp.
Referenced by CardWindow::SetBackColor().
void CardButton::SetButtonProc | ( | pButtonProc | proc | ) |
Definition at line 453 of file cardbutton.cpp.
Definition at line 447 of file cardbutton.cpp.
Definition at line 398 of file cardbutton.cpp.
Definition at line 439 of file cardbutton.cpp.
Definition at line 476 of file cardbutton.cpp.
Definition at line 359 of file cardbutton.cpp.
Referenced by CardButton().
Definition at line 375 of file cardbutton.cpp.
bool CardButton::UnLock | ( | ) |
Definition at line 468 of file cardbutton.cpp.
|
friend |
Definition at line 8 of file cardbutton.h.
|
private |
Definition at line 96 of file cardbutton.h.
Referenced by OnLButtonUp(), and SetButtonProc().
|
private |
Definition at line 85 of file cardbutton.h.
Referenced by CardButton(), Draw(), DrawRect(), and SetBackColor().
|
private |
Definition at line 87 of file cardbutton.h.
Referenced by DrawRect(), and SetBackColor().
|
private |
Definition at line 88 of file cardbutton.h.
Referenced by DrawRect(), and SetBackColor().
|
private |
Definition at line 89 of file cardbutton.h.
|
private |
Definition at line 86 of file cardbutton.h.
Referenced by CardButton(), Draw(), and SetForeColor().
|
private |
Definition at line 92 of file cardbutton.h.
Referenced by CardButton(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), and Redraw().
|
private |
Definition at line 91 of file cardbutton.h.
Referenced by CardButton(), OnLButtonDown(), OnLButtonUp(), and OnMouseMove().
|
private |
Definition at line 73 of file cardbutton.h.
Referenced by CardWindow::CardButtonFromPoint(), Clip(), Draw(), and Show().
|
private |
Definition at line 81 of file cardbutton.h.
Referenced by CardButton(), Draw(), and SetFont().
|
private |
Definition at line 80 of file cardbutton.h.
Referenced by CardButton(), Draw(), and SetIcon().
|
private |
Definition at line 71 of file cardbutton.h.
Referenced by Id().
|
private |
Definition at line 94 of file cardbutton.h.
Referenced by CardButton(), Lock(), OnLButtonDown(), UnLock(), and ~CardButton().
|
private |
Definition at line 68 of file cardbutton.h.
Referenced by GetCardWindow(), OnLButtonUp(), and Redraw().
|
private |
Definition at line 70 of file cardbutton.h.
Referenced by AdjustPosition(), CardWindow::CardButtonFromPoint(), Clip(), Draw(), DrawRect(), Move(), and OnMouseMove().
|
private |
Definition at line 83 of file cardbutton.h.
Referenced by CardButton(), Draw(), and SetText().
|
private |
Definition at line 72 of file cardbutton.h.
Referenced by Draw(), GetStyle(), OnLButtonDown(), OnLButtonUp(), and SetStyle().
|
private |
Definition at line 75 of file cardbutton.h.
Referenced by AdjustPosition(), CardButton(), and SetPlacement().
|
private |
Definition at line 76 of file cardbutton.h.
Referenced by AdjustPosition(), CardButton(), and SetPlacement().
|
private |
Definition at line 77 of file cardbutton.h.
Referenced by AdjustPosition(), CardButton(), and SetPlacement().
|
private |
Definition at line 78 of file cardbutton.h.
Referenced by AdjustPosition(), CardButton(), and SetPlacement().