Template Class FormWidget< bool, std::true_type >

Inheritance Relationships

Base Type

Class Documentation

template <>
template<>
class nanogui::detail::FormWidget<bool, std::true_type>

A specialization for adding a CheckBox to a FormHelper.

Inherits from nanogui::CheckBox

Public Functions

FormWidget(Widget *p)

Creates a new FormWidget with underlying type CheckBox.

void setValue(bool v)

Pass-through function for nanogui::CheckBox::setChecked.

void setEditable(bool e)

Pass-through function for nanogui::Widget::setEnabled.

bool value() const

Returns the value of nanogui::CheckBox::checked.