diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/edc/view/action_menu.edc | 120 |
1 files changed, 112 insertions, 8 deletions
diff --git a/res/edc/view/action_menu.edc b/res/edc/view/action_menu.edc index 7514ebf..d5f594b 100644 --- a/res/edc/view/action_menu.edc +++ b/res/edc/view/action_menu.edc @@ -170,7 +170,7 @@ group { relative: 1.0 1.0; } rel2.to: PART_ACTION_MENU_AREA; - min: 10 40; + min: 30 40; align: 1.0 0.0; fixed: 1 1; } @@ -201,7 +201,7 @@ group { } } part { - name: "padding_favorite_area"; + name: "padding_favorite_area_left_top"; type: SPACER; scale: 1; description { @@ -210,10 +210,26 @@ group { to: PART_ACTION_FAVORITE_TITLE; relative: 0.0 1.0; } - rel2.to: PART_ACTION_FAVORITE_TITLE; + rel2 { + to: PART_ACTION_FAVORITE_TITLE; + relative: 0.0 1.0; + } min: 0 30; - align: 0.5 0.0; - fixed: 0 1; + align: 0.0 0.0; + fixed: 1 1; + } + } + part { + name: "padding_favorite_area_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + min: 10 0; + align: 1.0 1.0; + fixed: 1 1; } } part { @@ -223,14 +239,102 @@ group { description { state: "default" 0.0; rel1 { - to: "padding_favorite_area"; + to: "padding_favorite_area_left_top"; + relative: 0.0 1.0; + } + rel2 { + to: "padding_favorite_area_right_bottom"; + relative: 0.0 0.0; + } + } + } + part { + name: "padding_bg_no_content_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1.relative: 1.0 1.0; + rel2.relative: 1.0 1.0; + min: 30 32; + align: 1.0 1.0; + fixed: 1 1; + } + } + part { + name: PART_ACTION_NO_CONTENT_BG; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { + to: "padding_favorite_area_left_top"; relative: 0.0 1.0; } rel2 { - to_x: "padding_favorite_area"; - to_y: "bg"; + to: "padding_bg_no_content_right_bottom"; + relative: 0.0 0.0; + } + } + } + } +} + +group { + name: GRP_ACTION_NO_CONTENT; + parts { + part { + name: PART_NO_CONTENT_BG; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: COLOR_NO_CONTENT_BG; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: PART_NO_CONTENT_TEXT; + type: TEXT; + scale: 1; + description { + state: "default" 0.0; + text { + font: FONT_LIGHT; + size: 32; + align: 0.5 0.5; } + color: COLOR_TEXT_INDEX; + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; } } } + programs { + program { + name: SIG_SHOW_NO_CONTENT; + signal: SIG_SHOW_NO_CONTENT; + source: SIG_SOURCE_SRC; + action: STATE_SET "show" 0.0; + target: PART_NO_CONTENT_BG; + target: PART_NO_CONTENT_TEXT; + } + program { + name: SIG_HIDE_NO_CONTENT; + signal: SIG_HIDE_NO_CONTENT; + source: SIG_SOURCE_SRC; + action: STATE_SET "default" 0.0; + target: PART_NO_CONTENT_BG; + target: PART_NO_CONTENT_TEXT; + } + } } |