[Small popup (Selectioninfo)] NBeat Theme ver-0.8 implementation.
authorPrince Kr Dubey <prince.dubey@samsung.com>
Mon, 28 Feb 2011 13:35:10 +0000 (19:05 +0530)
committerPrince Kr Dubey <prince.dubey@samsung.com>
Mon, 28 Feb 2011 13:35:10 +0000 (19:05 +0530)
Change-Id: I440894c2103c103535418e49d6bf8d33d528380b

themes/groups/selectioninfo.edc

index d9389e3..40032d6 100644 (file)
@@ -4,8 +4,8 @@
  * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
  *
  * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, 
- *             Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>, 
- *             Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
+ *       Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>, 
+ *      Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
  * 
  * This library is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  */
 
 group { 
-       name: "elm/selectioninfo/base/default";
-               
-       parts {
-               part { 
-                       name: "base";
-                               type: RECT;
-                       mouse_events: 1;
-                        repeat_events: 1;
-                               description { 
-                               state: "default" 0.0;
-                               color: 0 0 0 0;
-                               visible: 0;
-                               rel1.relative: 0.0 0.0;
-                               rel2.relative: 1.0 1.0;
-                               }
-                               description { 
-                               state: "visible" 0.0;
-                               inherit: "default" 0.0;
-                               visible: 1;
-                               }
-               }
-               part { 
-                       name: "elm.swallow.content";
-                               type: SWALLOW;
-                               description { 
-                               state: "default" 0.0;
-                               rel1.to: "base";
-                               rel2.to: "base";
-                               }
-               }
-       }
-       programs {
-               program { 
-                       name: "show";
-                               signal: "elm,action,show";
-                               source: "elm";
-                               action: STATE_SET "visible" 0.0;
-                               target: "base";
-               }
-               program { 
-                       name: "show_2";
-                       signal: "show";
-                       action: STATE_SET "visible" 0.0;
-                       target: "base";
-               }
-               program { 
-                       name: "hide";
-                               signal: "elm,action,hide";
-                               source: "elm";
-                               action: STATE_SET "default" 0.0;
-                               target: "base";
-               }
-               }
+   name: "elm/selectioninfo/base/default";
+   parts {
+      part { name: "base";
+         type: RECT;
+         mouse_events: 1;
+         repeat_events: 1;
+         description { 
+            state: "default" 0.0;
+            color: 0 0 0 0;
+            visible: 0;
+             rel1.relative: 0.0 0.0;
+             rel2.relative: 1.0 1.0;
+         }
+         description { 
+            state: "visible" 0.0;
+            inherit: "default" 0.0;
+            visible: 1;
+         }
+      }
+      part { 
+         name: "elm.swallow.content";
+         type: SWALLOW;
+         description { 
+            state: "default" 0.0;
+            rel1.to: "base";
+            rel2.to: "base";
+         }
+      }
+   }
+   programs {
+      program { name: "show";
+         signal: "elm,action,show";
+         source: "elm";
+         action: STATE_SET "visible" 0.0;
+         target: "base";
+      }
+      program { name: "show_2";
+         signal: "show";
+         action: STATE_SET "visible" 0.0;
+         target: "base";
+      }
+      program { name: "hide";
+         signal: "elm,action,hide";
+         source: "elm";
+         action: STATE_SET "default" 0.0;
+         target: "base";
+      }
+   }
 }
 
