aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-03-01 20:38:21 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-03-01 20:38:21 +0100
commit7e091ea5ac1abb323f6df4f384f922a8227c3a1e (patch)
tree34e63729f5b4ae71fe7ca037969d87be6114d1b0 /data
parent6971fe12f5a4ceb8209616d990598e90a87ec0dc (diff)
downloadsynthpod-7e091ea5ac1abb323f6df4f384f922a8227c3a1e.tar.xz
design gengrid content as elm_frame.
Diffstat (limited to 'data')
-rw-r--r--data/modgrid.edc58
-rw-r--r--data/synthpod.edc3
2 files changed, 1 insertions, 60 deletions
diff --git a/data/modgrid.edc b/data/modgrid.edc
index 476150fa..11a30c7f 100644
--- a/data/modgrid.edc
+++ b/data/modgrid.edc
@@ -15,68 +15,12 @@
* http://www.perlfoundation.org/artistic_license_2_0.
*/
-images {
- image: "module_border.png" COMP;
-}
-
group {
name: "elm/gengrid/item/synthpod/default";
- data.item: "texts" "elm.text";
data.item: "contents" "elm.swallow.content";
parts {
part {
- name: "clip";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.00; fixed: 1 1; color: COL00; }
- }
- part {
- name: "text.bg";
- type: RECT;
- mouse_events: 1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1.to: "text.border";
- rel2.to: "text.border";
- color: 48 48 48 255;
- }
- }
- part {
- name: "text.border";
- type: IMAGE;
- mouse_events: 0;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel2.relative: 1 0;
- rel2.offset: 0 24;
- image {
- normal: "module_border.png";
- border: 6 6 6 6;
- middle: 0;
- }
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "text.border";
- rel1.offset: 6 0; // from text.border
- rel2.to: "text.border";
- text {
- text: "hello";
- size: 10;
- align: 0.0 0.5;
- }
- }
- }
- part {
name: "elm.swallow.content";
type: SWALLOW;
mouse_events: 1;
@@ -84,8 +28,6 @@ group {
description {
state: "default" 0.0;
fixed: 1 1;
- rel1.to_y: "elm.text";
- rel1.relative: 0 1;
}
}
}
diff --git a/data/synthpod.edc b/data/synthpod.edc
index 03c76111..2fab4609 100644
--- a/data/synthpod.edc
+++ b/data/synthpod.edc
@@ -17,8 +17,7 @@
#if 1
#define COLORS_MAX "20"
-//#define COL00 0 0 0 255 // Black
-#define COL00 64 64 64 255 // Black
+#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