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