-group {
-        name: "elm/standard/selectioninfo/bottom_12";
-
-        images {
-                image : "00_list_alert_popup_bg.png" COMP;
-        }
-
-        parts {
-                part {
-                        name: "bg";
-                        type: RECT;
-                       mouse_events: 1;
-                        repeat_events: 1;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                                min: 464 82; // 464, 66+4+12
-                                fixed: 1 1;
-                                align: 0.5 1.0;
-                               rel1.relative: 0.5 1.0;
-                                rel2.relative: 0.5 1.0;
-                                color: 0 0 0 0;
-                        }
-                }
-
-               part {
-                        name: "base";
-                        type: RECT;
-                        mouse_events: 1;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                                min: 0 66;
-                                fixed: 0 1;
-                                align: 0.5 0.0;
-                                rel1 { relative: 0.0 0.0; to: "bg"; }
-                                rel2 { relative: 1.0 0.0; to: "bg"; }
-                               color: 0 0 0 0;
-                        }
-                }
-
-                part {
-                        name: "elm.icon";
-                        type: IMAGE;
-                       mouse_events: 0;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                                align: 0.5 0.0;
-                                rel1 { relative: 0.0 0.0; to: "base"; }
-                                rel2 { relative: 1.0 1.0; to: "base"; }
-                                image.normal: "00_list_alert_popup_bg.png";
-                                image.border: 11 12 11 16;
-                                image.border_scale: 1;
-                        }
-                }
-
-                part {
-                        name: "elm.text";
-                        type: TEXT;
-                       mouse_events: 0;
-                        scale: 1;
-                        description {
-                                state: "default" 0.0;
-                                align: 0.5 0.5;
-                                rel1 { relative: 0.0 0.0; to: "elm.icon"; }
-                                rel2 { relative: 1.0 1.0; to: "elm.icon"; }
-                                color: 255 255 255 255;
-                                text {
-                                        font: "SLP";
-                                        size: 24;
-                                        text: "";
-                                        align: 0.5 0.5;
-                                }
-                        }
-                }
-        }
-
-       programs {
-                program {
-                        name: "clicked";
-                        signal: "mouse,clicked,1";
-                        source: "base";
-                        action: SIGNAL_EMIT "elm,action,click" "";
-                }
-       }
+group { name: "elm/standard/selectioninfo/bottom_12";
+   parts {
+      part { name: "bg";
+         type: RECT;
+         mouse_events: 1;
+         repeat_events: 1;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 480 30;
+            fixed: 1 1;
+            align: 0.5 1.0;
+            rel1.relative: 0.5 1.0;
+            rel2.relative: 0.5 1.0;
+            color: 217 147 26 255;
+         }
+      }
+      part { name: "left_padding";
+         type: RECT;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 10 30;
+            fixed: 1 1;
+            align: 0.5 0.0;
+            rel1 { relative: 0.0 0.0; to: "bg"; }
+            rel2 { relative: 0.0 1.0; to: "bg"; }
+            color: 0 0 0 0;
+         }
+      }
+      part {
+         name: "elm.text";
+         type: TEXT;
+         mouse_events: 0;
+         scale: 1;
+         description {
+            state: "default" 0.0;
+            align: 0.0 0.5;
+            rel1 { relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg"; }
+            rel2 { relative: 1.0 1.0; to: "bg"; }
+            color: 255 255 255 255;
+            text {
+               font: "SLP";
+               size: 20;
+               text: "";
+               align: 0.0 0.5;
+            }
+         }
+      }
+   }
+   programs {
+      program { name: "clicked";
+         signal: "mouse,clicked,1";
+         source: "base";
+         action: SIGNAL_EMIT "elm,action,click" "";
+      }
+   }
 }
 
-group {
-        name: "elm/standard/selectioninfo/bottom_64";
-
-        images {
-                image : "00_list_alert_popup_bg.png" COMP;
-        }
-
-        parts {
-                part {
-                        name: "bg";
-                        type: RECT;
-                       mouse_events: 1;
-                        repeat_events: 1;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                                min: 464 134; // 464, 66+4+64
-                                fixed: 1 1;
-                                align: 0.5 1.0;
-                                rel1.relative: 0.5 1.0;
-                                rel2.relative: 0.5 1.0;
-                                color: 0 0 0 0;
-                        }
-                }
-
-               part {
-                        name: "base";
-                        type: RECT;
-                       mouse_events: 1;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                                min: 0 66;
-                                fixed: 0 1;
-                                align: 0.5 0.0;
-                                rel1 { relative: 0.0 0.0; to: "bg"; }
-                                rel2 { relative: 1.0 0.0; to: "bg"; }
-                               color: 0 0 0 0;
-                        }
-                }
-
-                part {
-                        name: "elm.icon";
-                        type: IMAGE;
-                       mouse_events: 0;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                               align: 0.5 0.0;
-                                rel1 { relative: 0.0 0.0; to: "base"; }
-                                rel2 { relative: 1.0 1.0; to: "base"; }
-                                image.normal: "00_list_alert_popup_bg.png";
-                                image.border: 11 12 11 16;
-                               image.border_scale: 1;
-                        }
-                }
-
-                part {
-                        name: "elm.text";
-                        type: TEXT;
-                       mouse_events: 0;
-                        scale: 1;
-                        description {
-                                state: "default" 0.0;
-                                align: 0.5 0.5;
-                                rel1 { relative: 0.0 0.0; to: "elm.icon"; }
-                                rel2 { relative: 1.0 1.0; to: "elm.icon"; }
-                                color: 255 255 255 255;
-                                text {
-                                        font: "SLP";
-                                        size: 24;
-                                        text: "";
-                                        align: 0.5 0.5;
-                                }
-                        }
-                }
-        }
-
-       programs {
-                program {
-                        name: "clicked";
-                        signal: "mouse,clicked,1";
-                        source: "base";
-                        action: SIGNAL_EMIT "elm,action,click" "";
-                }
-        }
+group { name: "elm/standard/selectioninfo/bottom_64";
+   parts {
+      part {
+         name: "bg";
+         type: RECT;
+         mouse_events: 1;
+         repeat_events: 1;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 480 94;
+            fixed: 1 1;
+            align: 0.5 1.0;
+            rel1.relative: 0.5 1.0;
+            rel2.relative: 0.5 1.0;
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "base";
+         type: RECT;
+         mouse_events: 1;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 0 30;
+            fixed: 0 1;
+            align: 0.5 0.0;
+            rel1 { relative: 0.0 0.0; to: "bg"; }
+            rel2 { relative: 1.0 30/94; to: "bg"; }
+            color: 217 147 26 255;
+         }
+      }
+      part { name: "left_padding";
+         type: RECT;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 10 30;
+            fixed: 1 1;
+            align: 0.5 0.0;
+            rel1 { relative: 0.0 0.0; to: "base"; }
+            rel2 { relative: 0.0 1.0; to: "base"; }
+            color: 0 0 0 0;
+         }
+      }
+      part {
+         name: "elm.text";
+         type: TEXT;
+         mouse_events: 0;
+         scale: 1;
+         description {
+            state: "default" 0.0;
+            align: 0.0 0.5;
+            rel1 { relative: 1.0 0.0; to_x: "left_padding"; to_y: "base"; }
+            rel2 { relative: 1.0 1.0; to: "base"; }
+            color: 255 255 255 255;
+            text {
+               font: "SLP";
+               size: 20;
+               text: "";
+               align: 0.0 0.5;
+            }
+         }
+      }
+   }
+   programs {
+      program {
+         name: "clicked";
+         signal: "mouse,clicked,1";
+         source: "base";
+         action: SIGNAL_EMIT "elm,action,click" "";
+      }
+   }
 }
 
