group { name: "elm/genlist/base/default";
alias: "elm/genscroller/base/default";
- alias: "elm/gengrid/base/default";
alias: "elm/list/base/default";
inherit: "elm/scroller/base/default";
inherit: "default" 0.0;
color: 255 255 255 255;
}
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part { name: "shadow_bottom";
clip_to: "vshadow_clip";
inherit: "default" 0.0;
color: 255 255 255 255;
}
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part { name: "shadow_left";
clip_to: "hshadow_clip";
inherit: "default" 0.0;
color: 255 255 255 255;
}
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part { name: "shadow_right";
clip_to: "hshadow_clip";
inherit: "default" 0.0;
color: 255 255 255 255;
}
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part { name: "padding_jump_to_top";
type: SPACER;
program { name: "edge_top";
signal: "elm,edge,top";
source: "elm";
+ script {
+ set_state(PART:"shadow_top", "edge", 0.0);
+ set_state(PART:"shadow_bottom", "hidden", 0.0);
+ }
after: "edge_vertical";
}
program { name: "edge_bottom";
signal: "elm,edge,bottom";
source: "elm";
+ script {
+ set_state(PART:"shadow_top", "hidden", 0.0);
+ set_state(PART:"shadow_bottom", "edge", 0.0);
+ }
after: "edge_vertical";
}
program { name: "edge_left";
signal: "elm,edge,left";
source: "elm";
+ script {
+ set_state(PART:"shadow_left", "edge", 0.0);
+ set_state(PART:"shadow_right", "hidden", 0.0);
+ }
after: "edge_horizontal";
}
program { name: "edge_right";
signal: "elm,edge,right";
source: "elm";
+ script {
+ set_state(PART:"shadow_left", "hidden", 0.0);
+ set_state(PART:"shadow_right", "edge", 0.0);
+ }
after: "edge_horizontal";
}
program { name: "edge_vertical";
new v;
v = get_int(sh_timer);
if (v > 0) cancel_timer(v);
- set_state(PART:"shadow_top", "edge", 0.0);
- set_state(PART:"shadow_bottom", "edge", 0.0);
v = get_int(edge_timer);
if (!v) {
emit("do-show-vshadow", "");
new v;
v = get_int(sh_timer);
if (v > 0) cancel_timer(v);
- set_state(PART:"shadow_left", "edge", 0.0);
- set_state(PART:"shadow_right", "edge", 0.0);
v = get_int(edge_timer);
if (!v) {
emit("do-show-hshadow", "");
group { name: "elm/genlist/base/handler";
alias: "elm/genscroller/base/handler";
- alias: "elm/gengrid/base/handler";
alias: "elm/list/base/handler";
inherit: "elm/scroller/base/handler";
inherit: "default" 0.0;
color: 255 255 255 255;
}
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part { name: "shadow_bottom";
clip_to: "vshadow_clip";
inherit: "default" 0.0;
color: 255 255 255 255;
}
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part { name: "shadow_left";
clip_to: "hshadow_clip";
inherit: "default" 0.0;
color: 255 255 255 255;
}
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part { name: "shadow_right";
clip_to: "hshadow_clip";
inherit: "default" 0.0;
color: 255 255 255 255;
}
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
}
programs {
program { name: "edge_top";
signal: "elm,edge,top";
source: "elm";
+ script {
+ set_state(PART:"shadow_top", "edge", 0.0);
+ set_state(PART:"shadow_bottom", "hidden", 0.0);
+ }
after: "edge_vertical";
}
program { name: "edge_bottom";
signal: "elm,edge,bottom";
source: "elm";
+ script {
+ set_state(PART:"shadow_top", "hidden", 0.0);
+ set_state(PART:"shadow_bottom", "edge", 0.0);
+ }
after: "edge_vertical";
}
program { name: "edge_left";
signal: "elm,edge,left";
source: "elm";
+ script {
+ set_state(PART:"shadow_left", "edge", 0.0);
+ set_state(PART:"shadow_right", "hidden", 0.0);
+ }
after: "edge_horizontal";
}
program { name: "edge_right";
signal: "elm,edge,right";
source: "elm";
+ script {
+ set_state(PART:"shadow_left", "hidden", 0.0);
+ set_state(PART:"shadow_right", "edge", 0.0);
+ }
after: "edge_horizontal";
}
program { name: "edge_vertical";
new v;
v = get_int(sh_timer);
if (v > 0) cancel_timer(v);
- set_state(PART:"shadow_top", "edge", 0.0);
- set_state(PART:"shadow_bottom", "edge", 0.0);
v = get_int(edge_timer);
if (!v) {
emit("do-show-vshadow", "");
new v;
v = get_int(sh_timer);
if (v > 0) cancel_timer(v);
- set_state(PART:"shadow_left", "edge", 0.0);
- set_state(PART:"shadow_right", "edge", 0.0);
v = get_int(edge_timer);
if (!v) {
emit("do-show-hshadow", "");
}
}
}
+
+group { name: "elm/gengrid/base/default";
+ inherit: "elm/genlist/base/default";
+
+ images {
+ image: "00_grid_overscrolling_top.png" COMP;
+ image: "00_grid_overscrolling_bottom.png" COMP;
+ image: "00_grid_overscrolling_left.png" COMP;
+ image: "00_grid_overscrolling_right.png" COMP;
+ }
+
+ parts {
+ part { name: "shadow_top";
+ description { state: "default" 0.0;
+ min: 0 405;
+ image.normal: "00_grid_overscrolling_top.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_bottom";
+ description { state: "default" 0.0;
+ min: 0 405;
+ image.normal: "00_grid_overscrolling_bottom.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_left";
+ description { state: "default" 0.0;
+ min: 405 0;
+ image.normal: "00_grid_overscrolling_left.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_right";
+ description { state: "default" 0.0;
+ min: 405 0;
+ image.normal: "00_grid_overscrolling_right.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ }
+}
+
+group { name: "elm/gengrid/base/handler";
+ inherit: "elm/genlist/base/handler";
+
+ parts {
+ part { name: "shadow_top";
+ description { state: "default" 0.0;
+ min: 0 405;
+ image.normal: "00_grid_overscrolling_top.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_bottom";
+ description { state: "default" 0.0;
+ min: 0 405;
+ image.normal: "00_grid_overscrolling_bottom.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_left";
+ description { state: "default" 0.0;
+ min: 405 0;
+ image.normal: "00_grid_overscrolling_left.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow_right";
+ description { state: "default" 0.0;
+ min: 405 0;
+ image.normal: "00_grid_overscrolling_right.png";
+ }
+ description { state: "edge" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ }
+}