Rhino C++ API
8.13
|
CRhinoPlotColorComboBox window. More...
#include <RhinoSdkPlotColorComboBox.h>
Public Types | |
enum | object_colors { by_display_color = 0, by_layer_color, by_parent_color, black_color, white_color, red_color, yellow_color, green_color, cyan_color, blue_color, magenta_color, custom_color, color_count } |
Attributes. More... | |
Public Member Functions | |
CRhinoPlotColorComboBox () | |
Construction. More... | |
~CRhinoPlotColorComboBox () | |
int | GetCurrentColor (ON_Color &color, object_colors &obj_color) |
BOOL32 | OnSelectionChanged () |
void | SetCurrentColor (ON_Color color, object_colors obj_color=by_layer_color) |
Public Member Functions inherited from CRhinoUiColorComboBox | |
CRhinoUiColorComboBox () | |
virtual | ~CRhinoUiColorComboBox () |
bool | AddColorItem (const char *lpsColorName, COLORREF color) |
bool | AddColorItem (const wchar_t *lpsColorName, COLORREF color) |
CRhinoUiColorComboBoxItem * | ItemFromIndex (int nIndex) |
void | SetColorPalette (HPALETTE pal) |
Protected Member Functions | |
virtual void | DrawItem (LPDRAWITEMSTRUCT) |
void | Initialize () |
void | PreSubclassWindow () |
Overrides. More... | |
Protected Member Functions inherited from CRhinoUiColorComboBox | |
bool | _AddColorItem (LPCTSTR lpsColorName, COLORREF color) |
virtual int | CompareItem (LPCOMPAREITEMSTRUCT) |
Additional Inherited Members | |
Public Attributes inherited from CRhinoUiColorComboBox | |
CObArray | m_items |
Protected Attributes inherited from CRhinoUiColorComboBox | |
HPALETTE | m_hPalette |
CRhinoPlotColorComboBox window.
Copyright (c) 1993-2017 Robert McNeel & Associates. All rights reserved. Rhinoceros is a registered trademark of Robert McNeel & Associates.
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.
For complete Rhino SDK copyright information see http://www.rhino3d.com/developer.
CRhinoPlotColorComboBox::CRhinoPlotColorComboBox | ( | ) |
Construction.
CRhinoPlotColorComboBox::~CRhinoPlotColorComboBox | ( | ) |
|
protectedvirtual |
Reimplemented from CRhinoUiColorComboBox.
int CRhinoPlotColorComboBox::GetCurrentColor | ( | ON_Color & | color, |
object_colors & | obj_color | ||
) |
|
protected |
BOOL32 CRhinoPlotColorComboBox::OnSelectionChanged | ( | ) |
|
protectedvirtual |
Overrides.
Reimplemented from CRhinoUiColorComboBox.
void CRhinoPlotColorComboBox::SetCurrentColor | ( | ON_Color | color, |
object_colors | obj_color = by_layer_color |
||
) |