summaryrefslogtreecommitdiff
path: root/src/dialogs/confirm.hpp
blob: 86feee752ec0993980e8e3ccba38df0cd005d655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

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

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