rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=d623255a6416d24a0ea247acdca4b7aa170e6418
commit d623255a6416d24a0ea247acdca4b7aa170e6418 Author: Vitalii Vorobiov <vi.vorob...@samsung.com> Date: Thu Feb 4 14:30:55 2016 +0000 genlist.edc: use scroller color_class, update colorclasses (return 80 82 83 color) --- data/macros.edc | 10 ++++++++ data/themes/default/widgets/genlist.edc | 43 ++++++--------------------------- 2 files changed, 17 insertions(+), 36 deletions(-) diff --git a/data/macros.edc b/data/macros.edc index f7a9bf7..5454882 100644 --- a/data/macros.edc +++ b/data/macros.edc @@ -106,10 +106,20 @@ color_classes { color3: 0 0 0 0; } color_class { name: "bg_main"; + color: 80 82 83 255; + color2: 0 0 0 0; + color3: 0 0 0 0; + } + color_class { name: "bg_scroller"; color: 52 53 54 255; color2: 0 0 0 0; color3: 0 0 0 0; } + color_class { name: "bg_scroller_disabled"; + color: 100 102 104 146; + color2: 0 0 0 0; + color3: 0 0 0 0; + } color_class { name: "bg_entry"; color: 46 48 49 255; color2: 0 0 0 0; diff --git a/data/themes/default/widgets/genlist.edc b/data/themes/default/widgets/genlist.edc index adeaa50..80ee07c 100644 --- a/data/themes/default/widgets/genlist.edc +++ b/data/themes/default/widgets/genlist.edc @@ -1442,10 +1442,10 @@ group { name: "elm/genlist/base/default"; part { name: "bg"; type: RECT; description { state: "default" 0.0; - color_class: "bg_main"; + color_class: "bg_scroller"; } description { state: "disabled" 0.0; - color: 0 0 0 0; + color_class: "bg_scroller_disabled"; } } part { name: "sb_vbar"; @@ -1484,10 +1484,8 @@ group { name: "elm/genlist/base/default"; } } part { name: "sb_vbar_p1"; - type: RECT; - clip_to: "sb_vbar"; + type: SPACER; description { state: "default" 0.0; - color: 0 0 0 0; rel1 { to: "sb_vbar"; } @@ -1498,10 +1496,8 @@ group { name: "elm/genlist/base/default"; } } part { name: "sb_vbar_p2"; - type: RECT; - clip_to: "sb_vbar"; + type: SPACER; description { state: "default" 0.0; - color: 0 0 0 0; rel1 { relative: 0.0 1.0; to: "elm.dragable.vbar"; @@ -1571,11 +1567,9 @@ group { name: "elm/genlist/base/default"; } } part { name: "sb_hbar_p1"; - type: RECT; - clip_to: "sb_hbar"; + type: SPACER; description { state: "default" 0.0; fixed: 1 1; - color: 0 0 0 0; rel1 { to: "sb_hbar"; } @@ -1586,10 +1580,8 @@ group { name: "elm/genlist/base/default"; } } part { name: "sb_hbar_p2"; - type: RECT; - clip_to: "sb_hbar"; + type: SPACER; description { state: "default" 0.0; - color: 0 0 0 0; rel1 { relative: 1.0 0.0; to: "elm.dragable.hbar"; @@ -1882,25 +1874,6 @@ group { name: "elm/genlist/base/default"; } } } - part { name: "shadow"; - type: IMAGE; - repeat_events: 1; - description { state: "default" 0.0; - image { - normal: "section-border.png"; - border: 10 10 10 11; - middle: DEFAULT; - } - } - description { state: "disabled" 0.0; - color: 255 255 255 127; - image { - normal: "section-border.png"; - border: 10 10 10 11; - middle: DEFAULT; - } - } - } } programs { program { name: "v_mouse_down"; @@ -2033,20 +2006,18 @@ group { name: "elm/genlist/base/default"; source: "elm"; action: STATE_SET "disabled" 0.00; target: "bg"; - target: "shadow"; } program { name: "enabled"; signal: "elm,state,enabled"; source: "elm"; action: STATE_SET "default" 0.00; target: "bg"; - target: "shadow"; } } } #undef ITEM_HEIGHT -#ungef BORDER_COLOR +#undef BORDER_COLOR #undef LIST_BORDER_COLOR #undef LIST_ITEM_SELECTED_COLOR #undef LIGHT_BORDER_COLOR --