Horizon
annotate.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include <array>
4 #include <set>
5 #include "common/common.hpp"
6 #include "util/uuid.hpp"
7 #include "schematic/schematic.hpp"
8 namespace horizon {
9 
10 
11 class AnnotateDialog : public Gtk::Dialog {
12 public:
13  AnnotateDialog(Gtk::Window *parent, Schematic *s);
14  bool valid = false;
15 
16 
17 private:
18  Schematic *sch = nullptr;
19  Gtk::Switch *w_fill_gaps = nullptr;
20  Gtk::Switch *w_keep = nullptr;
21  Gtk::Switch *w_ignore_unknown = nullptr;
22  Gtk::ComboBoxText *w_order = nullptr;
23  Gtk::ComboBoxText *w_mode = nullptr;
24 
25  void ok_clicked();
26 };
27 } // namespace horizon
horizon::AnnotateDialog
Definition: annotate.hpp:11
horizon::Schematic
A Schematic is the visual representation of a Block.
Definition: schematic.hpp:27