Added new winset styles (2.2.2.38-2.2.2.44) according to the GUI Guide 1.8
[profile/ivi/efl-theme-tizen.git] / themes / widgets / bubble.edc
index 55a9ada..20959e8 100644 (file)
@@ -1,17 +1,18 @@
 /*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved 
  *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
+ * PROPRIETARY/CONFIDENTIAL
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  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.
+ * This software is the confidential and proprietary information of SAMSUNG
+ * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
+ * software is owned by Samsung and you shall not disclose such Confidential
+ * Information and shall use it only in accordance with the terms of the license
+ * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
+ * representations or warranties about the suitability of the software, either
+ * express or implied, including but not limited to the implied warranties of
+ * merchantability, fitness for a particular purpose, or non-infringement.
+ * SAMSUNG shall not be liable for any damages suffered by licensee arising out
+ * of or releated to this software.
  *
  */
 
@@ -25,8 +26,8 @@
 #define BUBBLE_ICON_PAD                6
 
 images {
-       image: "07_message_bubble_readmessage.png" COMP;
-       image: "07_message_bubble_sentmessage.png" COMP;
+       image: "00_MessageBubble_BG_receive.png" COMP;
+       image: "00_MessageBubble_BG_send.png" COMP;
 }
 
 // deprecated style
@@ -155,6 +156,7 @@ group {
                                        size: 14;
                                        min: 1 0;
                                        align: 0.0 0.5;
+                                       text_class: "slp_roman";
                                }
                                color: 76 75 73 255;
                                rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; }
@@ -176,7 +178,7 @@ group {
                                rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
                                rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
                                image {
-                                       normal: "07_message_bubble_readmessage.png";
+                                       normal: "00_MessageBubble_BG_receive.png";
                                        border: 1 11 7 12;
                                        border_scale: 1;
                                }
@@ -422,6 +424,7 @@ group {
                                        size: 14;
                                        min: 1 0;
                                        align: 0.0 0.5;
+                                       text_class: "slp_roman";
                                }
                                color: 76 75 73 255;
                                rel1 { relative: 0.0 0.0; to: "elm.rect.right.pad"; }
@@ -443,7 +446,7 @@ group {
                                rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
                                rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
                                image {
-                                       normal: "07_message_bubble_sentmessage.png";
+                                       normal: "00_MessageBubble_BG_send.png";
                                        border: 11 1 7 12;
                                        border_scale: 1;
                                }
@@ -654,38 +657,67 @@ group {
                }
             }
          }
-         part { name: "elm.swallow.button1";
+         part { name: "elm.padding.contents";
+            type: RECT;
+            scale: 1;
+            description { state: "default" 0.0;
+               align: 0.0 0.0;
+               fixed: 1 1;
+               visible: 0;
+               rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
+               rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
+            }
+         }
+         part { name: "elm.swallow.icon1";
             clip_to: "disclip";
             type: SWALLOW;
             scale: 1;
             description { state: "default" 0.0;
-               align: 0.0 1.0;
+               min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+               max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+               align: 0.0 0.0;
                fixed: 1 1;
-               rel1 { relative: 0.80 0.80; to_y: "elm.icon"; }
-               rel2 { relative: 0.88 0.95; to_y: "elm.icon"; }
+               visible: 0;
+               rel1 { relative: 0.0223 1.00; to_y: "elm.padding.contents"; }
+               rel2 { relative: 0.0223 1.00; }
+            }
+            description { state: "contents_on" 0.0;
+               inherit: "default" 0.0;
+               visible: 1;
             }
          }
-         part { name: "elm.swallow.button2";
+         part { name: "elm.swallow.icon2";
             clip_to: "disclip";
             type: SWALLOW;
             scale: 1;
             description { state: "default" 0.0;
-               align: 0.0 1.0;
+               min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+               max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+               align: 0.0 0.0;
                fixed: 1 1;
-               rel1 { relative: 0.89 0.80; to_y: "elm.icon"; }
-               rel2 { relative: 0.97 0.95; to_y: "elm.icon"; }
+               visible: 0;
+               rel1 { relative: 1.0 1.00; to_x: "elm.swallow.icon1"; to_y: "elm.padding.contents"; }
+               rel2 { relative: 1.0 1.00; }
+            }
+            description { state: "contents_on" 0.0;
+               inherit: "default" 0.0;
+               visible: 1;
             }
          }
          part { name: "elm.padding.bottom";
-              type: RECT;
-              scale: 1;
-              description { state: "default" 0.0;
-                 min: 0 GENLIST_PADDING_24_INC;
-                 fixed: 0 1;
-                 visible: 0;
-                 rel1.relative: 0.0 1.0;
-                 align: 0.0 1.0;
-              }
+            type: RECT;
+            scale: 1;
+            description { state: "default" 0.0;
+               min: 0 GENLIST_PADDING_24_INC;
+               fixed: 0 1;
+               visible: 0;
+               rel1.relative: 0.0 1.0;
+               align: 0.0 1.0;
+            }
+            description { state: "contents_on" 0.0;
+               inherit: "default" 0.0;
+               min: 0 GENLIST_PADDING_88_INC;
+            }
          }
          part { name: "disclip";
              type: RECT;
@@ -715,7 +747,7 @@ group {
             source: "elm";
             action: STATE_SET "default" 0.0;
             //transition: DECELERATE 0.7;
-           target: "elm.swallow.select_icon";
+            target: "elm.swallow.select_icon";
             target: "elm.icon";
          }
          program { name: "go_selectview";
@@ -726,6 +758,22 @@ group {
             target: "elm.swallow.select_icon";
             target: "elm.icon";
          }
+         program { name: "go_contents_on";
+            signal: "elm,state,contents,enabled";
+            source: "elm";
+            action: STATE_SET "contents_on" 0.0;
+            target: "elm.swallow.icon1";
+            target: "elm.swallow.icon2";
+            target: "elm.padding.bottom";
+         }
+         program { name: "go_contents_off";
+            signal: "elm,state,contents,disabled";
+            source: "elm";
+            action: STATE_SET "default" 0.0;
+            target: "elm.swallow.icon1";
+            target: "elm.swallow.icon2";
+            target: "elm.padding.bottom";
+         }
       }
    }
 
@@ -815,40 +863,67 @@ group {
                }
             }
          }
