Template Class FormWidget< Color, std::true_type >¶
Defined in File formhelper.h
Page Contents
Inheritance Relationships¶
Base Type¶
public nanogui::ColorPicker
(Class ColorPicker)
Class Documentation¶
-
template<>
classFormWidget
<Color, std::true_type> : public nanogui::ColorPicker¶ A specialization for adding a ColorPicker to a FormHelper.
Public Functions
-
FormWidget
(Widget *p)¶ Creates a new FormWidget with underlying type ColorPicker.
-
void
setValue
(const Color &c)¶ Pass-through function for nanogui::ColorPicker::setColor.
-
void
setEditable
(bool e)¶ Pass-through function for nanogui::Widget::setEnabled.
-
Color
value
() const¶ Returns the value of nanogui::ColorPicker::color.
-