1 #pragma once
2 #include <gtkmm.h>
3 #include "core/tool_data_window.hpp"
4 
5 namespace horizon {
6 
7 class ToolWindow : public Gtk::Window {
8 public:
9     ToolWindow(Gtk::Window *parent, class ImpInterface *intf);
10     void set_use_ok(bool okay);
11 
12 protected:
13     Gtk::Button *ok_button = nullptr;
14     Gtk::Button *cancel_button = nullptr;
15     void set_title(const std::string &title);
16     void emit_event(ToolDataWindow::Event ev);
17     Gtk::HeaderBar *headerbar = nullptr;
18     class ImpInterface *interface = nullptr;
19 };
20 
21 } // namespace horizon
22