Copy and paste / res / edje /
main.edc
- /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.1 (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 "../../inc/view_defines.h"
- #define PART_MAIN_SINK_BG "main_sink_bg"
- #define IMAGE_FPATH_SINK_BG "../res/images/sink.png"
- collections {
- images {
- image: IMAGE_FPATH_SINK_BG COMP;
- }
- group {
- name: GRP_MAIN;
- parts {
- part {
- name: PART_MAIN_SOURCE;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 1.0 0.5;
- }
- }
- }
- part {
- name: PART_MAIN_SINK_BG;
- type: IMAGE;
- description {
- state: "default" 0.0;
- image {
- normal: IMAGE_FPATH_SINK_BG;
- }
- rel1 {
- relative: 0.0 0.5;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- }
- }
- part {
- name: PART_MAIN_SINK;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.1 0.1;
- to: PART_MAIN_SINK_BG;
- }
- rel2 {
- relative: 0.9 0.9;
- to: PART_MAIN_SINK_BG;
- }
- }
- }
- }
- }
- }