Horizon
Loading...
Searching...
No Matches
selection_filter.hpp
1#pragma once
2#include <map>
3#include "common/common.hpp"
4
5namespace horizon {
7public:
8 SelectionFilter(const class CanvasGL &c) : ca(c)
9 {
10 }
11 bool can_select(const class SelectableRef &sel) const;
12
14 public:
15 std::map<int, bool> layers;
16 bool other_layers = false;
17 };
18
19 std::map<ObjectType, ObjectFilter> object_filter;
20
21private:
22 const CanvasGL &ca;
23};
24} // namespace horizon
Definition canvas_gl.hpp:20
Definition selectables.hpp:35
Definition selection_filter.hpp:13
Definition selection_filter.hpp:6