forked from enlightenment/efl
elementary/fileselector - removed unnecessary empty lines.
This commit is contained in:
parent
9f1cd6b080
commit
e413e89129
|
@ -11,11 +11,9 @@ group { name: "elm/flipselector/base/default";
|
||||||
image: "flip_t.png" COMP;
|
image: "flip_t.png" COMP;
|
||||||
image: "flip_b.png" COMP;
|
image: "flip_b.png" COMP;
|
||||||
}
|
}
|
||||||
|
|
||||||
data {
|
data {
|
||||||
item: "max_len" FLIP_PICKER_MAX_LEN_STR;
|
item: "max_len" FLIP_PICKER_MAX_LEN_STR;
|
||||||
}
|
}
|
||||||
|
|
||||||
//FIXME: quick successive clicks on, say, up, lead to nastiness
|
//FIXME: quick successive clicks on, say, up, lead to nastiness
|
||||||
script {
|
script {
|
||||||
public cur, prev, next, lock;
|
public cur, prev, next, lock;
|
||||||
|
@ -53,7 +51,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
set_state(PART:"shadow", "default", 0.0);
|
set_state(PART:"shadow", "default", 0.0);
|
||||||
anim(0.2, "animator_top_down", 1);
|
anim(0.2, "animator_top_down", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
flip_dn(str[]) {
|
flip_dn(str[]) {
|
||||||
new tmp[FLIP_PICKER_MAX_LEN];
|
new tmp[FLIP_PICKER_MAX_LEN];
|
||||||
if (get_int(lock) == 1) {
|
if (get_int(lock) == 1) {
|
||||||
|
@ -88,7 +85,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
set_state(PART:"shadow", "full", 0.0);
|
set_state(PART:"shadow", "full", 0.0);
|
||||||
anim(0.2, "animator_bottom_up", 1);
|
anim(0.2, "animator_bottom_up", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public animator_bottom_down(val, Float:pos) {
|
public animator_bottom_down(val, Float:pos) {
|
||||||
new tmp[FLIP_PICKER_MAX_LEN];
|
new tmp[FLIP_PICKER_MAX_LEN];
|
||||||
|
|
||||||
|
@ -109,7 +105,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public animator_top_down(val, Float:pos) {
|
public animator_top_down(val, Float:pos) {
|
||||||
set_tween_state(PART:"elm.top", pos, "default", 0.0, "shrink", 0.0);
|
set_tween_state(PART:"elm.top", pos, "default", 0.0, "shrink", 0.0);
|
||||||
set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
|
set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
|
||||||
|
@ -120,7 +115,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
if (pos >= 1.0)
|
if (pos >= 1.0)
|
||||||
anim(0.2, "animator_bottom_down", val);
|
anim(0.2, "animator_bottom_down", val);
|
||||||
}
|
}
|
||||||
|
|
||||||
public animator_bottom_up(val, Float:pos) {
|
public animator_bottom_up(val, Float:pos) {
|
||||||
set_tween_state(PART:"elm.bottom", pos, "default", 0.0, "shrink", 0.0);
|
set_tween_state(PART:"elm.bottom", pos, "default", 0.0, "shrink", 0.0);
|
||||||
set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
|
set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
|
||||||
|
@ -131,7 +125,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
if (pos >= 1.0)
|
if (pos >= 1.0)
|
||||||
anim(0.2, "animator_top_up", val);
|
anim(0.2, "animator_top_up", val);
|
||||||
}
|
}
|
||||||
|
|
||||||
public animator_top_up(val, Float:pos) {
|
public animator_top_up(val, Float:pos) {
|
||||||
new tmp[FLIP_PICKER_MAX_LEN];
|
new tmp[FLIP_PICKER_MAX_LEN];
|
||||||
|
|
||||||
|
@ -152,7 +145,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public message(Msg_Type:type, id, ...) {
|
public message(Msg_Type:type, id, ...) {
|
||||||
/* flip down */
|
/* flip down */
|
||||||
if ((type == MSG_STRING) && (id == 1)) {
|
if ((type == MSG_STRING) && (id == 1)) {
|
||||||
|
@ -169,7 +161,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
parts {
|
parts {
|
||||||
part { name: "shad";
|
part { name: "shad";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
|
@ -184,7 +175,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "base";
|
part { name: "base";
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -194,7 +184,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
image.normal: "flip_base.png";
|
image.normal: "flip_base.png";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "b";
|
part { name: "b";
|
||||||
type: RECT;
|
type: RECT;
|
||||||
mouse_events: 1;
|
mouse_events: 1;
|
||||||
|
@ -209,7 +198,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
visible: 0;
|
visible: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "t";
|
part { name: "t";
|
||||||
type: RECT;
|
type: RECT;
|
||||||
mouse_events: 1;
|
mouse_events: 1;
|
||||||
|
@ -224,7 +212,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
visible: 0;
|
visible: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "bottom_sheet_static";
|
part { name: "bottom_sheet_static";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -234,7 +221,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
image.normal: "flip_b.png";
|
image.normal: "flip_b.png";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "bottom_b";
|
part { name: "bottom_b";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
clip_to: "bottom_clipper";
|
clip_to: "bottom_clipper";
|
||||||
|
@ -253,7 +239,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "shadow";
|
part { name: "shadow";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -271,7 +256,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
rel2.relative: 1.0 1.0;
|
rel2.relative: 1.0 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "bottom_sheet";
|
part { name: "bottom_sheet";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -286,7 +270,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
rel2.relative: 1.0 0.0;
|
rel2.relative: 1.0 0.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "elm.bottom";
|
part { name: "elm.bottom";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
clip_to: "bottom_clipper";
|
clip_to: "bottom_clipper";
|
||||||
|
@ -311,7 +294,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
|
rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "top_sheet_static";
|
part { name: "top_sheet_static";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -321,7 +303,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
image.normal: "flip_t.png";
|
image.normal: "flip_t.png";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "top_b";
|
part { name: "top_b";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
clip_to: "top_clipper";
|
clip_to: "top_clipper";
|
||||||
|
@ -341,7 +322,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "top_sheet";
|
part { name: "top_sheet";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -357,7 +337,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
rel1.relative: 0.0 1.0;
|
rel1.relative: 0.0 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "elm.top";
|
part { name: "elm.top";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
clip_to: "top_clipper";
|
clip_to: "top_clipper";
|
||||||
|
@ -381,7 +360,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
rel1.relative: 0.0 0.5;
|
rel1.relative: 0.0 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part { name: "arrow_top";
|
part { name: "arrow_top";
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
clip_to: "disclip";
|
clip_to: "disclip";
|
||||||
|
@ -416,7 +394,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
visible: 0;
|
visible: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part {
|
part {
|
||||||
type: RECT;
|
type: RECT;
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
|
@ -429,7 +406,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part {
|
part {
|
||||||
type: RECT;
|
type: RECT;
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
|
@ -442,7 +418,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
visible: 1;
|
visible: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part {
|
part {
|
||||||
type: RECT;
|
type: RECT;
|
||||||
name: "disclip";
|
name: "disclip";
|
||||||
|
@ -455,7 +430,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
color: 100 100 100 100;
|
color: 100 100 100 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
part {
|
part {
|
||||||
type: RECT;
|
type: RECT;
|
||||||
name: "event_blocker";
|
name: "event_blocker";
|
||||||
|
@ -472,7 +446,6 @@ group { name: "elm/flipselector/base/default";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
programs {
|
programs {
|
||||||
program { name: "load";
|
program { name: "load";
|
||||||
signal: "load";
|
signal: "load";
|
||||||
|
|
Loading…
Reference in New Issue