Horizon
selection_filter.hpp
1 #pragma once
2 #include "selectables.hpp"
3 #include <map>
4 
5 namespace horizon {
7 public:
8  SelectionFilter(Canvas *c) : ca(c)
9  {
10  }
11  bool can_select(const SelectableRef &sel);
12 
13  bool work_layer_only = false;
14  std::map<ObjectType, bool> object_filter;
15 
16 private:
17  Canvas *ca;
18 };
19 } // namespace horizon
Definition: selectables.hpp:29
Definition: canvas.hpp:20
Definition: selection_filter.hpp:6
Definition: block.cpp:9