aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/conf.edc
blob: 1d277aa118f4c7375a4d84aeffdf32f223f58361 (plain) (blame)
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
group { name: "e/widgets/configure/main";
   images.image: "bevel_dark_out.png" COMP;
   images.image: "separator_horiz.png" COMP;
   parts {
      part { name: "base"; type: RECT;
         description { state: "default" 0.0;
            color_class: "dialog_base";
            color: 64 64 64 255;
         }
      }
      part { name: "bevel";
         description { state: "default" 0.0;
            image.normal: "bevel_dark_out.png";
            image.border: 1 1 1 1;
            image.middle: 0;
            fill.smooth: 0;
         }
      }
      part { name: "separator"; mouse_events: 0;
         description { state: "default" 0.0;
            min: 16 2;
            max: 99999 2;
            rel1.relative: 0.0 1.0;
            rel1.offset: 0 0;
            rel1.to_y: "e.swallow.content";
            rel2.relative: 1.0 0.0;
            rel2.offset: -1 -1;
            rel2.to_y: "e.swallow.button";
            image.normal: "separator_horiz.png";
            fill.smooth: 0;
            fixed: 0 1;
         }
      }
      part { name: "e.swallow.content"; type: SWALLOW;
         description { state: "default" 0.0;
            rel1.offset: 4 4;
            rel1.to_x: "base";
            rel2.relative: 1.0 0.0;
            rel2.offset: -5 -8;
            rel2.to_y: "e.swallow.button";
         }
      }
      part { name: "e.swallow.button"; type: SWALLOW;
         description { state: "default" 0.0;
            align: 0.5 1.0;
            rel1.relative: 0.5 1.0;
            rel1.offset: 0 -5;
            rel2.relative: 0.5 1.0;
            rel2.offset: -1 -5;
            fixed: 1 1;
         }
      }
   }
}

group { name: "e/modules/conf/main";
   images.image: "button_normal.png" COMP;
   images.image: "button_clicked.png" COMP;
   images.image: "spanner_inset.png" COMP;
   images.image: "spanner_hilight.png" COMP;
   images.image: "spanner_glow.png" COMP;
   min: 16 16;
   max: 80 80;
   parts {
      part { name: "base";
         description { state: "default" 0.0;
            image.normal: "button_normal.png";
            image.border: 4 4 3 5;
            image.middle: SOLID;
            rel1.offset: -1 0;
            rel2.offset: 0 1;
            fill.smooth: 0;
         }
         description { state: "clicked" 0.0;
            inherit: "default" 0.0;
            image.normal: "button_clicked.png";
            image.border: 5 5 4 6;
         }
      }
      part { name: "spanner_hilight"; mouse_events: 0;
         description { state: "default" 0.0;
            aspect: 1.0 1.0; aspect_preference: BOTH;
            max: 80 80;
            rel1.offset: 0 1;
            rel1.to: "spanner";
            rel2.offset: -1 0;
            rel2.to: "spanner";
            image.normal: "spanner_hilight.png";
         }
      }
      part { name: "spanner"; mouse_events: 0;
         description { state: "default" 0.0;
            aspect: 1.0 1.0; aspect_preference: BOTH;
            max: 80 80;
            rel1.offset: 4 4;
            rel2.offset: -5 -5;
            image.normal: "spanner_inset.png";
         }
      }
      part { name: "spanner_glow"; mouse_events: 0;
         description { state: "default" 0.0;
            aspect: 1.0 1.0; aspect_preference: BOTH;
            max: 80 80;
            rel1.to: "spanner";
            rel2.to: "spanner";
            image.normal: "spanner_glow.png";
            visible: 0;
         }
         description { state: "clicked" 0.0;
            inherit: "default" 0.0;
            visible: 1;
         }
      }
   }
   programs {
      program {
         signal: "mouse,down,1"; source: "base";
         action: STATE_SET "clicked" 0.0;
         target: "base";
      }
      program {
         signal: "mouse,up,1"; source: "base";
         action: STATE_SET "default" 0.0;
         target: "base";
         target: "spanner_glow";
      }
      program {
         signal: "mouse,clicked,1*"; source: "base";
         action: SIGNAL_EMIT "e,action,conf" "";
      }
      program {
         signal: "mouse,in"; source: "base";
         action: STATE_SET "clicked" 0.0;
         target: "spanner_glow";
      }
      program {
         signal: "mouse,out"; source: "base";
         action: STATE_SET "default" 0.0;
         target: "spanner_glow";
      }
   }
}