use noclip style for scroller and upgrade vid list item look

v-0.4.0
Carsten Haitzler 10 years ago
parent 06cfbb082c
commit ae2e2d888f
  1. 40
      data/themes/default.edc
  2. 4
      data/themes/images/Makefile.am
  3. BIN
      data/themes/images/bg_glint.png
  4. BIN
      data/themes/images/bg_shine.png
  5. 1
      src/bin/winlist.c

@ -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;

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

@ -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);

Loading…
Cancel
Save