Data Structures |
| struct | LPCCPRIV |
Defines |
| #define | CONV_LPARAMTOPOINT(lp, p) do { (p)->x = (short)LOWORD(lp); (p)->y = (short)HIWORD(lp); } while(0) |
| #define | DISTANCE 4 |
| #define | MAXVERT 240 |
| #define | MAXHORI 239 |
| #define | XSTEPS 48 |
| #define | YSTEPS 24 |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (commdlg) |
| static INT_PTR CALLBACK | ColorDlgProc (HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam) |
| static int | CC_HSLtoRGB (char c, int hue, int sat, int lum) |
| static int | CC_RGBtoHSL (char c, int r, int g, int b) |
| static void | CC_DrawCurrentFocusRect (const CCPRIV *lpp) |
| static void | CC_DrawFocusRect (LPCCPRIV lpp, HWND hwnd, int x, int y, int rows, int cols) |
| static int | CC_MouseCheckPredefColorArray (LPCCPRIV lpp, HWND hDlg, int dlgitem, int rows, int cols, LPARAM lParam) |
| static int | CC_MouseCheckUserColorArray (LPCCPRIV lpp, HWND hDlg, int dlgitem, int rows, int cols, LPARAM lParam) |
| static int | CC_MouseCheckColorGraph (HWND hDlg, int dlgitem, int *hori, int *vert, LPARAM lParam) |
| static int | CC_MouseCheckResultWindow (HWND hDlg, LPARAM lParam) |
| static int | CC_CheckDigitsInEdit (HWND hwnd, int maxval) |
| static void | CC_PaintSelectedColor (HWND hDlg, COLORREF cr) |
| static void | CC_PaintTriangle (HWND hDlg, int y) |
| static void | CC_PaintCross (HWND hDlg, int x, int y) |
| static void | CC_PrepareColorGraph (HWND hDlg) |
| static void | CC_PaintColorGraph (HWND hDlg) |
| static void | CC_PaintLumBar (HWND hDlg, int hue, int sat) |
| static void | CC_EditSetRGB (HWND hDlg, COLORREF cr) |
| static void | CC_EditSetHSL (HWND hDlg, int h, int s, int l) |
| static void | CC_SwitchToFullSize (HWND hDlg, COLORREF result, LPCRECT lprect) |
| static void | CC_PaintPredefColorArray (HWND hDlg, int rows, int cols) |
| static void | CC_PaintUserColorArray (HWND hDlg, int rows, int cols, const COLORREF *lpcr) |
| static BOOL | CC_HookCallChk (const CHOOSECOLORW *lpcc) |
| static LRESULT | CC_WMInitDialog (HWND hDlg, WPARAM wParam, LPARAM lParam) |
| static LRESULT | CC_WMCommand (HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notifyCode, HWND hwndCtl) |
| static LRESULT | CC_WMPaint (HWND hDlg) |
| static LRESULT | CC_WMLButtonUp (HWND hDlg) |
| static LRESULT | CC_WMMouseMove (HWND hDlg, LPARAM lParam) |
| static LRESULT | CC_WMLButtonDown (HWND hDlg, LPARAM lParam) |
| BOOL WINAPI | ChooseColorW (LPCHOOSECOLORW lpChCol) |
| BOOL WINAPI | ChooseColorA (LPCHOOSECOLORA lpChCol) |
Variables |
| static const COLORREF | predefcolors [6][8] |
| static const WCHAR | szColourDialogProp [] |