ReactOS 0.4.16-dev-106-g10b08aa
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
#define | CXY_SELECTEDBOX 15 /* width / height of a selected color box */ |
#define | X_MARGIN 4 /* horizontal margin */ |
#define | Y_MARGIN ((rcClient.bottom / 2) - CXY_COLORBOX) /* center position minus one color box */ |
#define | X_COLORBOX_OFFSET (X_MARGIN + CXY_BIGBOX + X_MARGIN) |
#define | COLOR_COUNT 28 |
#define | HALF_COLOR_COUNT (COLOR_COUNT / 2) |
Functions | |
static VOID | drawColorBox (HDC hDC, LPCRECT prc, COLORREF rgbColor, UINT nBorder) |
static VOID | getColorBoxRect (LPRECT prc, const RECT &rcClient, INT iColor) |
Variables | |
CPaletteWindow | paletteWindow |
#define COLOR_COUNT 28 |
Definition at line 16 of file palette.cpp.
Definition at line 12 of file palette.cpp.
#define HALF_COLOR_COUNT (COLOR_COUNT / 2) |
Definition at line 17 of file palette.cpp.
#define X_COLORBOX_OFFSET (X_MARGIN + CXY_BIGBOX + X_MARGIN) |
Definition at line 15 of file palette.cpp.
#define X_MARGIN 4 /* horizontal margin */ |
Definition at line 13 of file palette.cpp.
#define Y_MARGIN ((rcClient.bottom / 2) - CXY_COLORBOX) /* center position minus one color box */ |
Definition at line 14 of file palette.cpp.
Definition at line 34 of file palette.cpp.
Referenced by CPaletteWindow::OnPaint().
CPaletteWindow paletteWindow |
Definition at line 19 of file palette.cpp.
Referenced by CMainWindow::alignChildrenToMainWindow(), PaletteModel::NotifyColorChanged(), PaletteModel::NotifyPaletteChanged(), CMainWindow::OnCommand(), CMainWindow::OnCreate(), and CMainWindow::OnInitMenuPopup().