HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
abstract_bool_toggle_button_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 "abstract_toggle_button_widget.hpp"
8
9namespace tt {
10
15public:
16 template<typename Value>
20 Value &&value) noexcept :
21 abstract_toggle_button_widget<bool>(window, parent, true, false, std::forward<Value>(value))
22 {
23 }
24};
25
26}
Definition gui_window.hpp:39
An abstract boolean toggle button widget.
Definition abstract_bool_toggle_button_widget.hpp:14
An abstract toggle button widget.
Definition abstract_toggle_button_widget.hpp:15
gui_window & window
Convenient reference to the Window.
Definition widget.hpp:100
abstract_container_widget const & parent() const noexcept
Get a reference to the parent.