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 <>
-
template<>
classnanogui::detail::
FormWidget
<Color, std::true_type>¶ A specialization for adding a ColorPicker to a FormHelper.
Inherits from nanogui::ColorPicker
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.
-