[Check] Fix check on&off NABI Issue(N_SE-43254)
[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 TIZEN_TMP_INC
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    sounds {
53       sample {
54          name: "touch_sound" RAW;
55          source: "Tizen_Touch.wav";
56       }
57    }
58    sounds {
59       sample {
60          name: "sweep_sound" RAW;
61          source: "Slider_sweep.wav";
62       }
63    }
64    sounds {
65       sample {
66          name: "reorder_sound" RAW;
67          source: "List_reorder.wav";
68       }
69    }
70 #include "widgets/access.edc"
71 #include "widgets/badge.edc"
72 #include "widgets/bg.edc"
73 #include "widgets/bubble.edc"
74 #include "widgets/button.edc"
75 #include "widgets/check.edc"
76 #include "widgets/colorselector.edc"
77 #include "widgets/conformant.edc"
78 #include "widgets/ctxpopup.edc"
79 #include "widgets/datetime.edc"
80 #include "widgets/diskselector.edc"
81 #include "widgets/editfield.edc"
82 #include "widgets/entry.edc"
83 #include "widgets/gengrid.edc"
84 #include "widgets/scroller.edc"
85 #include "widgets/genlist/genlist.edc" // include scroller first
86 #include "widgets/index.edc"
87 #include "widgets/label.edc"
88 #include "widgets/layout.edc"
89 #include "widgets/map.edc"
90 #include "widgets/multibuttonentry.edc"
91 #include "widgets/naviframe.edc"
92 #include "widgets/notify.edc"
93 #include "widgets/panes.edc"
94 #include "widgets/photocam.edc"
95 #include "widgets/popup.edc"
96 #include "widgets/progressbar.edc"
97 #include "widgets/radio.edc"
98 #include "widgets/segmentedcontrol.edc"
99 #include "widgets/selectioninfo.edc"
100 #include "widgets/slider.edc"
101 #include "widgets/tickernoti.edc"
102 #include "widgets/toolbar.edc"
103
104
105    group { name: "elm/focus_highlight/top/default";
106       images {
107          image: "00_focus.png" COMP;
108       }
109       data {
110          item: "animate" "off";
111       }
112       parts {
113          part { name: "base";
114             type: RECT;
115             repeat_events: 1;
116             description { state: "default" 0.0;
117                rel1.relative: 0.0 0.0;
118                rel2.relative: 1.0 1.0;
119                visible: 0;
120             }
121          }
122          part { name: "shine";
123             type: IMAGE;
124             mouse_events: 0;
125             repeat_events: 1;
126             ignore_flags: ON_HOLD;
127             scale: 1;
128             description { state: "default" 0.0;
129                visible: 0;
130                rel1.offset: -4 -4;
131                rel2.offset: 4 4;
132                image {
133                   normal: "00_focus.png";
134                   border: 7 7 7 7;
135                   border_scale: 1;
136                }
137             }
138             description { state: "show" 0.0;
139                inherit:  "default" 0.0;
140                visible: 1;
141             }
142          }
143       }
144       programs {
145          program { name: "show";
146             signal: "elm,action,focus,show";
147             source: "elm";
148             action: STATE_SET "show" 0.0;
149             target: "shine";
150             after: "show_end";
151          }
152          program { name: "show_end";
153             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
154          }
155          program { name: "hide";
156             signal: "elm,action,focus,hide";
157             source: "elm";
158             action: STATE_SET "default" 0.0;
159             target: "shine";
160             after: "hide_end";
161          }
162          program { name: "hide_end";
163             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
164          }
165       }
166    }
167 }
168