From 540be134b4aea260f07232216af57d742cb4e8d0 Mon Sep 17 00:00:00 2001 From: Prince Kr Dubey Date: Tue, 24 Jan 2012 18:38:28 +0530 Subject: [PATCH] [SelectionInfo] default style created, which can be used as layout theme for selectioninfo. No elm_notify is required. For more info see elm-demo-slp. Change-Id: I3e68b40b3347d354805ab082d8d9fe3758be1130 --- themes/widgets/selectioninfo.edc | 43 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/themes/widgets/selectioninfo.edc b/themes/widgets/selectioninfo.edc index 597a9f2..c5d12a2 100644 --- a/themes/widgets/selectioninfo.edc +++ b/themes/widgets/selectioninfo.edc @@ -16,12 +16,51 @@ * */ +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; -- 2.7.4