Horizon
edit_plane_window.hpp
1 #pragma once
2 #include "tool_window.hpp"
3 #include "util/uuid.hpp"
4 
5 namespace horizon {
6 
8 public:
9  bool pick_net = false;
10 };
11 
12 class EditPlaneWindow : public ToolWindow {
13 public:
14  EditPlaneWindow(Gtk::Window *parent, ImpInterface *intf, class Plane &p, class Board &brd);
15  void set_net(const UUID &uu);
16 
17  class Board &get_board()
18  {
19  return brd;
20  }
21  class Plane *get_plane_and_reset_usage();
22 
23 private:
24  Gtk::ToggleButton *pick_button = nullptr;
25  class NetButton *net_button = nullptr;
26 
27  class Plane &plane;
28  const UUID plane_uuid;
29  class Board &brd;
30  class Polygon &poly;
31 };
32 } // namespace horizon
Definition: board.hpp:47
Definition: edit_plane_window.hpp:12
Definition: imp_interface.hpp:12
Definition: net_button.hpp:7
Definition: plane.hpp:54
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition: polygon.hpp:25
Definition: edit_plane_window.hpp:7
Definition: tool_data_window.hpp:5
Definition: tool_window.hpp:7
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16