diff options
Diffstat (limited to '2.3-mobile/widgets_default/bubble.edc')
-rw-r--r-- | 2.3-mobile/widgets_default/bubble.edc | 903 |
1 files changed, 903 insertions, 0 deletions
diff --git a/2.3-mobile/widgets_default/bubble.edc b/2.3-mobile/widgets_default/bubble.edc new file mode 100644 index 00000000..42a36ce5 --- /dev/null +++ b/2.3-mobile/widgets_default/bubble.edc @@ -0,0 +1,903 @@ +group { name: "elm/bubble/top_left/default"; + alias: "elm/bubble/base/default"; + images { + image: "whitetheme/bubble_3.png" COMP; + image: "whitetheme/bubble_4.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.padding.swallow.icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 0.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 0.0; + max: BUBBLE_PADDING_HEIGHT BUBBLE_PADDING_HEIGHT; + rel1 { + to: "elm.padding.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.swallow.icon"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.elm.text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + rel2 { + to_y: "elm.padding.elm.text"; + to_x: "elm.info"; + relative: 0.0 0.5; + } + color: 0 0 0 255; + text { + font: "SLP:style=Bold"; + size: BUBBLE_TITLE_TEXT_SIZE_INC; + min: 0 1; + max: 0 1; + align: 0.0 0.0; + } + } + } + part { name: "elm.padding.elm.info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to_y: "elm.text"; + relative: 1.0 0.0; + } + rel2 { + to_y: "elm.text"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "elm.padding.elm.info"; + relative: 1.0 0.5; + } + rel2 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + color: BUBBLE_INFO_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: BUBBLE_INFO_TEXT_SIZE_INC; + min: 1 1; + max: 1 1; + align: 1.0 0.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + } + image { + normal: "whitetheme/bubble_3.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/bubble_4.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "base0"; + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_TOP_TOP_HEIGHT_INC; + fixed: 1 1; + align: 0 0; + rel2 { + to: "base0"; + relative: 0 0; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "base0"; + relative: 1 1; + } + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_TOP_BOTTOM_HEIGHT_INC; + fixed: 1 1; + align: 1 1; + rel2.to: "base0"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.padding.text.left"; + rel1.relative: 1 1; + rel2.to: "elm.padding.text.right"; + rel2.relative: 0 0; + } + } + } + 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: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} + +group { name: "elm/bubble/top_right/default"; + images { + image: "whitetheme/bubble_3.png" COMP; + image: "whitetheme/bubble_4.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.padding.swallow.icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 0.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 0.0; + max: BUBBLE_PADDING_HEIGHT BUBBLE_PADDING_HEIGHT; + rel1 { + to: "elm.padding.swallow.icon"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.swallow.icon"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.elm.text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 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; + fixed: 0 1; + rel1 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + rel2 { + to_y: "elm.padding.elm.text"; + to_x: "elm.info"; + relative: 0.0 0.5; + } + color: 0 0 0 255; + text { + font: "SLP:style=Bold"; + size: BUBBLE_TITLE_TEXT_SIZE_INC; + min: 0 1; + max: 0 1; + align: 0.0 0.0; + } + } + } + part { name: "elm.padding.elm.info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.icon"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + rel2 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + color: BUBBLE_INFO_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: BUBBLE_INFO_TEXT_SIZE_INC; + min: 1 1; + max: 1 1; + align: 1.0 0.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_y: "elm.swallow.icon"; + relative: 0.0 1.0; + } + image { + normal: "whitetheme/bubble_4.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/bubble_3.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base0"; + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_TOP_TOP_HEIGHT_INC; + fixed: 1 1; + align: 0 0; + rel2 { + to: "base0"; + relative: 0 0; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "base0"; + relative: 1 1; + } + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_TOP_BOTTOM_HEIGHT_INC; + fixed: 1 1; + align: 1 1; + rel2.to: "base0"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.padding.text.left"; + rel1.relative: 1 1; + rel2.to: "elm.padding.text.right"; + rel2.relative: 0 0; + } + } + } + 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: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} + +group { name: "elm/bubble/bottom_left/default"; + images { + image: "whitetheme/bubble_1.png" COMP; + image: "whitetheme/bubble_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.padding.swallow.icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 1.0; + rel1 { + relative: 0.0 1.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 0.0 0.0; + max: BUBBLE_PADDING_HEIGHT BUBBLE_PADDING_HEIGHT; + rel1 { + to: "elm.padding.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.swallow.icon"; + relative: 1.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.elm.text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 1.0 0.0; + } + rel2 { + relative: 0.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + rel2 { + to_y: "elm.padding.elm.text"; + to_x: "elm.info"; + relative: 0.0 0.5; + } + color: 0 0 0 255; + text { + font: "SLP:style=Bold"; + size: BUBBLE_TITLE_TEXT_SIZE_INC; + min: 0 1; + max: 0 1; + align: 0.0 1.0; + } + } + } + part { name: "elm.padding.elm.info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "base0"; + relative: 1.0 1.0; + } + rel2 { + to: "base0"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + rel2 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + color: BUBBLE_INFO_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: BUBBLE_INFO_TEXT_SIZE_INC; + min: 1 1; + max: 1 1; + align: 1.0 1.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel2 { + to_y: "elm.swallow.icon"; + relative: 1.0 0.0; + } + image { + normal: "whitetheme/bubble_1.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/bubble_2.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base0"; + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_BOTTOM_TOP_HEIGHT_INC; + fixed: 1 1; + align: 0 0; + rel2 { + to: "base0"; + relative: 0 0; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "base0"; + relative: 1 1; + } + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_BOTTOM_BOTTOM_HEIGHT_INC; + fixed: 1 1; + align: 1 1; + rel2.to: "base0"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.padding.text.left"; + rel1.relative: 1 1; + rel2.to: "elm.padding.text.right"; + rel2.relative: 0 0; + } + } + } + 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: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} + +group { name: "elm/bubble/bottom_right/default"; + images { + image: "whitetheme/bubble_1.png" COMP; + image: "whitetheme/bubble_2.png" COMP; + } + parts { + part { name: "event"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "elm.padding.swallow.icon"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 1.0; + rel1 { + relative: 1.0 1.0; + } + rel2 { + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.icon"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 1; + visible: 0; + align: 1.0 0.0; + max: BUBBLE_PADDING_HEIGHT BUBBLE_PADDING_HEIGHT; + rel1 { + to: "elm.padding.swallow.icon"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.swallow.icon"; + relative: 0.0 1.0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "elm.padding.elm.text"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 0.0 0.0; + rel1 { + to_y: "base0"; + relative: 0.0 1.0; + } + rel2 { + to_y: "base0"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 0 1; + rel1 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + rel2 { + to: "elm.padding.elm.text"; + relative: 1.0 0.5; + } + color: 0 0 0 255; + text { + font: "SLP:style=Bold"; + size: BUBBLE_TITLE_TEXT_SIZE_INC; + min: 0 1; + max: 0 1; + align: 0.0 1.0; + } + } + } + part { name: "elm.padding.elm.info"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + max: BUBBLE_PADDING_WIDTH BUBBLE_PADDING_HEIGHT; + fixed: 1 1; + align: 1.0 0.0; + rel1 { + to: "elm.swallow.icon"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.swallow.icon"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.info"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_y: "elm.padding.elm.info"; + relative: 1.0 0.5; + } + rel2 { + to: "elm.padding.elm.info"; + relative: 0.0 0.5; + } + color: BUBBLE_INFO_TEXT_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: BUBBLE_INFO_TEXT_SIZE_INC; + min: 1 1; + max: 1 1; + align: 1.0 1.0; + } + } + } + part { name: "base0"; + mouse_events: 0; + scale: 1; + type: IMAGE; + description { state: "default" 0.0; + rel2 { + to_y: "elm.swallow.icon"; + relative: 1.0 0.0; + } + image { + normal: "whitetheme/bubble_2.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + description { state: "rtl" 0.0; + inherit: "default" 0.0; + image { + normal: "whitetheme/bubble_1.png"; + border: BUBBLE_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.padding.text.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base0"; + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_BOTTOM_TOP_HEIGHT_INC; + fixed: 1 1; + align: 0 0; + rel2 { + to: "base0"; + relative: 0 0; + } + } + } + part { name: "elm.padding.text.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "base0"; + relative: 1 1; + } + min: BUBBLE_PADDING_TEXT_WIDTH_INC BUBBLE_PADDING_TEXT_BOTTOM_BOTTOM_HEIGHT_INC; + fixed: 1 1; + align: 1 1; + rel2.to: "base0"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "elm.padding.text.left"; + rel1.relative: 1 1; + rel2.to: "elm.padding.text.right"; + rel2.relative: 0 0; + } + } + } + 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: "to_rtl"; + signal: "edje,state,rtl"; + source: "edje"; + action: STATE_SET "rtl" 0.0; + target: "base0"; + } + program { name: "to_ltr"; + signal: "edje,state,ltr"; + source: "edje"; + action: STATE_SET "default" 0.0; + target: "base0"; + } + } +} |