File: cursors.edc

package info (click to toggle)
elementary 0.7.0.55225-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,856 kB
  • sloc: ansic: 71,870; sh: 10,138; makefile: 822
file content (80 lines) | stat: -rw-r--r-- 1,843 bytes parent folder | download
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
/////////////////////////////////////////////////////////////////////////////
// CURSOR
/////////////////////////////////////////////////////////////////////////////
collections {
   group { name: "elm/cursor/hand2/default";
       min: 30 30;
       max: 30 30;
       data {
           item: "hot_x" "0";
           item: "hot_y" "0";
       }
      parts {
         part { name: "base";
            type: RECT;
            mouse_events: 0;
            description { state: "default" 0.0;
               color: 0 255 0 255;
            }
         }
      }
   }

   group { name: "elm/cursor/hand3/default";
       min: 30 30;
       max: 30 30;
       data {
           item: "hot_x" "0";
           item: "hot_y" "0";
       }
      parts {
         part { name: "base";
            type: RECT;
            mouse_events: 0;
            description { state: "default" 0.0;
               color: 255 0 0 255;
            }
            description { state: "blue" 0.0;
               color: 0 0 255 255;
            }
         }
      }
      programs {
	 program { name: "load";
	    signal: "load";
	    source: "";
            after: "go_blue";
         }
	 program { name: "go_blue";
	    action: STATE_SET "blue" 0.0;
	    transition: LINEAR 1;
	    target: "base";
	    after: "go_red";
	 }
	 program { name: "go_red";
	    action: STATE_SET "default" 0.0;
	    transition: LINEAR 1;
	    target: "base";
	    after: "go_blue";
	 }
      }
   }

   group { name: "elm/cursor/hand3/transparent";
       min: 30 30;
       max: 30 30;
       data {
           item: "hot_x" "0";
           item: "hot_y" "0";
       }
      parts {
         part { name: "base";
            type: RECT;
            mouse_events: 0;
            description { state: "default" 0.0;
               color: 255 0 0 120;
            }
         }
      }
   }
}