Horizon
plane_editor.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include <set>
4 #include "util/changeable.hpp"
5 
6 namespace horizon {
7 class PlaneEditor : public Gtk::Grid, public Changeable {
8 public:
9  PlaneEditor(class PlaneSettings *settings, int *priority = nullptr);
10  void set_from_rules(bool v);
11 
12 private:
13  class PlaneSettings *settings;
14  void update_thermal();
15  void update_hatch();
16  std::set<Gtk::Widget *> widgets_from_rules_disable;
17  std::set<Gtk::Widget *> widgets_thermal_only;
18  std::set<Gtk::Widget *> widgets_hatch_only;
19 };
20 } // namespace horizon
horizon::PlaneEditor
Definition: plane_editor.hpp:7
horizon::Changeable
Definition: changeable.hpp:5
horizon::PlaneSettings
Definition: plane.hpp:9