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

colordlg.c File Reference
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "commdlg.h"
#include "dlgs.h"
#include "wine/debug.h"
#include "cderr.h"
#include "cdlg.h"

Go to the source code of this file.

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 []

Generated on Sun May 27 2012 05:07:27 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.