Template Class FormWidget< bool, std::true_type >

Inheritance Relationships

Base Type

Class Documentation

template<>
class FormWidget<bool, std::true_type> : public nanogui::CheckBox

A specialization for adding a CheckBox to a FormHelper.

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.