Bundles / res / edje /
data_sink.edc
- #include "../../inc/view_defines.h"
- #include "edc_defines.edc"
- #define IMAGE_SINK_BACKGROUND "../res/images/sink/background2.png"
- #define IMAGE_TITLE_BG "../res/images/sink/image2.png"
- #define IMAGE_HEADER_ICON "../res/images/sink/icon.png"
- #define IMAGE_BUBBLES "../res/images/sink/bubbles.png"
- #define STYLE_TITLE "style,title"
- #define STYLE_DATA "style,data"
- styles {
- style {
- name: STYLE_TITLE;
- base: "font=BreezeSans:style=medium font_size=26 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: STYLE_DATA;
- base: "font=BreezeSans:style=light font_size=26 color=#000000 wrap=mixed align=left valign=top";
- }
- }
- collections {
- images {
- image: IMAGE_SINK_BACKGROUND COMP;
- image: IMAGE_ARROW_DOWN COMP;
- image: IMAGE_ARROW_UP COMP;
- image: IMAGE_TITLE_BG COMP;
- image: IMAGE_HEADER_ICON COMP;
- image: IMAGE_BUBBLES COMP;
- }
- group {
- name: GROUP_SINK;
- parts {
- part {
- name: PART_BACKGROUND;
- type: IMAGE;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- image.normal: IMAGE_SINK_BACKGROUND;
- }
- }
- part {
- name: PART_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.1094;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
- group {
- name: GROUP_TITLE;
- parts {
- part {
- name: PART_BACKGROUND;
- type: IMAGE;
- description {
- state: "default" 0.0;
- min: 0 80;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- image.normal: IMAGE_TITLE_BG;
- }
- }
- part {
- name: PART_ITEM;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0417 0.0;
- rel2.relative: 1.0000 1.0;
- text.style: STYLE_TITLE;
- }
- }
- PART_IMAGE_BTN("", PART_ARROW, 0.9181, 0.3750, 0.9611, 0.5875, IMAGE_ARROW_DOWN, IMAGE_ARROW_UP, 0.9181, 0.9181, 0)
- }
- programs {
- PROGRAM_CHECK(SIGNAL_ARROW_STATE_CHANGE, "", PART_ARROW"_img", "", "")
- }
- }
- group {
- name: GROUP_ITEM;
- parts {
- part {
- name: PART_BACKGROUND;
- type: SPACER;
- description {
- state: "default" 0.0;
- min: 0 65;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: PART_ITEM_KEY_VAL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0417 0.0;
- rel2.relative: 0.5417 1.0;
- text.style: STYLE_DATA;
- }
- }
- part {
- name: PART_ITEM_TYPE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.5417 0.0;
- rel2.relative: 1.0000 1.0;
- text.style: STYLE_DATA;
- }
- }
- part {
- name: PART_BUBBLES;
- type: IMAGE;
- description {
- state: STATE_DEFAULT 0.0;
- rel1.relative: 0.8208 0.0462;
- rel2.relative: 0.9875 0.9538;
- visible: 0;
- image.normal: IMAGE_BUBBLES;
- }
- description {
- state: STATE_VISIBLE 0.0;
- inherit: STATE_DEFAULT 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- signal: SIGNAL_BUBBLES_HIDE;
- source: "";
- action: STATE_SET STATE_VISIBLE 0.0;
- target: PART_BUBBLES;
- }
- }
- }
- group {
- name: GROUP_HEADER;
- parts {
- part {
- name: PART_BACKGROUND;
- type: SPACER;
- description {
- state: "default" 0.0;
- min: 720 80;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: PART_ITEM;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1111 0.0;
- rel2.relative: 1.0000 1.0;
- text.style: STYLE_DATA;
- text.text: "Header data";
- }
- }
- part {
- name: PART_ICON;
- type: IMAGE;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0417 0.3000;
- rel2.relative: 0.0917 0.7500;
- image.normal: IMAGE_HEADER_ICON;
- }
- }
- part {
- name: PART_BUBBLES;
- type: IMAGE;
- description {
- state: "default" 0.0;
- rel1.relative: 0.8208 0.0375;
- rel2.relative: 0.9875 0.7750;
- image.normal: IMAGE_BUBBLES;
- }
- }
- PART_IMAGE_BTN("", PART_ARROW, 0.4347, 0.4125, 0.4778, 0.6250, IMAGE_ARROW_DOWN, IMAGE_ARROW_UP, 0.4347, 0.4347, 0)
- programs {
- PROGRAM_CHECK(SIGNAL_ARROW_STATE_CHANGE, "", PART_ARROW"_img", "", "")
- }
- }
- }
- group {
- name: GROUP_HEADER_DATA;
- parts {
- part {
- name: PART_BACKGROUND;
- type: RECT;
- description {
- state: "default" 0.0;
- min: 0 65;
- rel1.relative: 0.0417 0.0;
- rel2.relative: 1.0000 1.0;
- color: 240 243 245 255;
- }
- }
- part {
- name: PART_ITEM_KEY_VAL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1111 0.0;
- rel2.relative: 0.5417 1.0;
- text.style: STYLE_DATA;
- }
- }
- part {
- name: PART_ITEM_TYPE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.5417 0.0;
- rel2.relative: 1.0000 1.0;
- text.style: STYLE_DATA;
- }
- }
- }
- }
- }