1 #define GENLIST_PART_DISCLIP \
2 part { name: "disclip"; \
4 description { state: "default" 0.0; \
6 description { state: "disabled" 0.0; \
7 inherit: "default" 0.0; \
8 color: 255 255 255 110; \
12 #define GENLIST_PART_FLIP \
13 part { name: "elm.flip.icon"; \
17 description { state: "default" 0.0; \
24 to_x: "elm.padding.right"; \
28 to_x: "elm.padding.right"; \
31 description { state: "flip_enabled" 0.0; \
32 inherit: "default" 0.0; \
36 part { name: "elm.flip.content"; \
40 description { state: "default" 0.0; \
45 to_x: "elm.padding.left"; \
49 to_x: "elm.flip.icon"; \
52 description { state: "flip_enabled" 0.0; \
53 inherit: "default" 0.0; \
59 #define GENLIST_PROGRAM_FLIP_2TEXT_1ICON \
60 program { name: "flip_enabled"; \
61 signal: "elm,state,flip,enabled"; \
63 action: STATE_SET "flip_enabled" 0.0; \
64 target: "elm.text.1"; \
65 target: "elm.text.2"; \
67 target: "elm.flip.content"; \
69 program { name: "flip_disabled"; \
70 signal: "elm,state,flip,disabled"; \
72 action: STATE_SET "default" 0.0; \
73 target: "elm.text.1"; \
74 target: "elm.text.2"; \
76 target: "elm.flip.content"; \
79 #define GENLIST_PROGRAM_FLIP_1TEXT \
80 program { name: "flip_enabled"; \
81 signal: "elm,state,flip,enabled"; \
83 action: STATE_SET "flip_enabled" 0.0; \
85 target: "elm.flip.content"; \
87 program { name: "flip_disabled"; \
88 signal: "elm,state,flip,disabled"; \
90 action: STATE_SET "default" 0.0; \
92 target: "elm.flip.content"; \
97 //////////////////////////////////////////////////////////////////////////////
99 name: "elm/genlist/item/1text.custom/default";
100 alias: "elm/genlist/item_odd/1text.custom/default";
101 alias: "elm/genlist/item_compress/1text.custom/default";
102 alias: "elm/genlist/item_compress_odd/itext.custom/default";
103 data.item: "stacking" "above";
104 data.item: "selectraise" "on";
105 data.item: "flips" "elm.flip.icon elm.flip.content";
106 data.item: "treesize" 26;
107 data.item: "texts" "elm.text";
108 data.item: "contents" "elm.icon.edit";
117 state: "default" 0.0;
119 color: 0 0 0 0; // 2nd depth color
120 //color: 153 176 195 255; // 2nd depth color
130 state: "default" 0.0;
132 //color: 153 176 195 255;
135 state: "selected" 0.0;
136 color: 42 137 194 255;
145 state: "default" 0.0;
149 color: 169 169 169 255;
157 name: "elm.padding.top";
161 state: "default" 0.0;
165 rel2.relative: 1.0 0.0;
170 name: "elm.padding.bottom";
174 state: "default" 0.0;
178 rel1.relative: 0.0 1.0;
183 name: "elm.padding.left";
187 state: "default" 0.0;
191 rel2.relative: 0.0 1.0;
196 name: "elm.padding.right";
200 state: "default" 0.0;
204 rel1.relative: 1.0 0.0;
216 state: "default" 0.0;
221 to_x: "elm.padding.left";
222 to_y: "elm.padding.top";
226 to_x: "elm.padding.right";
227 to_y: "elm.padding.top";
232 font: "SLP:style=Roman";
236 text_class: "list_item";
240 state: "selected" 0.0;
241 inherit: "default" 0.0;
242 color: 249 249 249 255;
245 state: "flip_enabled" 0.0;
246 inherit: "default" 0.0;
254 // signal: elm,state,%s,active
255 // a "check" item named %s went active
256 // signal: elm,state,%s,passive
257 // a "check" item named %s went passive
258 // default is passive
261 signal: "elm,state,selected";
263 action: STATE_SET "selected" 0.0;
269 signal: "elm,state,unselected";
271 action: STATE_SET "default" 0.0;
274 transition: LINEAR 0.1;
278 signal: "elm,state,disabled";
280 action: STATE_SET "disabled" 0.0;
283 program { name: "go_enabled";
284 signal: "elm,state,enabled";
286 action: STATE_SET "default" 0.0;
289 GENLIST_PROGRAM_FLIP_1TEXT
293 name: "elm/genlist/item/2text.1icon.2.custom/default";
294 alias: "elm/genlist/item_odd/2text.1icon.2.custom/default";
295 alias: "elm/genlist/item_compress/2text.1icon.2.custom/default";
296 alias: "elm/genlist/item_compress_odd/2text.1icon.2.custom/default";
297 data.item: "stacking" "above";
298 data.item: "selectraise" "on";
299 data.item: "texts" "elm.text.1 elm.text.2";
300 data.item: "contents" "elm.icon";
301 data.item: "flips" "elm.flip.content";
310 state: "default" 0.0;
312 color: 0 0 0 0; // 2nd depth color
313 //color: 153 176 195 255; // 2nd depth color
323 state: "default" 0.0;
325 //color: 153 176 195 255;
328 state: "selected" 0.0;
329 color: 42 137 194 255;
338 state: "default" 0.0;
342 color: 169 169 169 255;
350 name: "elm.padding.top";
354 state: "default" 0.0;
358 rel2.relative: 1.0 0.0;
363 name: "elm.padding.bottom";
367 state: "default" 0.0;
371 rel1.relative: 0.0 1.0;
376 name: "elm.padding.left";
380 state: "default" 0.0;
384 rel2.relative: 0.0 1.0;
389 name: "elm.padding.right";
393 state: "default" 0.0;
397 rel1.relative: 1.0 0.0;
407 state: "default" 0.0;
411 to_x: "elm.padding.right";
412 to_y: "elm.padding.top";
416 to_x: "elm.padding.right";
417 to_y: "elm.padding.bottom";
422 state: "flip_enabled" 0.0;
423 inherit: "default" 0.0;
428 name: "elm.padding.icon.left";
433 state: "default" 0.0;
436 rel1.to_x: "elm.icon";
452 state: "default" 0.0;
457 to_x: "elm.padding.left";
458 to_y: "elm.padding.top";
462 to_x: "elm.padding.icon.left";
463 to_y: "elm.padding.top";
468 font: "SLP:style=Roman";
472 text_class: "list_item";
476 state: "selected" 0.0;
477 inherit: "default" 0.0;
478 color: 249 249 249 255;
481 state: "flip_enabled" 0.0;
482 inherit: "default" 0.0;
492 description { state: "default" 0.0;
495 to_x: "elm.padding.left";
500 to_x: "elm.padding.icon.left";
501 to_y: "elm.padding.bottom";
504 color: 124 124 124 255;
506 font: "SLP:style=Medium";
510 text_class: "slp_medium";
514 state: "selected" 0.0;
515 inherit: "default" 0.0;
516 color: 249 249 249 255;
519 state: "flip_enabled" 0.0;
520 inherit: "default" 0.0;
524 state: "flip_enabled" 0.0;
525 inherit: "default" 0.0;
533 // signal: elm,state,%s,active
534 // a "check" item named %s went active
535 // signal: elm,state,%s,passive
536 // a "check" item named %s went passive
537 // default is passive
540 signal: "elm,state,selected";
542 action: STATE_SET "selected" 0.0;
544 target: "elm.text.1";
545 target: "elm.text.2";
549 signal: "elm,state,unselected";
551 action: STATE_SET "default" 0.0;
553 target: "elm.text.1";
554 target: "elm.text.2";
555 transition: LINEAR 0.1;
559 signal: "elm,state,disabled";
561 action: STATE_SET "disabled" 0.0;
564 program { name: "go_enabled";
565 signal: "elm,state,enabled";
567 action: STATE_SET "default" 0.0;
570 GENLIST_PROGRAM_FLIP_2TEXT_1ICON