Horizon
imp_interface.hpp
1 #pragma once
2 #include "canvas/triangle.hpp"
3 #include "dialogs/dialogs.hpp"
4 
5 namespace horizon {
6 class ImpInterface {
7 public:
8  ImpInterface(class ImpBase *i);
9  Dialogs dialogs;
10  void tool_bar_set_tip(const std::string &s);
11  void tool_bar_flash(const std::string &s);
12  UUID take_part();
13  void part_placed(const UUID &uu);
14  void set_work_layer(int layer);
15  int get_work_layer();
16  void set_no_update(bool v);
17  void canvas_update();
18  class CanvasGL *get_canvas();
19 
20  void update_highlights();
21  std::set<ObjectRef> &get_highlights();
22 
23 private:
24  class ImpBase *imp;
25 };
26 } // namespace horizon
Definition: dialogs.hpp:15
Definition: canvas_gl.hpp:10
Definition: imp.hpp:38
Definition: imp_interface.hpp:6
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Definition: block.cpp:7