[SelectionInfo] default style created, which can be used as layout theme for
authorPrince Kr Dubey <prince.dubey@samsung.com>
Tue, 24 Jan 2012 13:08:28 +0000 (18:38 +0530)
committerPrince Kr Dubey <prince.dubey@samsung.com>
Fri, 27 Jan 2012 09:31:52 +0000 (15:01 +0530)
selectioninfo. No elm_notify is required. For more info see elm-demo-slp.

Change-Id: I3e68b40b3347d354805ab082d8d9fe3758be1130

themes/widgets/selectioninfo.edc

index 597a9f2..c5d12a2 100644 (file)
  *
  */
 
+group { name: "elm/standard/selectioninfo/default";
+   parts {
+      part { name: "bg";
+         type: RECT;
+         scale : 1;
+         description {
+            state: "default" 0.0;
+            min: 0 SELECTION_INFO_VER_PADDING_INC;
+            fixed: 0 1;
+            align: 0.5 1.0;
+            rel1.relative: 0.0 1.0;
+            color: SELECTION_INFO_BACKGROUND_COLOR_INC;
+         }
+      }
+      part {
+         name: "elm.text";
+         type: TEXT;
+         mouse_events: 0;
+         scale: 1;
+         description {
+            state: "default" 0.0;
+            rel1.to: "bg";
+            rel2.to: "bg";
+            color: SELECTION_INFO_TEXT_COLOR_INC;
+            text {
+               font: "SLP";
+               size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+               text: "";
+            }
+         }
+      }
+   }
+   programs {
+      program { name: "clicked";
+         signal: "mouse,clicked,1";
+         source: "bg";
+         action: SIGNAL_EMIT "elm,action,click" "";
+      }
+   }
+}
+
 group { name: "elm/standard/selectioninfo/vertical/bottom_12";
    parts {
       part { name: "bg";
          type: RECT;
-         mouse_events: 1;
-         repeat_events: 1;
          scale : 1;
          description {
             state: "default" 0.0;