opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
ui
widgets
redo_button.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
liboscar/platform/widget.h
>
4
5
#include <memory>
6
#include <string>
7
#include <utility>
8
9
namespace
osc
{
class
UndoRedoBase; }
10
11
namespace
osc
12
{
13
class
RedoButton
final
:
public
Widget
{
14
public
:
15
explicit
RedoButton
(
16
Widget
*
parent
,
17
std::shared_ptr<UndoRedoBase>
undo_redo
,
18
std::string
button_icon_text
=
">"
) :
19
20
Widget
{
parent
},
21
undo_redo_{std::
move
(
undo_redo
)},
22
button_icon_text_{std::
move
(
button_icon_text
)}
23
{}
24
25
private
:
26
void
impl_on_draw();
27
28
std::shared_ptr<UndoRedoBase> undo_redo_;
29
std::string button_icon_text_;
30
};
31
}
osc::RedoButton
Definition
redo_button.h:13
osc::RedoButton::RedoButton
RedoButton(Widget *parent, std::shared_ptr< UndoRedoBase > undo_redo, std::string button_icon_text=">")
Definition
redo_button.h:15
osc::Widget
Definition
widget.h:26
osc::Widget::parent
Widget * parent()
osc
Definition
custom_decoration_generator.h:5
osc::to
constexpr U to(T &&value)
Definition
conversion.h:56
widget.h
Generated by
1.9.8