opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
undo_redo_panel.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <memory>
6#include <string_view>
7
8namespace osc { class UndoRedoBase; }
9
10namespace osc
11{
12 // a user-visible panel that lists undo/redo history
13 class UndoRedoPanel final : public Panel {
14 public:
16
17 explicit UndoRedoPanel(
19 std::string_view panel_name,
20 std::shared_ptr<UndoRedoBase>
21 );
22
23 private:
25
26 class Impl;
28 };
29}
Definition panel.h:13
Definition undo_redo.h:104
Definition undo_redo_panel.h:13
void impl_draw_content() final
static void draw_content(UndoRedoBase &)
UndoRedoPanel(Widget *parent, std::string_view panel_name, std::shared_ptr< UndoRedoBase >)
Definition widget.h:26
Widget * parent()
Definition custom_decoration_generator.h:5
constexpr U to(T &&value)
Definition conversion.h:56
#define OSC_WIDGET_DATA_GETTERS(ImplClass)
Definition widget.h:20