diff --git a/data/themes/default.edc b/data/themes/default.edc index bc8d870..d06e4e2 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -1144,6 +1144,8 @@ collections { group { name: "rage/list/item"; images.image: "win_shadow.png" COMP; images.image: "win_glow.png" COMP; + images.image: "bg_shine.png" COMP; + images.image: "bg_glint.png" COMP; parts { part { name: "shadow"; mouse_events: 0; @@ -1204,6 +1206,13 @@ collections { rel2.offset: -5 -5; } } + part { name: "glintclip"; type: RECT; + description { state: "default" 0.0; + rel1.to: "clip"; + rel2.to: "clip"; + rel1.offset: 0 -10; + } + } part { name: "rage.sizer"; type: SWALLOW; description { state: "default" 0.0; min: 16 16; @@ -1218,6 +1227,37 @@ collections { rel2.to: "clip"; } } + part { name: "shine"; mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + image.normal: "bg_shine.png"; + fill.smooth: 0; + rel1.to: "clip"; + rel2.to: "clip"; + align: 0.5 0.0; + aspect: (255/120) (255/120); + aspect_preference: HORIZONTAL; + } + } + part { name: "glint"; mouse_events: 0; + clip_to: "glintclip"; + description { state: "default" 0.0; + fixed: 1 1; + min: 79 5; + max: 79 5; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + to: "clip"; + } + rel2 { + relative: 1.0 0.0; + offset: -1 0; + to: "clip"; + } + image.normal: "bg_glint.png"; + } + } part { name: "rage.title"; type: TEXT; mouse_events: 0; effect: GLOW; scale: 1; diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am index dfa56ff..ddf0fed 100644 --- a/data/themes/images/Makefile.am +++ b/data/themes/images/Makefile.am @@ -30,4 +30,6 @@ pos_indicator_big.png \ bevel_dark_out.png \ bg_bevel.png \ win_glow.png \ -win_shadow.png +win_shadow.png \ +bg_glint.png \ +bg_shine.png diff --git a/data/themes/images/bg_glint.png b/data/themes/images/bg_glint.png new file mode 100644 index 0000000..0fe17c0 Binary files /dev/null and b/data/themes/images/bg_glint.png differ diff --git a/data/themes/images/bg_shine.png b/data/themes/images/bg_shine.png new file mode 100644 index 0000000..c3cd9a2 Binary files /dev/null and b/data/themes/images/bg_shine.png differ diff --git a/src/bin/winlist.c b/src/bin/winlist.c index 39f41b4..3ad557b 100644 --- a/src/bin/winlist.c +++ b/src/bin/winlist.c @@ -238,6 +238,7 @@ win_list_show(Evas_Object *win) evas_object_show(mb); sc = elm_scroller_add(win); + elm_object_style_set(sc, "noclip"); elm_object_focus_allow_set(sc, EINA_FALSE); evas_object_size_hint_weight_set(sc, 1.0, 1.0); evas_object_size_hint_align_set(sc, -1.0, -1.0);