summaryrefslogtreecommitdiff
path: root/edc/style_slider_camera.edc
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 21:50:31 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 21:50:31 +0900
commit0b1815f45d90af24f41e164be6c8311cfdaa0679 (patch)
tree6530933377b9fe9f13b03a7b0917898a7912fa60 /edc/style_slider_camera.edc
parenta5fc9778671c3deb42b00dc54362f22545c274a0 (diff)
downloadug-camera-efl-0b1815f45d90af24f41e164be6c8311cfdaa0679.tar.gz
ug-camera-efl-0b1815f45d90af24f41e164be6c8311cfdaa0679.tar.bz2
ug-camera-efl-0b1815f45d90af24f41e164be6c8311cfdaa0679.zip
Diffstat (limited to 'edc/style_slider_camera.edc')
-rwxr-xr-xedc/style_slider_camera.edc488
1 files changed, 488 insertions, 0 deletions
diff --git a/edc/style_slider_camera.edc b/edc/style_slider_camera.edc
new file mode 100755
index 0000000..57cac35
--- /dev/null
+++ b/edc/style_slider_camera.edc
@@ -0,0 +1,488 @@
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * 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.
+ */
+
+
+#include "../include/edc_image_name.h"
+#include "style_tizen_hd_inc.edc"
+
+images {
+ image: SLIDER_BAR_IMAGE COMP;
+ image: SLIDER_BAR_VER_IMAGE COMP;
+ image: SLIDER_HANDLER_IMAGE COMP;
+}
+
+collections {
+
+ group {
+ name: "elm/slider/vertical/camera";
+
+ parts {
+ part {
+ name: "base";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ max: 20 99999;
+ min: 6 0;
+ rel1 { to: "bg"; offset: 0 0; }
+ rel2 { to: "bg"; offset: -1 -1; }
+ image.normal: SLIDER_BAR_IMAGE;
+ fill.smooth: 0;
+ }
+ }
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 20 58;
+ max: 20 9999;
+ align: 0.5 1.0;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1 { offset: 0 4; to_x: "elm.swallow.bar"; }
+ rel2 { offset: -1 3; relative: 1.0 0.0; to_x: "elm.swallow.bar"; }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ rel2.offset: -1 4;
+ }
+ }
+ part {
+ name: "elm.swallow.end";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.5 1.0;
+ rel1 { offset: 0 -4; relative: 0.0 1.0; to_x: "elm.swallow.bar"; }
+ rel2 { offset: -1 -3; to_x: "elm.swallow.bar"; }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: HORIZONTAL;
+ rel2.offset: -1 -4;
+ }
+ }
+ part {
+ name: "elm.dragable.slider";
+ type: GROUP;
+ source: "elm/slider/vertical/indicator/camera";
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "bg";
+ }
+ description {
+ state: "default" 0.0;
+ min: 20 20;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: SLIDER_DISABLER_PART_COLOR_INC;
+ visible: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ after: "disable_ind";
+ }
+ program {
+ name: "disable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
+ }
+ program {
+ name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ after: "enable_ind";
+ }
+ program {
+ name: "enable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
+ }
+ }
+ }
+
+ group {
+ name: "elm/slider/vertical/indicator/camera";
+
+ parts {
+ part {
+ name: "button_events";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 60 60;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "button0";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 60 60;
+ image {
+ normal: SLIDER_HANDLER_IMAGE;
+ }
+ fill.smooth: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button0";
+ }
+ program {
+ name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button0";
+ }
+ }
+ }
+
+/*hor edc*/
+/////////////////////////////////////////////////////////////////
+ group {
+ name: "elm/slider/horizontal/camera";
+
+ parts {
+ part {
+ name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 6;
+ max: 99999 20;
+ rel1 { to: "bg"; offset: 0 0; }
+ rel2 { to: "bg"; offset: -1 -1; }
+ image.normal: SLIDER_BAR_VER_IMAGE;
+ fill.smooth: 0;
+ }
+ }
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "elm.swallow.bar";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 58 20;
+ max: 99999 20;
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 { to_y: "elm.swallow.bar"; }
+ rel2 { relative: 0.0 1.0; to_y: "elm.swallow.bar"; }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+ part {
+ name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1 { relative: 1.0 0.0; to_y: "elm.swallow.bar"; }
+ rel2 { relative: 1.0 1.0; to_y: "elm.swallow.bar"; }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ }
+ }
+
+ part {
+ name: "elm.dragable.slider";
+ type: GROUP;
+ source: "elm/slider/horizontal/indicator/camera";
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "bg";
+ }
+ description {
+ state: "default" 0.0;
+ min: 20 20;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: SLIDER_DISABLER_PART_COLOR_INC;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+
+ programs {
+ program {
+ name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ name: "end_show";
+ signal: "elm,state,end,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ name: "end_hide";
+ signal: "elm,state,end,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ after: "disable_ind";
+ }
+ program {
+ name: "disable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
+ }
+ program {
+ name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ after: "enable_ind";
+ }
+ program {
+ name: "enable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
+ }
+ }
+ }
+
+ group {
+ name: "elm/slider/horizontal/indicator/camera";
+
+ parts {
+ part {
+ name: "button_events";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 60 60;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "button0";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 60 60;
+ image {
+ normal: SLIDER_HANDLER_IMAGE;
+ }
+ fill.smooth: 0;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ }
+ programs {
+ program { name: "slider_disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button0";
+ }
+ program { name: "slider_enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button0";
+ }
+ }
+ }
+}
+
+//end file
+