initial draft of the org.tizen.video-player
[apps/core/preloaded/video-player.git] / res / edc / add_tag.edc
index 160c0d0..c045ecb 100755 (executable)
@@ -1,38 +1,21 @@
-/*
- * Copyright 2012  Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.tizenopensource.org/license
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
 collections {
        group {
                name: "favorite";
                parts {
                        part {
                                name: "background";
-                               type, RECT;
+                               type, RECT;     
                                mouse_events: 0;
                                description {
-                               state: "default" 0.0;
+                               state: "default" 0.0;              
                                rel1 { relative: 0.0 0.0; offset: 0 0; }
                                rel2 { relative: 1.0 1.0; offset: -1 -1; }
                                color, 0 0 0 255 ;
                            }
                        }
-
+                       
                        part {
-                               name: "selectall_bg";
+                               name: "selectall_bg";   
                                type: RECT;
                                mouse_events: 0;
                                scale: 1;
@@ -53,7 +36,7 @@ collections {
                                        visible: 1;
                                }
                        }
-
+       
                part {
                        name: "selectall_check_leftpadding";
                        type: RECT;
@@ -64,7 +47,7 @@ collections {
                                min: 15 0;
                                fixed: 1 0;
                                align: 0.0 0.0;
-
+                                       
                                color: 0 0 0 255;
                                visible: 0;
                                rel1 { relative: 0.0 0.0; to: "selectall_bg"; }
@@ -89,13 +72,13 @@ collections {
                                rel1 { relative: 1.0 0.0; to: "selectall_check_leftpadding"; }
                                rel2 { relative: 1.0 1.0; to: "selectall_check_leftpadding"; }
                                visible : 0;
-
+                                                                               
                        }
                        description {
                                state: "visible" 0.0;
                                inherit: "default" 0.0;
                                visible: 1;
-                       }
+                       }                                                                       
                }
 
                part {
@@ -143,7 +126,7 @@ collections {
                                state: "visible" 0.0;
                                inherit: "default" 0.0;
                                visible: 1;
-                       }
+                       }       
                }
 
                part {
@@ -166,7 +149,7 @@ collections {
                                inherit: "default" 0.0;
                        }
                }
-
+               
 
                // tab style container
                part {
@@ -179,7 +162,7 @@ collections {
                        }
                }
 
-               // tool style container.
+               // tool style container. 
                part {
                        name: "elm.swallow.toolbar_bg";
                        type: RECT;
@@ -196,8 +179,8 @@ collections {
 
                        }
                }
-
-               // tool style container.
+               
+               // tool style container. 
                part {
                        name: "elm.swallow.toolbar";
                        type: SWALLOW;
@@ -217,31 +200,31 @@ collections {
                                state: "moveup" 0.0;
                                //min: 0 86;
                                min: 0 50;
-                               fixed: 1 1;
+                               fixed: 1 1;                                     
                                //align: 0.5 1.0;
-                               align: 0.5 0.0;
-                               rel1 { relative: 0.0 0.0; offset: 5 0;}
+                               align: 0.5 0.0;                 
+                               rel1 { relative: 0.0 0.0; offset: 5 0;}                                                 
                                rel2 { relative: 1.0 0.0; offset: -5 50;}
 
                        }
                        description {
                                state: "moveup_progressbar" 0.0;
                                min: 0 62;
-                               fixed: 1 1;
+                               fixed: 1 1;                                     
                                align: 0.5 0.0;
                                rel1 { relative: 0.0 0.0;}
                                rel2 { relative: 1.0 0.0; offset: 0 62;}
 
                        }
                }
-
+               
                // view container. This is used, when tool items is added.
                part {
                        name: "elm.swallow.view";
                        type: SWALLOW;
-                       mouse_events: 1;
+                       mouse_events: 1;                        
                        description {
-                               state: "default" 0.0;
+                               state: "default" 0.0;                   
                                rel1 { relative: 0.0 0.0;}
                                rel2 { relative: 1.0 0.0; to: "elm.swallow.toolbar";}
 
@@ -266,22 +249,22 @@ collections {
 
                part {
                        name: "view_bg";
-                       type: SWALLOW;
+                       type: SWALLOW;     
                        mouse_events: 1;
-                       repeat_events: 1;
+                       repeat_events: 1;                                       
                        description {
-                       state: "default" 0.0;
+                       state: "default" 0.0;              
                        rel1 { relative: 0.0 0.0; offset: 0 0; to: "elm.swallow.view";}
                        rel2 { relative: 1.0 1.0; offset: 0 0; to: "elm.swallow.view";}
                        }
-                       description {
+                       description { 
                                state: "disabled" 0.0;
                 inherit: "default" 0.0;
                                visible: 0;
             }
                }
        }//GROUP
-
        programs {
                program {
                        name: "swallow_view_default";
@@ -307,7 +290,7 @@ collections {
                        source: "elm";
                        script {
                                set_state(PART:"elm.swallow.toolbar", "moveup", 0.0); //move toolbar up
-                               set_state(PART:"elm.swallow.view", "moveup_toolbar", 0.0);
+                               set_state(PART:"elm.swallow.view", "moveup_toolbar", 0.0); 
                        }
                }
                program {
@@ -316,9 +299,9 @@ collections {
                        source: "elm";
                        script {
                    set_state(PART:"elm.swallow.toolbar", "moveup_progressbar", 0.0); //move toolbar+progressbar up
-                               set_state(PART:"elm.swallow.view", "moveup_toolbar_progressbar", 0.0);
+                               set_state(PART:"elm.swallow.view", "moveup_toolbar_progressbar", 0.0); 
                        }
-               }
+               }                        
                program {
                        name: "view_bg_default";
                        signal: "elm,view,bg,state,default";
@@ -345,7 +328,7 @@ collections {
                        target: "selectall_check";
                        target: "selectall_check_rightpadding";
                        target: "selectall_text";
-                       target: "selectall_inner";
+                       target: "selectall_inner";                                                                      
                }
                program {
                        name: "selectall_hide";
@@ -358,6 +341,6 @@ collections {
                        target: "selectall_check_rightpadding";
                        target: "selectall_text";
                        target: "selectall_inner";
-               }
+               } 
        }//PROGRAMS
 } /* collections */