[focus highlight] Default focus highlight image is added.
[platform/core/uifw/efl-theme-tizen.git] / themes / tizen.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19
20 // LICENSE NOTE:
21 // This file (and only this one) is licenses under public-domain. The reason
22 // is that this is meant to serve as a template for making your own themes and
23 // Elementary's LGPL license is not intended to follow. The images used do come
24 // under LGPL, but this file specifically for the structure of your theme is
25 // public-domain. This means you can take, use, re-license and otherwise
26 // have zero restrictions on using this file as a base for your theme.
27
28 // theme configuration file for each theme (tizen, tizen-black, ...)
29 #include "inc/tmp-inc.edc"
30
31 #define INDICATOR_H             27
32 #define CONTROLBAR_LARGE_H              78
33 #define CONTROLBAR_SMALL_H              65
34 #define CONTROLBAR_W                    78
35 #define SOFTKEY_H               72
36 #define SEGMENT_H               50
37 #define PART_RECT(NAME, REFER_PART, COLOR) \
38    part { name: NAME; \
39       type: RECT; \
40       description { state: "default" 0.0; \
41          rel1.to: REFER_PART; \
42          rel2.to: REFER_PART; \
43          color: COLOR; \
44       } \
45    }
46
47 externals {
48    external: "elm";
49 }
50
51 collections {
52 #include "widgets/access.edc"
53 #include "widgets/actionslider.edc"
54 #include "widgets/badge.edc"
55 #include "widgets/bg.edc"
56 #include "widgets/bubble.edc"
57 #include "widgets/button.edc"
58 #include "widgets/calendar.edc"
59 #include "widgets/check.edc"
60 #include "widgets/colorselector.edc"
61 #include "widgets/conformant.edc"
62 #include "widgets/ctxpopup.edc"
63 #include "widgets/datetime.edc"
64 #include "widgets/dayselector.edc"
65 #include "widgets/diskselector.edc"
66 #include "widgets/editfield.edc"
67 #include "widgets/entry.edc"
68 #include "widgets/gengrid.edc"
69 #include "widgets/scroller.edc"
70 #include "widgets/genlist/genlist.edc" // include scroller first
71 #include "widgets/index.edc"
72 #include "widgets/label.edc"
73 #include "widgets/layout.edc"
74 #include "widgets/map.edc"
75 #include "widgets/multibuttonentry.edc"
76 //#include "widgets/multisense_ui.edc"
77 #include "widgets/naviframe.edc"
78 #include "widgets/notify.edc"
79 #include "widgets/panes.edc"
80 #include "widgets/photocam.edc"
81 #include "widgets/popup.edc"
82 #include "widgets/progressbar.edc"
83 #include "widgets/radio.edc"
84 #include "widgets/segmentedcontrol.edc"
85 #include "widgets/selectioninfo.edc"
86 #include "widgets/slider.edc"
87 #include "widgets/tickernoti.edc"
88 #include "widgets/toggle.edc"
89 #include "widgets/toolbar.edc"
90
91
92    group { name: "elm/focus_highlight/top/default";
93       images {
94          image: "00_focus.png" COMP;
95       }
96       data {
97          item: "animate" "off";
98       }
99       parts {
100          part { name: "base";
101             type: RECT;
102             repeat_events: 1;
103             description { state: "default" 0.0;
104                rel1.relative: 0.0 0.0;
105                rel2.relative: 1.0 1.0;
106                visible: 0;
107             }
108          }
109          part { name: "shine";
110             type: IMAGE;
111             mouse_events: 0;
112             repeat_events: 1;
113             ignore_flags: ON_HOLD;
114             description { state: "default" 0.0;
115                visible: 0;
116                image {
117                   normal: "00_focus.png";
118                   border: 7 7 7 7;
119                }
120             }
121             description { state: "show" 0.0;
122                inherit:  "default" 0.0;
123                visible: 1;
124             }
125          }
126       }
127       programs {
128          program { name: "show";
129             signal: "elm,action,focus,show";
130             source: "elm";
131             action: STATE_SET "show" 0.0;
132             target: "shine";
133             after: "show_end";
134          }
135          program { name: "show_end";
136             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
137          }
138          program { name: "hide";
139             signal: "elm,action,focus,hide";
140             source: "elm";
141             action: STATE_SET "default" 0.0;
142             target: "shine";
143             after: "hide_end";
144          }
145          program { name: "hide_end";
146             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
147          }
148       }
149    }
150
151 /*
152 sounds{
153         sound : "drag-start.wav" 0 100;
154         sound :"drag-accept.wav" 0 100;
155         sound :"button-pressed.wav" 0 100;
156         sound :"Waterdrop.wav" 0 100;
157 }
158
159 haptics{
160     haptic {
161       name:"1_haptic" ;
162       magnitude: 8000 ;
163       duration: 120 ;
164       attack_level: 123 ;
165       attack_time: 122 ;
166       fade_level: 16 ;
167      fade_time: 12 ;
168      type: MAGSWEEP ;
169      pattern:"01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
170    }
171    haptic{
172         name: "2_haptic" ;
173         magnitude: 10000 ;
174         duration: 12 ;
175         attack_level: 123 ;
176         attack_time: 120 ;
177         fade_level: 16 ;
178         fade_time: 12 ;
179         type: MAGSWEEP ;
180         pattern: "01,00,03,00,38,00,42,00,00,00,19,00,21,00,F1,E0,01,E2,00,00,F1, E0, 02, E2, 01,1D,F1,E0,01,E2,03,BA,F1,E0,02,E2,04,E0,FF,20,17,00,00,7F,D1,2F,81,30,00,00,F4,01,00,00,00,20,1F,00,00,40,01,96,41,00,00,00,12,00,24,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,20,00,23,00,31,00,00,00" ;
181    }
182 }
183 */
184
185 }
186