Horizon
generate_silkscreen_window.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include <array>
4 #include <set>
5 #include "util/uuid.hpp"
6 #include "tool_window.hpp"
7 #include "widgets/spin_button_dim.hpp"
8 #include "core/tools/tool_generate_silkscreen.hpp"
9 
10 namespace horizon {
11 class GenerateSilkscreenWindow : public ToolWindow {
12 public:
13  GenerateSilkscreenWindow(Gtk::Window *parent, class ImpInterface *intf, class ToolSettings &stg);
14 
15  void update();
16 
17 private:
18  void load_defaults();
19 
20  ToolGenerateSilkscreen::Settings &settings;
21 
22  Gtk::Entry *entry_prefix = nullptr;
23  SpinButtonDim *sp_silk = nullptr;
24  SpinButtonDim *sp_pad = nullptr;
25 };
26 } // namespace horizon