OSSIA
Open Scenario System for Interactive Application
ossia-pd/src/view.hpp
1 #pragma once
2 
3 #include <ossia-pd/src/device.hpp>
4 #include <ossia-pd/src/parameter_base.hpp>
5 
6 namespace ossia::pd
7 {
8 
9 struct view : public node_base
10 {
11 public:
12  view();
13 
14  using is_view = std::true_type;
15 
16  bool register_node(const std::vector<t_matcher>& node);
17  bool do_registration(const std::vector<t_matcher>& node);
18  bool unregister();
19 
20  static ossia::safe_set<view*>& quarantine();
21 
22  static void* create(t_symbol* name, int argc, t_atom* argv);
23  static void destroy(view* x);
24  static void click(
25  view* x, t_floatarg xpos, t_floatarg ypos, t_floatarg shift, t_floatarg ctrl,
26  t_floatarg alt);
27 };
28 } // namespace