diff options
author | Youngbok Shin <youngb.shin@samsung.com> | 2018-07-13 14:54:35 +0900 |
---|---|---|
committer | Youngbok Shin <youngb.shin@samsung.com> | 2018-08-07 14:16:16 +0900 |
commit | 974778860e985299fa2cd3ddc46fd4cfb88f282a (patch) | |
tree | 7881d7689af3cf7c2d742bbb457cb21d3ba4f3ee | |
parent | 071db8c27da682fa1866bfd9a9d9198b3dd9e3d8 (diff) | |
download | efl-theme-tizen-mobile-974778860e985299fa2cd3ddc46fd4cfb88f282a.tar.gz efl-theme-tizen-mobile-974778860e985299fa2cd3ddc46fd4cfb88f282a.tar.bz2 efl-theme-tizen-mobile-974778860e985299fa2cd3ddc46fd4cfb88f282a.zip |
fileselector, progressbar, icon: copy old legacy themes for supporting backward compatsubmit/tizen/20180809.091324accepted/tizen/unified/20180813.061317
Change-Id: I8f41c79ef83a00c7eafd88924ab6c8891447212b
40 files changed, 643 insertions, 0 deletions
diff --git a/mobile/HD-inc.edc b/mobile/HD-inc.edc index 3a286c24..7a1264a2 100644 --- a/mobile/HD-inc.edc +++ b/mobile/HD-inc.edc @@ -855,6 +855,33 @@ #define CALENDAR_DATE_TEXT_SIZE 40 //****************************************************************************// +// Fileselector +//****************************************************************************// +#define FILESELECTOR_SEPARATOR_SIZE 48 48 +#define FILESELECTOR_COLOR_TRANSPARENT 0 0 0 0 +#define FILESELECTOR_COLOR_VISIBLE 255 255 255 255 +#define FILESELECTOR_DEFAULT_BG_COLOR 248 246 239 255 +#define FILESELECTOR_DEFAULT_BG_TOP_HEIGHT 99 +#define FILESELECTOR_DEFAULT_BG_BOTTOM_HEIGHT 90 +#define FILESELECTOR_DEFAULT_SHADOW_HEIGHT 20 +#define FILESELECTOR_DEFAULT_SHADOW_BORDER 1 1 0 0 +#define FILESELECTOR_DEFAULT_PADDING_DEFAULT_SIZE 10 +#define FILESELECTOR_DEFAULT_PADDING_TOP_BUTTON_LEFT_TOP 10 10 +#define FILESELECTOR_DEFAULT_PADDING_PATH_BG_HEIGHT 84 +#define FILESELECTOR_DEFAULT_PADDING_PATH_BG_BORDER 1 1 29 29 +#define FILESELECTOR_DEFAULT_PADDING_PATH_BG_BOTTOM 20 +#define FILESELECTOR_DEFAULT_PADDING_PATH_LEFT_TOP 36 12 +#define FILESELECTOR_DEFAULT_PADDING_PATH_RIGHT_BOTTOM 36 12 +#define FILESELECTOR_DEFAULT_PADDING_FILENAME_LEFT 36 +#define FILESELECTOR_DEFAULT_PADDING_FILENAME_RIGHT 36 +#define FILESELECTOR_DEFAULT_PADDING_FILENAME_BOTTOM 20 +#define FILESELECTOR_DEFAULT_PADDING_BOTTOM_BUTTON_RIGHT_BOTTOM 10 10 +#define FILESELECTOR_DEFAULT_BOTTOM_BUTTON_SIZE 220 74 +#define FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 10 +#define FILESELECTOR_FILES_LIST_SIZE 112 + + +//****************************************************************************// // Flipselector //****************************************************************************// #define FLIPSELECTOR_BASE_SIZE_INC 204 270 diff --git a/mobile/HD/images/Old/default_fileselector/file_selector_entry.png b/mobile/HD/images/Old/default_fileselector/file_selector_entry.png Binary files differnew file mode 100644 index 00000000..60af3571 --- /dev/null +++ b/mobile/HD/images/Old/default_fileselector/file_selector_entry.png diff --git a/mobile/HD/images/Old/default_fileselector/file_selector_root_bg.png b/mobile/HD/images/Old/default_fileselector/file_selector_root_bg.png Binary files differnew file mode 100644 index 00000000..5e780b0a --- /dev/null +++ b/mobile/HD/images/Old/default_fileselector/file_selector_root_bg.png diff --git a/mobile/HD/images/Old/default_fileselector/fileselector_icon.png b/mobile/HD/images/Old/default_fileselector/fileselector_icon.png Binary files differnew file mode 100644 index 00000000..02e4dd30 --- /dev/null +++ b/mobile/HD/images/Old/default_fileselector/fileselector_icon.png diff --git a/mobile/HD/images/Old/default_fileselector/shadow_bottom.png b/mobile/HD/images/Old/default_fileselector/shadow_bottom.png Binary files differnew file mode 100644 index 00000000..7c96143a --- /dev/null +++ b/mobile/HD/images/Old/default_fileselector/shadow_bottom.png diff --git a/mobile/HD/images/Old/default_fileselector/shadow_title.png b/mobile/HD/images/Old/default_fileselector/shadow_title.png Binary files differnew file mode 100644 index 00000000..58b5574e --- /dev/null +++ b/mobile/HD/images/Old/default_fileselector/shadow_title.png diff --git a/mobile/HD/images/Old/default_icons/icon_apps.png b/mobile/HD/images/Old/default_icons/icon_apps.png Binary files differnew file mode 100644 index 00000000..f79362fc --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_apps.png diff --git a/mobile/HD/images/Old/default_icons/icon_arrow_down.png b/mobile/HD/images/Old/default_icons/icon_arrow_down.png Binary files differnew file mode 100644 index 00000000..1c85a142 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_arrow_down.png diff --git a/mobile/HD/images/Old/default_icons/icon_arrow_down_left.png b/mobile/HD/images/Old/default_icons/icon_arrow_down_left.png Binary files differnew file mode 100644 index 00000000..62361766 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_arrow_down_left.png diff --git a/mobile/HD/images/Old/default_icons/icon_arrow_down_left_press.png b/mobile/HD/images/Old/default_icons/icon_arrow_down_left_press.png Binary files differnew file mode 100644 index 00000000..745f8763 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_arrow_down_left_press.png diff --git a/mobile/HD/images/Old/default_icons/icon_arrow_left.png b/mobile/HD/images/Old/default_icons/icon_arrow_left.png Binary files differnew file mode 100644 index 00000000..c5e02f49 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_arrow_left.png diff --git a/mobile/HD/images/Old/default_icons/icon_arrow_right.png b/mobile/HD/images/Old/default_icons/icon_arrow_right.png Binary files differnew file mode 100644 index 00000000..bc510a67 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_arrow_right.png diff --git a/mobile/HD/images/Old/default_icons/icon_arrow_up.png b/mobile/HD/images/Old/default_icons/icon_arrow_up.png Binary files differnew file mode 100644 index 00000000..48ccf6d6 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_arrow_up.png diff --git a/mobile/HD/images/Old/default_icons/icon_arrow_up_right.png b/mobile/HD/images/Old/default_icons/icon_arrow_up_right.png Binary files differnew file mode 100644 index 00000000..871def21 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_arrow_up_right.png diff --git a/mobile/HD/images/Old/default_icons/icon_arrow_up_right_press.png b/mobile/HD/images/Old/default_icons/icon_arrow_up_right_press.png Binary files differnew file mode 100644 index 00000000..afa95d7c --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_arrow_up_right_press.png diff --git a/mobile/HD/images/Old/default_icons/icon_back.png b/mobile/HD/images/Old/default_icons/icon_back.png Binary files differnew file mode 100644 index 00000000..b7cf0d54 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_back.png diff --git a/mobile/HD/images/Old/default_icons/icon_chat.png b/mobile/HD/images/Old/default_icons/icon_chat.png Binary files differnew file mode 100644 index 00000000..0fa2c1d1 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_chat.png diff --git a/mobile/HD/images/Old/default_icons/icon_clock.png b/mobile/HD/images/Old/default_icons/icon_clock.png Binary files differnew file mode 100644 index 00000000..0c378b34 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_clock.png diff --git a/mobile/HD/images/Old/default_icons/icon_close.png b/mobile/HD/images/Old/default_icons/icon_close.png Binary files differnew file mode 100644 index 00000000..ce694912 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_close.png diff --git a/mobile/HD/images/Old/default_icons/icon_close_small.png b/mobile/HD/images/Old/default_icons/icon_close_small.png Binary files differnew file mode 100644 index 00000000..f09a78cd --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_close_small.png diff --git a/mobile/HD/images/Old/default_icons/icon_close_small_press.png b/mobile/HD/images/Old/default_icons/icon_close_small_press.png Binary files differnew file mode 100644 index 00000000..bd92ab37 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_close_small_press.png diff --git a/mobile/HD/images/Old/default_icons/icon_delete.png b/mobile/HD/images/Old/default_icons/icon_delete.png Binary files differnew file mode 100644 index 00000000..98c22a5d --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_delete.png diff --git a/mobile/HD/images/Old/default_icons/icon_edit.png b/mobile/HD/images/Old/default_icons/icon_edit.png Binary files differnew file mode 100644 index 00000000..f0143633 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_edit.png diff --git a/mobile/HD/images/Old/default_icons/icon_file.png b/mobile/HD/images/Old/default_icons/icon_file.png Binary files differnew file mode 100644 index 00000000..39d373bf --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_file.png diff --git a/mobile/HD/images/Old/default_icons/icon_folder.png b/mobile/HD/images/Old/default_icons/icon_folder.png Binary files differnew file mode 100644 index 00000000..6df9fa75 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_folder.png diff --git a/mobile/HD/images/Old/default_icons/icon_home.png b/mobile/HD/images/Old/default_icons/icon_home.png Binary files differnew file mode 100644 index 00000000..0a16a9f6 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_home.png diff --git a/mobile/HD/images/Old/default_icons/icon_media_ff.png b/mobile/HD/images/Old/default_icons/icon_media_ff.png Binary files differnew file mode 100644 index 00000000..96e4eca0 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_media_ff.png diff --git a/mobile/HD/images/Old/default_icons/icon_media_info.png b/mobile/HD/images/Old/default_icons/icon_media_info.png Binary files differnew file mode 100644 index 00000000..82a55cbc --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_media_info.png diff --git a/mobile/HD/images/Old/default_icons/icon_media_next.png b/mobile/HD/images/Old/default_icons/icon_media_next.png Binary files differnew file mode 100644 index 00000000..c001e741 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_media_next.png diff --git a/mobile/HD/images/Old/default_icons/icon_media_pause.png b/mobile/HD/images/Old/default_icons/icon_media_pause.png Binary files differnew file mode 100644 index 00000000..579c0d0e --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_media_pause.png diff --git a/mobile/HD/images/Old/default_icons/icon_media_play.png b/mobile/HD/images/Old/default_icons/icon_media_play.png Binary files differnew file mode 100644 index 00000000..758e950b --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_media_play.png diff --git a/mobile/HD/images/Old/default_icons/icon_media_prev.png b/mobile/HD/images/Old/default_icons/icon_media_prev.png Binary files differnew file mode 100644 index 00000000..9f81897e --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_media_prev.png diff --git a/mobile/HD/images/Old/default_icons/icon_media_rew.png b/mobile/HD/images/Old/default_icons/icon_media_rew.png Binary files differnew file mode 100644 index 00000000..97b1e067 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_media_rew.png diff --git a/mobile/HD/images/Old/default_icons/icon_media_stop.png b/mobile/HD/images/Old/default_icons/icon_media_stop.png Binary files differnew file mode 100644 index 00000000..cf633f3b --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_media_stop.png diff --git a/mobile/HD/images/Old/default_icons/icon_noimage.png b/mobile/HD/images/Old/default_icons/icon_noimage.png Binary files differnew file mode 100644 index 00000000..2b321440 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_noimage.png diff --git a/mobile/HD/images/Old/default_icons/icon_refresh.png b/mobile/HD/images/Old/default_icons/icon_refresh.png Binary files differnew file mode 100644 index 00000000..baaf9ab9 --- /dev/null +++ b/mobile/HD/images/Old/default_icons/icon_refresh.png diff --git a/mobile/efl-theme-tizen-mobile.edc b/mobile/efl-theme-tizen-mobile.edc index 00b19c81..3375317a 100644 --- a/mobile/efl-theme-tizen-mobile.edc +++ b/mobile/efl-theme-tizen-mobile.edc @@ -90,9 +90,11 @@ collections { #include "widgets/calendar.edc" #include "widgets/conform.edc" #include "widgets/ctxpopup.edc" +#include "widgets/fileselector.edc" #include "widgets/flipselector.edc" #include "widgets/focus_highlight.edc" #include "widgets/genlist.edc" +#include "widgets/icon.edc" #include "widgets/label.edc" #include "widgets/layout.edc" #include "widgets/naviframe.edc" diff --git a/mobile/widgets/fileselector.edc b/mobile/widgets/fileselector.edc new file mode 100644 index 00000000..fd9fc719 --- /dev/null +++ b/mobile/widgets/fileselector.edc @@ -0,0 +1,552 @@ +group { name: "elm/entry/path/separator/default"; + images.image: "default_fileselector/fileselector_icon.png" COMP; + parts { + part { name: "icon"; + mouse_events: 0; + description { state: "default" 0.0; + image.normal: "default_fileselector/fileselector_icon.png"; + max: FILESELECTOR_SEPARATOR_SIZE; + aspect: 1.0 1.0; + } + } + } +} + +group { name: "elm/fileselector/base/default"; + data { + item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>"; + } + images { + image: "default_fileselector/shadow_title.png" COMP; + image: "default_fileselector/shadow_bottom.png" COMP; + image: "default_fileselector/file_selector_root_bg.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + description { + color: FILESELECTOR_DEFAULT_BG_COLOR; + } + } + part { name: "elm.shadow.bg.top"; + type: RECT; + scale: 1; + description { + min: 0 FILESELECTOR_DEFAULT_BG_TOP_HEIGHT; + fixed: 0 1; + align: 0.5 0; + rel2.relative: 1 0; + color: 0 0 0 0; + } + } + part { name: "elm.bottom_buttons.bg"; + type: RECT; + scale: 1; + description { + min: 0 FILESELECTOR_DEFAULT_BG_BOTTOM_HEIGHT; + fixed: 0 1; + align: 0.5 1; + rel1.relative: 0 1; + color: 0 0 0 0; + } + } + part { name: "elm.padding.up.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FILESELECTOR_DEFAULT_PADDING_TOP_BUTTON_LEFT_TOP; + fixed: 1 1; + align: 0 0; + rel2.relative: 0 0; + } + } + part { name: "elm.padding.home.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: FILESELECTOR_DEFAULT_PADDING_DEFAULT_SIZE 0; + fixed: 1 0; + align: 0 0; + rel1 { + to: "elm.swallow.up"; + relative: 1 0; + } + rel2 { + to: "elm.swallow.up"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.home"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + rel1 { + to: "elm.padding.home.left"; + relative: 1 0; + } + rel2 { + to: "elm.padding.home.left"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.up"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + rel1 { + to: "elm.padding.up.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.up.left-top"; + relative: 1 1; + } + } + } + part { name: "elm.spinner.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "elm.swallow.spinner"; + rel2.to: "elm.swallow.spinner"; + color: FILESELECTOR_COLOR_TRANSPARENT; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: FILESELECTOR_COLOR_VISIBLE; + } + } + part { name: "elm.swallow.spinner"; + type: SWALLOW; + scale: 1; + clip_to: "elm.spinner.clip"; + description { state: "default" 0.0; + align: 1.0 0.0; + fixed: 1 1; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 0.0; + } + } + part { name: "elm.swallow.files"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + min: 0 FILESELECTOR_FILES_LIST_SIZE; + align: 1.0 0.0; + rel1 { + to_y: "elm.shadow.bg.top"; + relative: 0.0 1.0; + } + rel2 { + to_y: "elm.swallow.path"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.shadow.top"; + scale: 1; + description { state: "default" 0.0; + min: 0 FILESELECTOR_DEFAULT_SHADOW_HEIGHT; + fixed: 0 1; + align: 0.5 0; + rel1 { + to_y: "elm.shadow.bg.top"; + relative: 0 1; + } + rel2 { + to_y: "elm.shadow.bg.top"; + relative: 1 1; + } + image { + normal: "default_fileselector/shadow_title.png"; + border: FILESELECTOR_DEFAULT_SHADOW_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.padding.path.bg.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 0 1; + min: 0 FILESELECTOR_DEFAULT_PADDING_PATH_BG_BOTTOM; + rel1.to_y: "elm.swallow.filename"; + rel2 { + to_y: "elm.swallow.filename"; + relative: 1 0; + } + } + } + part { name: "elm.path.bg"; + scale: 1; + description { state: "default" 0.0; + align: 0 1; + fixed: 0 1; + min: 0 FILESELECTOR_DEFAULT_PADDING_PATH_BG_HEIGHT; + rel1 { + to: "elm.padding.path.bg.bottom"; + relative: 0 0; + } + rel2 { + to: "elm.padding.path.bg.bottom"; + relative: 1 0; + } + image { + normal: "default_fileselector/file_selector_root_bg.png"; + border: FILESELECTOR_DEFAULT_PADDING_PATH_BG_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.bg.bottom"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + rel1 { + to: "elm.path.bg"; + relative: 0 1; + } + color: FILESELECTOR_DEFAULT_BG_COLOR; + } + } + part { name: "elm.padding.path.left-top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_PATH_LEFT_TOP; + rel1.to: "elm.path.bg"; + rel2 { + to: "elm.path.bg"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.padding.path.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_PATH_RIGHT_BOTTOM; + rel1 { + to: "elm.path.bg"; + relative: 1 1; + } + rel2 { + to: "elm.path.bg"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.path"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + fixed: 1 1; + rel1 { + to: "elm.padding.path.left-top"; + relative: 1 1; + } + rel2 { + to: "elm.padding.path.right-bottom"; + relative: 0 0; + } + } + } + part { name: "elm.shadow.bottom"; + scale: 1; + description { state: "default" 0.0; + min: 0 FILESELECTOR_DEFAULT_SHADOW_HEIGHT; + fixed: 0 1; + align: 0 1; + rel1 { + to_y: "elm.path.bg"; + relative: 0 0; + } + rel2 { + to_y: "elm.path.bg"; + relative: 1 0; + } + image { + normal: "default_fileselector/shadow_bottom.png"; + border: FILESELECTOR_DEFAULT_SHADOW_BORDER; + border_scale: 1; + } + } + } + part { name: "elm.padding.filename.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_FILENAME_LEFT 0; + rel2.relative: 0 1; + } + } + part { name: "elm.padding.filename.bottom-right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_FILENAME_RIGHT + FILESELECTOR_DEFAULT_PADDING_FILENAME_BOTTOM; + rel1 { to_x: "elm.path.bg"; + to_y: "elm.swallow.ok"; + relative: 1 0; + } + rel2 { to_x: "elm.path.bg"; + to_y: "elm.swallow.ok"; + relative: 1 0; + } + } + } + part { name: "elm.swallow.filename"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + rel1 { + to_x: "elm.padding.filename.left"; + to_y: "elm.padding.filename.bottom-right"; + relative: 1 0; + } + rel2 { + to: "elm.padding.filename.bottom-right"; + relative: 0 0; + } + } + } + part { name: "elm.padding.bottom_buttons.right-bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_PADDING_BOTTOM_BUTTON_RIGHT_BOTTOM; + rel1 { + to: "elm.bottom_buttons.bg"; + relative: 1 1; + } + rel2.to: "elm.bottom_buttons.bg"; + } + } + part { name: "elm.padding.cancel.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 0; + min: FILESELECTOR_DEFAULT_PADDING_DEFAULT_SIZE 0; + rel1.to: "elm.swallow.ok"; + rel2 { + to: "elm.swallow.ok"; + relative: 0 1; + } + } + } + part { name: "elm.swallow.cancel"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_BOTTOM_BUTTON_SIZE; + rel1 { + to: "elm.padding.cancel.right"; + relative: 0.0 0.0; + } + rel2 { + to: "elm.padding.cancel.right"; + relative: 0.0 1.0; + } + } + } + part { name: "elm.swallow.ok"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1 1; + fixed: 1 1; + min: FILESELECTOR_DEFAULT_BOTTOM_BUTTON_SIZE; + rel1 { + to: "elm.padding.bottom_buttons.right-bottom"; + relative: 0 0; + } + rel2 { + to: "elm.padding.bottom_buttons.right-bottom"; + relative: 0 0; + } + } + } + } + programs { + program { name: "spinner_show"; + signal: "elm,action,spinner,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + transition: LINEAR 0.2; + target: "elm.spinner.clip"; + } + program { name: "spinner_hide"; + signal: "elm,action,spinner,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: LINEAR 0.2 CURRENT; + target: "elm.spinner.clip"; + } + program { name: "save_on"; + signal: "elm,state,save,on"; + source: "elm"; + } + program { name: "save_off"; + signal: "elm,state,save,off"; + source: "elm"; + } + } +} + +group { name: "elm/fileselector_entry/base/default"; + images { + image: "default_fileselector/file_selector_entry.png" COMP; + } + parts { + part { name: "elm.padding.button.bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1; + fixed: 0 1; + min: 0 FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT; + rel1.relative: 1 1; + } + } + part { name: "elm.swallow.button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + fixed: 1 1; + rel1 { + to: "elm.padding.button.bottom"; + relative: 1.0 0.0; + } + rel2 { + to: "elm.padding.button.bottom"; + relative: 1.0 0.0; + } + } + } + part { name: "elm.padding.bg.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 0; + rel2.relative: 0 1; + } + } + part { name: "elm.padding.bg.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 1; + min: FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 0; + rel1 { + to: "elm.swallow.button"; + relative: 0 0; + } + rel2 { + to: "elm.swallow.button"; + relative: 0 1; + } + } + } + part { name: "elm.swallow.entry.bg"; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 1; + image { + normal:"default_fileselector/file_selector_entry.png"; + border: 15 15 15 15; + border_scale: 1; + } + rel1 { + to_x: "elm.padding.bg.left"; + to_y: "elm.padding.bg.right"; + relative: 1 0; + } + rel2 { + to: "elm.padding.bg.right"; + relative: 0 1; + } + } + } + part { name: "elm.padding.entry.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 0; + min: FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 0; + rel1.to: "elm.swallow.entry.bg"; + rel2 { + to:"elm.swallow.entry.bg"; + relative: 0 1; + } + } + } + part { name: "elm.padding.entry.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1 0.5; + fixed: 1 1; + min: FILESELECTOR_ENTRY_PADDING_SIZE_DEFAULT 0; + rel1 { + to: "elm.swallow.entry.bg"; + relative: 1 0; + } + rel2 { + to: "elm.swallow.entry.bg"; + relative: 1 1; + } + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.padding.entry.left"; + to_y: "elm.padding.entry.right"; + relative: 1 0; + } + rel2 { + to: "elm.padding.entry.right"; + relative: 0 1; + } + } + } + } +} + diff --git a/mobile/widgets/icon.edc b/mobile/widgets/icon.edc new file mode 100644 index 00000000..abdac1ef --- /dev/null +++ b/mobile/widgets/icon.edc @@ -0,0 +1,61 @@ +#define GROUP_ALIAS_ICON(Name, Alias, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ + alias: "elm/icon/"##Alias##"/default"; \ + images.image: File COMP; parts { part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; } } } } + +#define GROUP_ICON(Name, File, Min, Max) \ + group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \ + images.image: File COMP; parts { part { name: "base"; \ + description { aspect: 1.0 1.0; aspect_preference: BOTH; \ + image.normal: File; } } } } + +group { name: "elm/icon/arrow_down/default"; + alias: "elm/icon/toolbar/arrow_down/default"; + alias: "elm/icon/toolbar/more_menu/default"; min: 68 68; + images.image: "default_icons/icon_arrow_down.png" COMP; parts { part { name: "base"; + description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "default_icons/icon_arrow_down.png"; } } } } + +GROUP_ALIAS_ICON("home", "toolbar/home", "default_icons/icon_home.png", 68, 0); +GROUP_ALIAS_ICON("close", "toolbar/close", "default_icons/icon_close.png", 68, 0); +GROUP_ALIAS_ICON("apps", "toolbar/apps", "default_icons/icon_apps.png", 68, 0); +GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "default_icons/icon_arrow_up.png", 68, 0); +GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "default_icons/icon_arrow_left.png", 68, 0); +GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "default_icons/icon_arrow_right.png", 68, 0); +GROUP_ALIAS_ICON("chat", "toolbar/chat", "default_icons/icon_chat.png", 68, 0); +GROUP_ALIAS_ICON("clock", "toolbar/clock", "default_icons/icon_clock.png", 68, 0); +GROUP_ALIAS_ICON("delete", "toolbar/delete", "default_icons/icon_delete.png", 68, 0); +GROUP_ALIAS_ICON("edit", "toolbar/edit", "default_icons/icon_edit.png", 68, 0); +GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "default_icons/icon_refresh.png", 68, 0); +GROUP_ALIAS_ICON("folder", "toolbar/folder", "default_icons/icon_folder.png", 68, 0); +GROUP_ALIAS_ICON("file", "toolbar/file", "default_icons/icon_file.png", 68, 0); +GROUP_ALIAS_ICON("no_photo", "photo/no_photo", "default_icons/icon_noimage.png", 68, 0); + +/////////////////////////////////////////////////////////////////////////////// +GROUP_ICON("menu/home", "default_icons/icon_home.png", 51, 51); +GROUP_ICON("menu/close", "default_icons/icon_close.png", 51, 51); +GROUP_ICON("menu/apps", "default_icons/icon_apps.png", 51, 51); +GROUP_ICON("menu/arrow_up", "default_icons/icon_arrow_up.png", 51, 51); +GROUP_ICON("menu/arrow_down", "default_icons/icon_arrow_down.png", 51, 51); +GROUP_ICON("menu/arrow_left", "default_icons/icon_arrow_left.png", 51, 51); +GROUP_ICON("menu/arrow_right", "default_icons/icon_arrow_right.png", 51, 51); +GROUP_ICON("menu/chat", "default_icons/icon_chat.png", 51, 51); +GROUP_ICON("menu/clock", "default_icons/icon_clock.png", 51, 51); +GROUP_ICON("menu/delete", "default_icons/icon_delete.png", 51, 51); +GROUP_ICON("menu/edit", "default_icons/icon_edit.png", 51, 51); +GROUP_ICON("menu/refresh", "default_icons/icon_refresh.png", 51, 51); +GROUP_ICON("menu/folder", "default_icons/icon_folder.png", 51, 51); +GROUP_ICON("menu/file", "default_icons/icon_file.png", 51, 51); + +GROUP_ICON("media_player/forward", "default_icons/icon_media_ff.png", 34, 0); +GROUP_ICON("media_player/info", "default_icons/icon_media_info.png", 34, 0); +GROUP_ICON("media_player/next", "default_icons/icon_media_next.png", 34, 0); +GROUP_ICON("media_player/pause", "default_icons/icon_media_pause.png", 34, 0); +GROUP_ICON("media_player/play", "default_icons/icon_media_play.png", 34, 0); +GROUP_ICON("media_player/prev", "default_icons/icon_media_prev.png", 34, 0); +GROUP_ICON("media_player/rewind", "default_icons/icon_media_rew.png", 34, 0); +GROUP_ICON("media_player/stop", "default_icons/icon_media_stop.png", 34, 0); + +/////////////////////////////////////////////////////////////////////////////// diff --git a/mobile/widgets/progressbar.edc b/mobile/widgets/progressbar.edc index d4a68e1d..bfc35182 100644 --- a/mobile/widgets/progressbar.edc +++ b/mobile/widgets/progressbar.edc @@ -1339,6 +1339,7 @@ group { "elm/progressbar/horizontal/process_medium"; inherit: "elm/progressbar/horizontal/process_large"; + alias: "elm/progressbar/horizontal/wheel"; data.item: "vector_ux" "process_medium"; parts { rect { "bg"; |