aboutsummaryrefslogtreecommitdiff
path: root/data/modgrid.edc
blob: d9510318267eb753e5d25e3cb3d2111b388a7617 (plain)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
 * 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 MODGRID_UI "/synthpod/modgrid/ui"

images {
	image: "border.png" COMP;
}

group {
	name: "/synthpod/modgrid/container";

	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: "border";
			type: IMAGE;
			mouse_events: 0;
			clip_to: "clip";
			description {
				state: "default" 0.0;
				fixed: 1 1;
				image.normal: "border.png";
				image.border: 2 2 2 2;
				image.middle: NONE;
				image.scale_hint: STATIC;
			}
		}
		part {
			name: "elm.swallow.content";
			type: SWALLOW;
			mouse_events: 1;
			description {
				state: "default" 0.0;
				fixed: 1 1;
				rel1.offset: 2 2;
				rel2.offset: -2 -2;
			}
		}
	}

	programs {
		program { signal: "col,00"; source: MODGRID_UI; action: STATE_SET "default" 0.00; target: "clip"; }
		program { signal: "col,01"; source: MODGRID_UI; action: STATE_SET "default" 0.01; target: "clip"; }
		program { signal: "col,02"; source: MODGRID_UI; action: STATE_SET "default" 0.02; target: "clip"; }
		program { signal: "col,03"; source: MODGRID_UI; action: STATE_SET "default" 0.03; target: "clip"; }
		program { signal: "col,04"; source: MODGRID_UI; action: STATE_SET "default" 0.04; target: "clip"; }
		program { signal: "col,05"; source: MODGRID_UI; action: STATE_SET "default" 0.05; target: "clip"; }
		program { signal: "col,06"; source: MODGRID_UI; action: STATE_SET "default" 0.06; target: "clip"; }
		program { signal: "col,07"; source: MODGRID_UI; action: STATE_SET "default" 0.07; target: "clip"; }
		program { signal: "col,08"; source: MODGRID_UI; action: STATE_SET "default" 0.08; target: "clip"; }
		program { signal: "col,09"; source: MODGRID_UI; action: STATE_SET "default" 0.09; target: "clip"; }
		program { signal: "col,10"; source: MODGRID_UI; action: STATE_SET "default" 0.10; target: "clip"; }
		program { signal: "col,11"; source: MODGRID_UI; action: STATE_SET "default" 0.11; target: "clip"; }
		program { signal: "col,12"; source: MODGRID_UI; action: STATE_SET "default" 0.12; target: "clip"; }
		program { signal: "col,13"; source: MODGRID_UI; action: STATE_SET "default" 0.13; target: "clip"; }
		program { signal: "col,14"; source: MODGRID_UI; action: STATE_SET "default" 0.14; target: "clip"; }
		program { signal: "col,15"; source: MODGRID_UI; action: STATE_SET "default" 0.15; target: "clip"; }
		program { signal: "col,16"; source: MODGRID_UI; action: STATE_SET "default" 0.16; target: "clip"; }
		program { signal: "col,17"; source: MODGRID_UI; action: STATE_SET "default" 0.17; target: "clip"; }
		program { signal: "col,18"; source: MODGRID_UI; action: STATE_SET "default" 0.18; target: "clip"; }
		program { signal: "col,19"; source: MODGRID_UI; action: STATE_SET "default" 0.19; target: "clip"; }
		program { signal: "col,20"; source: MODGRID_UI; action: STATE_SET "default" 0.20; target: "clip"; }
	}
}