summaryrefslogtreecommitdiff
path: root/dialogs/confirm.hpp
blob: df1e185648ec285fb57cae482b6970d83aa31b7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include <gtkmm.h>

class ConfirmDialog : public Gtk::Dialog {
public:
    ConfirmDialog(Gtk::Window &parent);
    void SetConfirmText(const Glib::ustring &text);

protected:
    Gtk::Label m_label;
    Gtk::Box m_layout;
    Gtk::Button m_ok;
    Gtk::Button m_cancel;
    Gtk::ButtonBox m_bbox;
};