diff options
Diffstat (limited to 'mobile/widgets')
-rw-r--r-- | mobile/widgets/win.edc | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/mobile/widgets/win.edc b/mobile/widgets/win.edc index ccd9abe3..35579e25 100644 --- a/mobile/widgets/win.edc +++ b/mobile/widgets/win.edc @@ -99,3 +99,97 @@ group { name: "elm/win/base/default"; // } } + +group { name: "elm/win/inwin/default"; + images { + image: "toast_popup.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + } + } + part { name: "pop"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + image { + normal: "toast_popup.png"; + border: INWIN_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.content.padding.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 0 0; + rel1 { + to: "pop"; + relative: 0.0 0.0; + } + rel2 { + to: "pop"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.content.padding.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 1 1; + rel1 { + to: "pop"; + relative: 1.0 1.0; + } + rel2 { + to: "pop"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.content.padding.left"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.content.padding.right"; + relative: 0.0 0.0; + } + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + |