aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/appmenu.edc
blob: 7b3134695dc3549fd14a48bbcb6ebeed2e7a84ef (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
group { name: "e/modules/appmenu/item";
   images.image: "vgrad_med_dark.png" COMP;
   data.item: "padding_horizontal" "5";
   data.item: "padding_vertical" "5";
   parts {
      part {
         name: "event_area";
         type: RECT;
         mouse_events: 1;
         description {
            state: "default" 0.0;
            color: 0 0 0 0;
         }
      }
      part {
         name: "background";
         type: IMAGE;
         mouse_events: 0;
         description {
            state: "default" 0.0;
            image.normal: "vgrad_med_dark.png";
            fill.smooth: 0;
            TILED_HORIZ(120)
            visible: 0;
         }
         description {
            state: "selected" 0.0;
            inherit: "default" 0.0;
            visible: 1;
         }
      }
      part {
         name: "text";
         type: TEXT;
         mouse_events: 0;
         effect: SHADOW BOTTOM;
         scale: 1;
         description {
            state: "default" 0.0;
            rel1.offset: 2 2;
            rel2.offset: -3 -3;
            color: FN_COL_DEFAULT;
            text {
               font: FN;
               size: 10;
               min: 1 1;
               ellipsis: -1;
               align: 0.5 0.5;
               text_class: "label";
            }
         }
         description {
            state: "selected" 0.0;
            inherit: "default" 0.0;
            color: FN_COL_HIGHLIGHT;
         }
      }
   }
   programs {
      program {
         signal: "mouse,in";
         source: "event_area";
         action: STATE_SET "selected" 0.0;
         target: "background";
         target: "text";
      }
      program {
         signal: "mouse,out";
         source: "event_area";
         action: STATE_SET "default" 0.0;
         target: "background";
         target: "text";
      }
   }
}