aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-03-30 19:02:19 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-03-30 19:02:19 +0200
commit75a0bc1e8e199f3c817e1a42410721f95c975400 (patch)
tree9ef6d03844e5ea48d4219861ccc340472e2be6a8 /data
parent3150af527af5b2ed97e6e5f25929a1ecefc935fe (diff)
downloadsynthpod-75a0bc1e8e199f3c817e1a42410721f95c975400.tar.xz
improve src tree structure. add portaudio client.
* improve source directory structure * prototype portaudio client (synthpod_pa) * make everything crosscompile with mingw32-w64
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt24
-rw-r--r--data/font/DejaVuSansMono-Bold.ttfbin0 -> 318392 bytes
-rw-r--r--data/patcher.edc643
-rw-r--r--data/pix/arrow_right.pngbin0 -> 4469 bytes
-rw-r--r--data/pix/arrow_up.pngbin0 -> 4420 bytes
-rw-r--r--data/pix/border.pngbin0 -> 186 bytes
-rw-r--r--data/pix/omk_logo_256x256.pngbin0 -> 6916 bytes
-rw-r--r--data/synthpod.edc28
8 files changed, 695 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
new file mode 100644
index 00000000..1d27529b
--- /dev/null
+++ b/data/CMakeLists.txt
@@ -0,0 +1,24 @@
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+
+if(BUILD_UI)
+# theme
+ find_program(EDJE_CC NAMES edje_cc)
+ if(EDJE_CC_NOTFOUND)
+ message(SEND_ERROR "edje_cc not found")
+ else(EDJE_CC_NOTFOUND)
+ message(STATUS "edje_cc found: " ${EDJE_CC})
+ endif(EDJE_CC_NOTFOUND)
+
+ add_custom_command(
+ OUTPUT ${PROJECT_BINARY_DIR}/synthpod.edj
+ COMMAND ${EDJE_CC} ARGS
+ "-fd" ${CMAKE_CURRENT_SOURCE_DIR}/font
+ "-id" ${CMAKE_CURRENT_SOURCE_DIR}/pix
+ ${CMAKE_CURRENT_SOURCE_DIR}/synthpod.edc
+ ${PROJECT_BINARY_DIR}/synthpod.edj
+ DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/synthpod.edc
+ ${CMAKE_CURRENT_SOURCE_DIR}/patcher.edc)
+ add_custom_target(THEME ALL DEPENDS ${PROJECT_BINARY_DIR}/synthpod.edj)
+ install(FILES ${PROJECT_BINARY_DIR}/synthpod.edj DESTINATION ${APP_DIR})
+endif()
diff --git a/data/font/DejaVuSansMono-Bold.ttf b/data/font/DejaVuSansMono-Bold.ttf
new file mode 100644
index 00000000..9c716794
--- /dev/null
+++ b/data/font/DejaVuSansMono-Bold.ttf
Binary files differ
diff --git a/data/patcher.edc b/data/patcher.edc
new file mode 100644
index 00000000..8db9fb7d
--- /dev/null
+++ b/data/patcher.edc
@@ -0,0 +1,643 @@
+/*
+ * Copyright (c) 2015 Hanspeter Portner (dev@open-music-kontrollers.ch)
+ *
+ * This is free software: you can redistribute it and/or modify
+ * it under the terms of the Artistic License 2.0 as published by
+ * The Perl Foundation.
+ *
+ * This source is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * Artistic License 2.0 for more details.
+ *
+ * You should have received a copy of the Artistic License 2.0
+ * along the source as a COPYING file. If not, obtain it from
+ * http://www.perlfoundation.org/artistic_license_2_0.
+ */
+
+#define PATCHER_UI "/synthpod/patcher/ui"
+
+#define COL00 0 0 0 255 // Black
+#define COL01 255 179 0 255 // Vivid Yellow
+#define COL02 128 62 117 255 // Strong Purple
+#define COL03 255 104 0 255 // Vivid Orange
+#define COL04 166 189 215 255 // Very Light Blue
+#define COL05 193 0 32 255 // Vivid Red
+#define COL06 206 162 98 255 // Grayish Yellow
+#define COL07 129 112 102 255 // Medium Gray
+#define COL08 0 125 52 255 // Vivid Green
+#define COL09 246 118 142 255 // Strong Purplish Pink
+#define COL10 0 83 138 255 // Strong Blue
+#define COL11 255 122 92 255 // Strong Yellowish Pink
+#define COL12 83 55 122 255 // Strong Violet
+#define COL13 255 142 0 255 // Vivid Orange Yellow
+#define COL14 179 40 81 255 // Strong Purplish Red
+#define COL15 244 200 0 255 // Vivid Greenish Yellow
+#define COL16 127 24 13 255 // Strong Reddish Brown
+#define COL17 147 170 0 255 // Vivid Yellowish Green
+#define COL18 89 51 21 255 // Deep Yellowish Brown
+#define COL19 241 58 19 255 // Vivid Reddish Orange
+#define COL20 35 44 22 255 // Dark Olive Green
+
+images {
+ image: "border.png" COMP;
+ image: "arrow_up.png" COMP;
+ image: "arrow_right.png" COMP;
+}
+
+group {
+ name: "/synthpod/modlist/module";
+
+ parts {
+ part {
+ name: "clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.00; fixed: 1 1; color: COL00; }
+ description { state: "default" 0.01; fixed: 1 1; color: COL01; }
+ description { state: "default" 0.02; fixed: 1 1; color: COL02; }
+ description { state: "default" 0.03; fixed: 1 1; color: COL03; }
+ description { state: "default" 0.04; fixed: 1 1; color: COL04; }
+ description { state: "default" 0.05; fixed: 1 1; color: COL05; }
+ description { state: "default" 0.06; fixed: 1 1; color: COL06; }
+ description { state: "default" 0.07; fixed: 1 1; color: COL07; }
+ description { state: "default" 0.08; fixed: 1 1; color: COL08; }
+ description { state: "default" 0.09; fixed: 1 1; color: COL09; }
+ description { state: "default" 0.10; fixed: 1 1; color: COL10; }
+ description { state: "default" 0.11; fixed: 1 1; color: COL11; }
+ description { state: "default" 0.12; fixed: 1 1; color: COL12; }
+ description { state: "default" 0.13; fixed: 1 1; color: COL13; }
+ description { state: "default" 0.14; fixed: 1 1; color: COL14; }
+ description { state: "default" 0.15; fixed: 1 1; color: COL15; }
+ description { state: "default" 0.16; fixed: 1 1; color: COL16; }
+ description { state: "default" 0.17; fixed: 1 1; color: COL17; }
+ description { state: "default" 0.18; fixed: 1 1; color: COL18; }
+ description { state: "default" 0.19; fixed: 1 1; color: COL19; }
+ description { state: "default" 0.20; fixed: 1 1; color: COL20; }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0 0;
+ rel1.offset: 16 0;
+ rel2.relative: 1 1;
+ rel2.offset: -16 0;
+ text {
+ text: "";
+ font: "default";
+ size: 11;
+ align: 0.0 0.5;
+ };
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0 0;
+ rel2.relative: 0 1;
+ rel2.offset: 16 0;
+ }
+ }
+ part {
+ name: "elm.swallow.end";
+ type: SWALLOW;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1 0;
+ rel1.offset: -16 0;
+ rel2.relative: 1 1;
+ }
+ }
+ }
+
+ programs {
+ program { signal: "col,00"; source: PATCHER_UI; action: STATE_SET "default" 0.00; target: "clip"; }
+ program { signal: "col,01"; source: PATCHER_UI; action: STATE_SET "default" 0.01; target: "clip"; }
+ program { signal: "col,02"; source: PATCHER_UI; action: STATE_SET "default" 0.02; target: "clip"; }
+ program { signal: "col,03"; source: PATCHER_UI; action: STATE_SET "default" 0.03; target: "clip"; }
+ program { signal: "col,04"; source: PATCHER_UI; action: STATE_SET "default" 0.04; target: "clip"; }
+ program { signal: "col,05"; source: PATCHER_UI; action: STATE_SET "default" 0.05; target: "clip"; }
+ program { signal: "col,06"; source: PATCHER_UI; action: STATE_SET "default" 0.06; target: "clip"; }
+ program { signal: "col,07"; source: PATCHER_UI; action: STATE_SET "default" 0.07; target: "clip"; }
+ program { signal: "col,08"; source: PATCHER_UI; action: STATE_SET "default" 0.08; target: "clip"; }
+ program { signal: "col,09"; source: PATCHER_UI; action: STATE_SET "default" 0.09; target: "clip"; }
+ program { signal: "col,10"; source: PATCHER_UI; action: STATE_SET "default" 0.10; target: "clip"; }
+ program { signal: "col,11"; source: PATCHER_UI; action: STATE_SET "default" 0.11; target: "clip"; }
+ program { signal: "col,12"; source: PATCHER_UI; action: STATE_SET "default" 0.12; target: "clip"; }
+ program { signal: "col,13"; source: PATCHER_UI; action: STATE_SET "default" 0.13; target: "clip"; }
+ program { signal: "col,14"; source: PATCHER_UI; action: STATE_SET "default" 0.14; target: "clip"; }
+ program { signal: "col,15"; source: PATCHER_UI; action: STATE_SET "default" 0.15; target: "clip"; }
+ program { signal: "col,16"; source: PATCHER_UI; action: STATE_SET "default" 0.16; target: "clip"; }
+ program { signal: "col,17"; source: PATCHER_UI; action: STATE_SET "default" 0.17; target: "clip"; }
+ program { signal: "col,18"; source: PATCHER_UI; action: STATE_SET "default" 0.18; target: "clip"; }
+ program { signal: "col,19"; source: PATCHER_UI; action: STATE_SET "default" 0.19; target: "clip"; }
+ program { signal: "col,20"; source: PATCHER_UI; action: STATE_SET "default" 0.20; target: "clip"; }
+ }
+}
+
+group {
+ name: "/synthpod/modlist/port";
+
+ parts {
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0 0;
+ rel1.offset: 32 0;
+ rel2.relative: 0.3 1;
+ text {
+ text: "";
+ font: "default";
+ size: 11;
+ align: 0.0 0.5;
+ };
+ }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.3 0;
+ rel2.relative: 1 1;
+ rel2.offset: -16 0;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0 0;
+ rel2.relative: 0 1;
+ rel2.offset: 16 0;
+ }
+ }
+ part {
+ name: "elm.swallow.sink";
+ type: SWALLOW;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0 0.5;
+ rel1.offset: 16 -8;
+ rel2.relative: 0 0.5;
+ rel2.offset: 32 8;
+ }
+ }
+ part {
+ name: "elm.swallow.source";
+ type: SWALLOW;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1 0.5;
+ rel1.offset: -16 -8;
+ rel2.relative: 1 0.5;
+ rel2.offset: 0 8;
+ }
+ }
+ }
+}
+
+group {
+ name: "/synthpod/patcher/node";
+
+ parts {
+ part {
+ name: "grid.vertical";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0;
+ rel1.offset: -0.5 0;
+ rel2.relative: 0.5 1;
+ rel2.offset: 0.5 0;
+ color: 128 128 128 255;
+ }
+ }
+ part {
+ name: "grid.horizontal";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0 0.5;
+ rel1.offset: 0 -0.5;
+ rel2.relative: 1 0.5;
+ rel2.offset: 0 0.5;
+ color: 128 128 128 255;
+ }
+ }
+
+ part {
+ name: "rect";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.25 0.25;
+ rel2.relative: 0.75 0.75;
+ color: 255 255 255 0;
+ }
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+
+ part {
+ name: "line.vertical";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel2.relative: 0.5 0.5;
+ }
+ description {
+ state: "default" 0.5;
+ inherit: "default" 0.0;
+ rel1.relative: 0.4 0.4;
+ rel2.relative: 0.6 1.0;
+ }
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.4 0.0;
+ rel2.relative: 0.6 1.0;
+ }
+ }
+ part {
+ name: "line.horizontal";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel2.relative: 0.5 0.5;
+ }
+ description {
+ state: "default" 0.5;
+ inherit: "default" 0.0;
+ rel1.relative: 0.4 0.4;
+ rel2.relative: 1.0 0.6;
+ }
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.4;
+ rel2.relative: 1.0 0.6;
+ }
+ }
+
+ part {
+ name: "ev";
+ type: IMAGE;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ image {
+ normal: "border.png";
+ border: 2 2 2 2;
+ middle: NONE;
+ scale_hint: STATIC;
+ }
+ color: 255 255 255 0;
+ }
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ }
+
+ programs {
+ program {
+ signal: "mouse,in";
+ source: "ev";
+ action: STATE_SET "default" 1.0;
+ target: "ev";
+ }
+ program {
+ signal: "mouse,in";
+ source: "ev";
+ action: SIGNAL_EMIT "in" PATCHER_UI;
+ }
+ program {
+ signal: "mouse,out";
+ source: "ev";
+ action: STATE_SET "default" 0.0;
+ target: "ev";
+ }
+ program {
+ signal: "mouse,out";
+ source: "ev";
+ action: SIGNAL_EMIT "out" PATCHER_UI;
+ }
+ program {
+ signal: "mouse,clicked,*";
+ source: "ev";
+ action: SIGNAL_EMIT "toggled" PATCHER_UI;
+ }
+
+ program {
+ signal: "on";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 1.0;
+ target: "rect";
+ }
+ program {
+ signal: "off";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.0;
+ target: "rect";
+ }
+
+ program {
+ signal: "clear";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.0;
+ target: "line.vertical";
+ target: "line.horizontal";
+ }
+ program {
+ signal: "edge";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.5;
+ target: "line.vertical";
+ target: "line.horizontal";
+ }
+ program {
+ signal: "edge,vertical";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 1.0;
+ target: "line.vertical";
+ }
+ program {
+ signal: "edge,vertical";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.5;
+ target: "line.horizontal";
+ }
+ program {
+ signal: "edge,horizontal";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.5;
+ target: "line.vertical";
+ }
+ program {
+ signal: "edge,horizontal";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 1.0;
+ target: "line.horizontal";
+ }
+ program {
+ signal: "vertical";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 1.0;
+ target: "line.vertical";
+ }
+ program {
+ signal: "vertical";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.0;
+ target: "line.horizontal";
+ }
+ program {
+ signal: "horizontal";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 1.0;
+ target: "line.horizontal";
+ }
+ program {
+ signal: "horizontal";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.0;
+ target: "line.vertical";
+ }
+ }
+}
+
+group {
+ name: "/synthpod/patcher/port";
+
+ parts {
+ part {
+ name: "icon.clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.00; fixed: 1 1; color: COL00; }
+ description { state: "default" 0.01; fixed: 1 1; color: COL01; }
+ description { state: "default" 0.02; fixed: 1 1; color: COL02; }
+ description { state: "default" 0.03; fixed: 1 1; color: COL03; }
+ description { state: "default" 0.04; fixed: 1 1; color: COL04; }
+ description { state: "default" 0.05; fixed: 1 1; color: COL05; }
+ description { state: "default" 0.06; fixed: 1 1; color: COL06; }
+ description { state: "default" 0.07; fixed: 1 1; color: COL07; }
+ description { state: "default" 0.08; fixed: 1 1; color: COL08; }
+ description { state: "default" 0.09; fixed: 1 1; color: COL09; }
+ description { state: "default" 0.10; fixed: 1 1; color: COL10; }
+ description { state: "default" 0.11; fixed: 1 1; color: COL11; }
+ description { state: "default" 0.12; fixed: 1 1; color: COL12; }
+ description { state: "default" 0.13; fixed: 1 1; color: COL13; }
+ description { state: "default" 0.14; fixed: 1 1; color: COL14; }
+ description { state: "default" 0.15; fixed: 1 1; color: COL15; }
+ description { state: "default" 0.16; fixed: 1 1; color: COL16; }
+ description { state: "default" 0.17; fixed: 1 1; color: COL17; }
+ description { state: "default" 0.18; fixed: 1 1; color: COL18; }
+ description { state: "default" 0.19; fixed: 1 1; color: COL19; }
+ description { state: "default" 0.20; fixed: 1 1; color: COL20; }
+ }
+ part {
+ name: "icon";
+ type: IMAGE;
+ mouse_events: 0;
+ clip_to: "icon.clip";
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.15 0.15;
+ rel2.relative: 0.85 0.85;
+ image.normal: "arrow_up.png";
+ color: 255 255 255 255;
+ }
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ image.normal: "arrow_right.png";
+ color: 255 255 255 255;
+ }
+ }
+ part {
+ name: "ev";
+ type: IMAGE;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ image {
+ normal: "border.png";
+ border: 2 2 2 2;
+ middle: NONE;
+ scale_hint: STATIC;
+ }
+ color: 255 255 255 0;
+ }
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ }
+
+ programs {
+ program {
+ signal: "source";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.0;
+ target: "icon";
+ }
+ program {
+ signal: "sink";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 1.0;
+ target: "icon";
+ }
+
+ program { signal: "col,00"; source: PATCHER_UI; action: STATE_SET "default" 0.00; target: "icon.clip"; }
+ program { signal: "col,01"; source: PATCHER_UI; action: STATE_SET "default" 0.01; target: "icon.clip"; }
+ program { signal: "col,02"; source: PATCHER_UI; action: STATE_SET "default" 0.02; target: "icon.clip"; }
+ program { signal: "col,03"; source: PATCHER_UI; action: STATE_SET "default" 0.03; target: "icon.clip"; }
+ program { signal: "col,04"; source: PATCHER_UI; action: STATE_SET "default" 0.04; target: "icon.clip"; }
+ program { signal: "col,05"; source: PATCHER_UI; action: STATE_SET "default" 0.05; target: "icon.clip"; }
+ program { signal: "col,06"; source: PATCHER_UI; action: STATE_SET "default" 0.06; target: "icon.clip"; }
+ program { signal: "col,07"; source: PATCHER_UI; action: STATE_SET "default" 0.07; target: "icon.clip"; }
+ program { signal: "col,08"; source: PATCHER_UI; action: STATE_SET "default" 0.08; target: "icon.clip"; }
+ program { signal: "col,09"; source: PATCHER_UI; action: STATE_SET "default" 0.09; target: "icon.clip"; }
+ program { signal: "col,10"; source: PATCHER_UI; action: STATE_SET "default" 0.10; target: "icon.clip"; }
+ program { signal: "col,11"; source: PATCHER_UI; action: STATE_SET "default" 0.11; target: "icon.clip"; }
+ program { signal: "col,12"; source: PATCHER_UI; action: STATE_SET "default" 0.12; target: "icon.clip"; }
+ program { signal: "col,13"; source: PATCHER_UI; action: STATE_SET "default" 0.13; target: "icon.clip"; }
+ program { signal: "col,14"; source: PATCHER_UI; action: STATE_SET "default" 0.14; target: "icon.clip"; }
+ program { signal: "col,15"; source: PATCHER_UI; action: STATE_SET "default" 0.15; target: "icon.clip"; }
+ program { signal: "col,16"; source: PATCHER_UI; action: STATE_SET "default" 0.16; target: "icon.clip"; }
+ program { signal: "col,17"; source: PATCHER_UI; action: STATE_SET "default" 0.17; target: "icon.clip"; }
+ program { signal: "col,18"; source: PATCHER_UI; action: STATE_SET "default" 0.18; target: "icon.clip"; }
+ program { signal: "col,19"; source: PATCHER_UI; action: STATE_SET "default" 0.19; target: "icon.clip"; }
+ program { signal: "col,20"; source: PATCHER_UI; action: STATE_SET "default" 0.20; target: "icon.clip"; }
+
+ program {
+ signal: "mouse,in";
+ source: "ev";
+ action: SIGNAL_EMIT "in" PATCHER_UI;
+ }
+ program {
+ signal: "mouse,out";
+ source: "ev";
+ action: SIGNAL_EMIT "out" PATCHER_UI;
+ }
+
+ program {
+ signal: "on";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 1.0;
+ target: "ev";
+ }
+ program {
+ signal: "off";
+ source: PATCHER_UI;
+ action: STATE_SET "default" 0.0;
+ target: "ev";
+ }
+ }
+}
+
+group {
+ name: "/synthpod/patcher/label/horizontal";
+
+ parts {
+ part {
+ name: "default";
+ type: TEXT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ text {
+ text: "Sources";
+ size: 11;
+ align: 0.0 0.5;
+ }
+ color: 128 128 128 255;
+ }
+ }
+ }
+}
+
+group {
+ name: "/synthpod/patcher/label/vertical";
+
+ parts {
+ part {
+ name: "center";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 0.0;
+ }
+ }
+ part {
+ name: "default";
+ type: TEXT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 0.5 -0.5;
+ rel2.relative: 8.5 0.5;
+ map {
+ on: 1;
+ rotation.center: "center";
+ rotation.z: 90; // 45
+ }
+ text {
+ text: "Sinks";
+ size: 11;
+ align: 0.0 0.5;
+ }
+ color: 128 128 128 255;
+ }
+ }
+ }
+}
diff --git a/data/pix/arrow_right.png b/data/pix/arrow_right.png
new file mode 100644
index 00000000..58f11ad7
--- /dev/null
+++ b/data/pix/arrow_right.png
Binary files differ
diff --git a/data/pix/arrow_up.png b/data/pix/arrow_up.png
new file mode 100644
index 00000000..2ca72f4c
--- /dev/null
+++ b/data/pix/arrow_up.png
Binary files differ
diff --git a/data/pix/border.png b/data/pix/border.png
new file mode 100644
index 00000000..d192dcb9
--- /dev/null
+++ b/data/pix/border.png
Binary files differ
diff --git a/data/pix/omk_logo_256x256.png b/data/pix/omk_logo_256x256.png
new file mode 100644
index 00000000..5f3ff48a
--- /dev/null
+++ b/data/pix/omk_logo_256x256.png
Binary files differ
diff --git a/data/synthpod.edc b/data/synthpod.edc
new file mode 100644
index 00000000..18051e7c
--- /dev/null
+++ b/data/synthpod.edc
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2015 Hanspeter Portner (dev@open-music-kontrollers.ch)
+ *
+ * This is free software: you can redistribute it and/or modify
+ * it under the terms of the Artistic License 2.0 as published by
+ * The Perl Foundation.
+ *
+ * This source is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * Artistic License 2.0 for more details.
+ *
+ * You should have received a copy of the Artistic License 2.0
+ * along the source as a COPYING file. If not, obtain it from
+ * http://www.perlfoundation.org/artistic_license_2_0.
+ */
+
+collections {
+ images {
+ image: "omk_logo_256x256.png" COMP;
+ }
+
+ fonts {
+ //font: "DejaVuSansMono-Bold.ttf" "default";
+ }
+
+# include <patcher.edc>
+}