aboutsummaryrefslogtreecommitdiffstats
path: root/data/elementary/themes/edc/efl/pager.edc
blob: 397af0bc59c18aa480add03455f5fe9fa8b800b5 (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
group { "efl/pager";
   parts {
      spacer { "base";
         scale;
         desc { "default";
         }
      }
      swallow { "elm.swallow.background";
         scale;
         desc { "default";
         }
      }
      swallow { "page_root";
         scale;
         desc { "default";
            rel1.relative: 0.0 1.0;
            rel1.to: "indicator";
         }
      }
      swallow { "indicator";
         scale;
         desc { "default";
            rel2.relative: 1.0 0.0;
            align: 0.5 0.0;
            min: 0 50;
         }
      }
      swallow { "event";
         scale;
         repeat_events: 1;
         desc { "default";
         }
      }
   }
}

group { "efl/pager/indicator";
   images {
      image: "ring_white_middle.png" COMP;
   }
   parts {
      spacer { "base";
         scale;
         desc { "default";
         }
      }
      image { "icon";
         scale;
         desc { "default";
            image.normal: "ring_white_middle.png";
            color: 0 0 0 255;
            min: 6 6;
         }
         desc { "selected";
            inherit: "default";
            color: 255 0 0 255;
         }
      }
   }
   script {
      public message(Msg_Type:type, id, ...) {
         set_tween_state(PART:"icon", getfarg(2),
                         "default", 0.0, "selected", 0.0);
      }
   }
}