-         part { name: "elm.swallow.button1";
+         part { name: "elm.padding.contents";
+            type: RECT;
+            scale: 1;
+            description { state: "default" 0.0;
+               align: 0.0 0.0;
+               fixed: 1 1;
+               visible: 0;
+               rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
+               rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
+            }
+         }
+         part { name: "elm.swallow.icon1";
             clip_to: "disclip";
             type: SWALLOW;
             scale: 1;
             description { state: "default" 0.0;
-               align: 0.0 1.0;
+               min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+               max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+               align: 1.0 0.0;
                fixed: 1 1;
-               max: 40 40;
-               rel1 { relative: 0.03 0.80; to_y: "elm.icon"; }
-               rel2 { relative: 0.11 0.95; to_y: "elm.icon"; }
+               visible: 0;
+               rel1 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; to_y: "elm.padding.contents"; }
+               rel2 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; }
+            }
+            description { state: "contents_on" 0.0;
+               inherit: "default" 0.0;
+               visible: 1;
             }
          }
-         part { name: "elm.swallow.button2";
+         part { name: "elm.swallow.icon2";
             clip_to: "disclip";
             type: SWALLOW;
             scale: 1;
             description { state: "default" 0.0;
-               align: 0.0 1.0;
+               min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+               max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
+               align: 1.0 0.0;
                fixed: 1 1;
-               max: 40 40;
-               rel1 { relative: 0.12 0.80; to_y: "elm.icon"; }
-               rel2 { relative: 0.20 0.95; to_y: "elm.icon"; }
+               visible: 0;
+               rel1 { relative: 0.9777 1.00; to_y: "elm.padding.contents"; }
+               rel2 { relative: 0.9777 1.00; }
+            }
+            description { state: "contents_on" 0.0;
+               inherit: "default" 0.0;
+               visible: 1;
             }
          }
          part { name: "elm.padding.bottom";
-              type: RECT;
-              scale: 1;
-              description { state: "default" 0.0;
-                 min: 0 GENLIST_PADDING_24_INC;
-                 fixed: 0 1;
-                 visible: 0;
-                 rel1.relative: 0.0 1.0;
-                 align: 0.0 1.0;
-              }
+            type: RECT;
+            scale: 1;
+            description { state: "default" 0.0;
+               min: 0 GENLIST_PADDING_24_INC;
+               fixed: 0 1;
+               visible: 0;
+               rel1.relative: 0.0 1.0;
+               align: 0.0 1.0;
+            }
+            description { state: "contents_on" 0.0;
+               inherit: "default" 0.0;
+               min: 0 GENLIST_PADDING_88_INC;
+            }
          }
          part { name: "disclip";
              type: RECT;
@@ -889,6 +964,35 @@ group {
             target: "elm.swallow.select_icon";
             target: "elm.icon";
          }
+         program { name: "go_contents_on";
+            signal: "elm,state,contents,enabled";
+            source: "elm";
+            action: STATE_SET "contents_on" 0.0;
+            target: "elm.swallow.icon1";
+            target: "elm.swallow.icon2";
+            target: "elm.padding.bottom";
+         }
+         program { name: "go_contents_off";
+            signal: "elm,state,contents,disabled";
+            source: "elm";
+            action: STATE_SET "default" 0.0;
+            target: "elm.swallow.icon1";
+            target: "elm.swallow.icon2";
+            target: "elm.padding.bottom";
+         }
+      }
+   }
+
+   group { name: "elm/layout/bubble/seperator/default";
+      parts {
+         part { name: "base";
+            type: RECT;
+            repeat_events: 1;
+            description { state: "default" 0.0;
+               min: 0 GENLIST_PADDING_24_INC;
+               color: 0 0 0 0;
+            }
+         }
       }
    }