-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
55 lines (51 loc) · 1.51 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include "app.h"
#include "systems/platform.h"
#include "systems/draggable.h"
#include "systems/demonstration.h"
#include "systems/interpolator.h"
#include "systems/knob.h"
#include "systems/circle_painter.h"
#include "systems/line_painter.h"
#include "systems/text_painter.h"
#include "systems/cursor.h"
#include "systems/button.h"
#include "systems/libmapper.h"
#include "systems/data_vis.h"
#include "systems/editor.h"
#include "systems/libmapper_editor.h"
#include "systems/saving_logging.h"
#include "systems/update_tracker.h"
#include "systems/pca.h"
#include "systems/demo_dest_knobs.h"
#include "systems/manual_color_knobs.h"
#include "systems/smooth_position.h"
int main(int argc, char ** argv)
{
auto app = App
< System::Platform // also polls libmapper
, System::SmoothPosition
, System::CirclePainter
, System::LinePainter
, System::TextPainter
, System::Button
, System::Draggable
, System::LibmapperEditor
, System::Demonstration
, System::DemoDestKnobs // knobs have to run before knob so dragging applies after sync
, System::ManualColorKnobs
, System::Knob
, System::Interpolator
, System::Cursor
, System::Editor
, System::UpdateTracker
, System::SavingLogging
, System::PCA
, System::DataVis
, System::Libmapper // syncs destination signals with registry
>(argc, argv);
while (not app.ready_to_quit())
{
app.loop();
}
return 0;
}