From 10115251e040939609b5049562f6c8b183995e65 Mon Sep 17 00:00:00 2001 From: Prince Kr Dubey Date: Thu, 21 Apr 2011 18:50:50 +0530 Subject: [PATCH] [selectioninfo] Landscape support added. Change-Id: Iebf244b08be07a8f9b4dbd5e67090e8e247db6ac --- themes/groups/selectioninfo.edc | 234 +++++++++++++++++++++++++++++++++------- 1 file changed, 196 insertions(+), 38 deletions(-) diff --git a/themes/groups/selectioninfo.edc b/themes/groups/selectioninfo.edc index 40032d6..ba701e7 100644 --- a/themes/groups/selectioninfo.edc +++ b/themes/groups/selectioninfo.edc @@ -23,58 +23,217 @@ * */ -group { - name: "elm/selectioninfo/base/default"; +group { name: "elm/standard/selectioninfo/vertical/bottom_12"; parts { - part { name: "base"; + 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/vertical/bottom_64"; + parts { + part { + name: "bg"; type: RECT; mouse_events: 1; repeat_events: 1; - description { + 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; - 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: "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.swallow.content"; - type: SWALLOW; - description { + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; + 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: "show"; - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "base"; + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + } +} + +group { name: "elm/standard/selectioninfo/vertical/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; + } } - program { name: "show_2"; - signal: "show"; - action: STATE_SET "visible" 0.0; - target: "base"; + 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; + } + } } - program { name: "hide"; - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; + } + programs { + program { + name: "clicked"; + signal: "mouse,clicked,1"; + source: "base"; + action: SIGNAL_EMIT "elm,action,click" ""; } } } -group { name: "elm/standard/selectioninfo/bottom_12"; +group { name: "elm/standard/selectioninfo/horizontal/bottom_12"; parts { part { name: "bg"; type: RECT; @@ -83,7 +242,7 @@ group { name: "elm/standard/selectioninfo/bottom_12"; scale : 1; description { state: "default" 0.0; - min: 480 30; + min: 800 30; fixed: 1 1; align: 0.5 1.0; rel1.relative: 0.5 1.0; @@ -133,7 +292,7 @@ group { name: "elm/standard/selectioninfo/bottom_12"; } } -group { name: "elm/standard/selectioninfo/bottom_64"; +group { name: "elm/standard/selectioninfo/horizontal/bottom_64"; parts { part { name: "bg"; @@ -143,7 +302,7 @@ group { name: "elm/standard/selectioninfo/bottom_64"; scale : 1; description { state: "default" 0.0; - min: 480 94; + min: 800 94; fixed: 1 1; align: 0.5 1.0; rel1.relative: 0.5 1.0; @@ -208,7 +367,7 @@ group { name: "elm/standard/selectioninfo/bottom_64"; } } -group { name: "elm/standard/selectioninfo/bottom_86"; +group { name: "elm/standard/selectioninfo/horizontal/bottom_86"; parts { part { name: "bg"; @@ -218,7 +377,7 @@ group { name: "elm/standard/selectioninfo/bottom_86"; scale : 1; description { state: "default" 0.0; - min: 480 116; + min: 800 116; fixed: 1 1; align: 0.5 1.0; rel1.relative: 0.5 1.0; @@ -283,4 +442,3 @@ group { name: "elm/standard/selectioninfo/bottom_86"; } } } - -- 2.7.4