HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
boolean_checkbox_widget.hpp
1// Copyright Take Vos 2020.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "checkbox_widget.hpp"
8
9namespace tt {
10
15public:
16 template<typename Value = observable<bool>>
18 checkbox_widget<bool>(window, parent, true, false, std::forward<Value>(value))
19 {
20 }
21};
22
23}
Definition gui_window.hpp:37
An abstract toggle button widget.
Definition boolean_checkbox_widget.hpp:14
A checkbox widget.
Definition checkbox_widget.hpp:26
gui_window & window
Convenient reference to the Window.
Definition widget.hpp:101
abstract_container_widget const & parent() const noexcept
Get a reference to the parent.