#include "camtypes.h"
#include "dlgcol.h"
Go to the source code of this file.
Defines | |
#define | new CAM_DEBUG_NEW |
Functions | |
static void | GetOSColour (DocColour *Col, wxSystemColour ColID) |
Given a Windows COLORREF colour word, creates an equivalent DocColour. |
|
Definition at line 111 of file dlgcol.cpp. |
|
Given a Windows COLORREF colour word, creates an equivalent DocColour. static void GetOSColour(DocColour *Col, INT32 ColID)
Scope: private (to dlgcol.cpp) Definition at line 170 of file dlgcol.cpp. 00171 { 00172 wxColour ColDef = wxSystemSettings::GetColour(ColID); 00173 00174 if (ColDef == wxColour(192, 192, 192)) 00175 { 00176 *Col = DocColour(191, 191, 191); 00177 00178 Col->SetSeparable(FALSE); // UI colours should not colour-separate 00179 return; 00180 } 00181 00182 *Col = DocColour((INT32) ColDef.Red(), 00183 (INT32) ColDef.Green(), 00184 (INT32) ColDef.Blue()); 00185 00186 Col->SetSeparable(FALSE); // UI colours should not colour-separate 00187 }
|