-group {
-        name: "elm/standard/selectioninfo/bottom_86";
-
-        images {
-                image : "00_list_alert_popup_bg.png" COMP;
-        }
-
-        parts {
-                part {
-                        name: "bg";
-                        type: RECT;
-                       mouse_events: 1;
-                        repeat_events: 1;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                                min: 464 156; // 464, 66+4+86
-                                fixed: 1 1;
-                                align: 0.5 1.0;
-                                rel1.relative: 0.5 1.0;
-                                rel2.relative: 0.5 1.0;
-                                color: 0 0 0 0;
-                        }
-                }
-
-               part {
-                        name: "base";
-                        type: RECT;
-                        mouse_events: 1;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                               min: 0 66;
-                                fixed: 0 1;
-                                align: 0.5 0.0;
-                                rel1 { relative: 0.0 0.0; to: "bg"; }
-                                rel2 { relative: 1.0 0.0; to: "bg"; }
-                               color: 0 0 0 0;
-                        }
-                }
-
-                part {
-                        name: "elm.icon";
-                        type: IMAGE;
-                       mouse_events: 0;
-                        scale : 1;
-                        description {
-                                state: "default" 0.0;
-                                align: 0.5 0.0;
-                                rel1 { relative: 0.0 0.0; to: "base"; }
-                                rel2 { relative: 1.0 1.0; to: "base"; }
-                                image.normal: "00_list_alert_popup_bg.png";
-                                image.border: 11 12 11 16;
-                                image.border_scale:1;
-                        }
-                }
-
-                part {
-                        name: "elm.text";
-                        type: TEXT;
-                       mouse_events: 0;
-                        scale: 1;
-                        description {
-                                state: "default" 0.0;
-                                align: 0.5 0.5;
-                                rel1 { relative: 0.0 0.0; to: "elm.icon"; }
-                                rel2 { relative: 1.0 1.0; to: "elm.icon"; }
-                                color: 255 255 255 255;
-                                text {
-                                        font: "SLP";
-                                        size: 24;
-                                        text: "";
-                                        align: 0.5 0.5;
-                                }
-                        }
-                }
-        }
-
-       programs {
-                program {
-                        name: "clicked";
-                        signal: "mouse,clicked,1";
-                        source: "base";
-                        action: SIGNAL_EMIT "elm,action,click" "";
-                }
-        }
+group { name: "elm/standard/selectioninfo/bottom_86";
+   parts {
+      part {
+         name: "bg";
+         type: RECT;
+         mouse_events: 1;
+         repeat_events: 1;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 480 116;
+            fixed: 1 1;
+            align: 0.5 1.0;
+            rel1.relative: 0.5 1.0;
+            rel2.relative: 0.5 1.0;
+            color: 0 0 0 0;
+         }
+      }
+      part {
+         name: "base";
+         type: RECT;
+         mouse_events: 1;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 0 30;
+            fixed: 0 1;
+            align: 0.5 0.0;
+            rel1 { relative: 0.0 0.0; to: "bg"; }
+            rel2 { relative: 1.0 30/116; to: "bg"; }
+            color: 217 147 26 255;
+         }
+      }
+      part { name: "left_padding";
+         type: RECT;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 10 30;
+            fixed: 1 1;
+            align: 0.5 0.0;
+            rel1 { relative: 0.0 0.0; to: "base"; }
+            rel2 { relative: 0.0 1.0; to: "base"; }
+            color: 0 0 0 0;
+         }
+      }
+      part {
+         name: "elm.text";
+         type: TEXT;
+         mouse_events: 0;
+         scale: 1;
+         description {
+            state: "default" 0.0;
+            align: 0.0 0.5;
+            rel1 { relative: 1.0 0.0; to_x: "left_padding"; to_y: "base"; }
+            rel2 { relative: 1.0 1.0; to: "base"; }
+            color: 255 255 255 255;
+            text {
+               font: "SLP";
+               size: 20;
+               text: "";
+               align: 0.0 0.5;
+            }
+         }
+      }
+   }
+   programs {
+      program {
+         name: "clicked";
+         signal: "mouse,clicked,1";
+         source: "base";
+         action: SIGNAL_EMIT "elm,action,click" "";
+      }
+   }
 }