summaryrefslogtreecommitdiff
path: root/main/layout/ivug-slider.edc
diff options
context:
space:
mode:
Diffstat (limited to 'main/layout/ivug-slider.edc')
-rwxr-xr-xmain/layout/ivug-slider.edc79
1 files changed, 40 insertions, 39 deletions
diff --git a/main/layout/ivug-slider.edc b/main/layout/ivug-slider.edc
index ea0c0b7..0e3aafa 100755
--- a/main/layout/ivug-slider.edc
+++ b/main/layout/ivug-slider.edc
@@ -1,19 +1,18 @@
-/*
- * 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://www.tizenopensource.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.
- */
-
+/*
+ * 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://www.tizenopensource.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.
+ */
// slider layout
@@ -24,6 +23,7 @@ group {
images {
image: "T01_btn_play.png" COMP;
+ image: "T01_btn_paused.png" COMP;
}
parts {
@@ -41,7 +41,7 @@ group {
}
}
- part { name: "slider.photocam";
+ part { name: "slider.contents";
type: SWALLOW;
mouse_events: 1;
scale: 1;
@@ -72,28 +72,28 @@ group {
}
}
-
+#if 1
part { name: "slider.icon";
- type: IMAGE;
+ type: SWALLOW;
mouse_events: 1;
scale: 1;
description {
state: "default" 0.0;
- align: 0.5 0.5;
+ align: 0.5 0.5;
visible: 0;
- fixed: 1 1;
- max: 72 72;
+ fixed: 1 1;
+ max: 72 72;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
- image.normal: "T01_btn_play.png";
}
description {
- state: "show" 0.0;
- inherit: "default" 0.0;
+ state: "show" 0.0;
+ inherit: "default" 0.0;
visible: 1;
}
}
+#endif
part { name: "slider.progress";
type: SWALLOW;
@@ -135,44 +135,45 @@ group {
}
program {
- name: "show_icon";
- signal: "elm,state,show_icon";
+ name: "show_progress";
+ signal: "elm,state,show,progress";
source: "slider";
action: STATE_SET "show" 0.0;
- target: "slider.icon";
+ target: "slider.progress";
}
program {
- name: "hide_icon";
- signal: "elm,state,hide_icon";
+ name: "hide_progress";
+ signal: "elm,state,hide,progress";
source: "slider";
action: STATE_SET "default" 0.0;
- target: "slider.icon";
+ target: "slider.progress";
}
-
+#if 1
program {
- name: "show_progress";
- signal: "elm,state,show,progress";
+ name: "show_icon";
+ signal: "elm,state,show_icon";
source: "slider";
action: STATE_SET "show" 0.0;
- target: "slider.progress";
+ target: "slider.icon";
}
program {
- name: "hide_progress";
- signal: "elm,state,hide,progress";
+ name: "hide_icon";
+ signal: "elm,state,hide_icon";
source: "slider";
action: STATE_SET "default" 0.0;
- target: "slider.progress";
+ target: "slider.icon";
}
+
program {
name: "icon_click";
signal: "mouse,clicked,1";
source: "slider.icon";
action: SIGNAL_EMIT "slider,icon,click" "";
}
-
+#endif
}//programs
} //group