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