bgselector active blocks overlays
This commit is contained in:
parent
da8562e8ad
commit
e8f37c4f58
|
@ -31,7 +31,7 @@ collections {
|
||||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "text_clip"; type: RECT; mouse_events: 0;
|
part { name: "bgchooser_active_clip"; type: RECT; mouse_events: 0;
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
}
|
}
|
||||||
description { state: "hidden";
|
description { state: "hidden";
|
||||||
|
@ -42,12 +42,12 @@ collections {
|
||||||
program { name: "text_show";
|
program { name: "text_show";
|
||||||
action: STATE_SET "default" 0.0;
|
action: STATE_SET "default" 0.0;
|
||||||
transition: LINEAR 0.2 CURRENT;
|
transition: LINEAR 0.2 CURRENT;
|
||||||
target: "text_clip";
|
target: "bgchooser_active_clip";
|
||||||
}
|
}
|
||||||
program { name: "text_hide";
|
program { name: "text_hide";
|
||||||
action: STATE_SET "hidden" 0.0;
|
action: STATE_SET "hidden" 0.0;
|
||||||
transition: LINEAR 0.2 CURRENT;
|
transition: LINEAR 0.2 CURRENT;
|
||||||
target: "text_clip";
|
target: "bgchooser_active_clip";
|
||||||
}
|
}
|
||||||
part { name: EMPC_BASE_SWALLOW_BACKGROUND; type: SWALLOW;
|
part { name: EMPC_BASE_SWALLOW_BACKGROUND; type: SWALLOW;
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
|
@ -136,7 +136,7 @@ collections {
|
||||||
after: "empc_bg_done";
|
after: "empc_bg_done";
|
||||||
}
|
}
|
||||||
part { name: EMPC_BASE_TEXT_ARTIST; type: TEXT; mouse_events: 0;
|
part { name: EMPC_BASE_TEXT_ARTIST; type: TEXT; mouse_events: 0;
|
||||||
clip_to: "text_clip";
|
clip_to: "bgchooser_active_clip";
|
||||||
effect: GLOW;
|
effect: GLOW;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
|
@ -153,7 +153,7 @@ collections {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: EMPC_BASE_TEXT_ALBUM; type: TEXT; mouse_events: 0;
|
part { name: EMPC_BASE_TEXT_ALBUM; type: TEXT; mouse_events: 0;
|
||||||
clip_to: "text_clip";
|
clip_to: "bgchooser_active_clip";
|
||||||
effect: GLOW;
|
effect: GLOW;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
|
@ -192,7 +192,7 @@ collections {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "title_clip"; type: RECT; mouse_events: 0;
|
part { name: "title_clip"; type: RECT; mouse_events: 0;
|
||||||
clip_to: "text_clip";
|
clip_to: "bgchooser_active_clip";
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
}
|
}
|
||||||
description { state: "left";
|
description { state: "left";
|
||||||
|
@ -203,7 +203,7 @@ collections {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "title_animator"; type: TEXT; mouse_events: 0;
|
part { name: "title_animator"; type: TEXT; mouse_events: 0;
|
||||||
clip_to: "text_clip";
|
clip_to: "bgchooser_active_clip";
|
||||||
effect: GLOW;
|
effect: GLOW;
|
||||||
scale: 1;
|
scale: 1;
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
|
@ -316,6 +316,7 @@ collections {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "playlist_events"; type: RECT; repeat_events: 1;
|
part { name: "playlist_events"; type: RECT; repeat_events: 1;
|
||||||
|
clip_to: "bgchooser_active_clip";
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
min: 16 16;
|
min: 16 16;
|
||||||
color: 0 0 0 0;
|
color: 0 0 0 0;
|
||||||
|
@ -336,6 +337,7 @@ collections {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "controls_events"; type: RECT; repeat_events: 1;
|
part { name: "controls_events"; type: RECT; repeat_events: 1;
|
||||||
|
clip_to: "bgchooser_active_clip";
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
min: 16 16;
|
min: 16 16;
|
||||||
color: 0 0 0 0;
|
color: 0 0 0 0;
|
||||||
|
@ -399,9 +401,12 @@ collections {
|
||||||
program { name: "playlist_show";
|
program { name: "playlist_show";
|
||||||
filter: EMPC_BASE_SWALLOW_PLAYLIST "default";
|
filter: EMPC_BASE_SWALLOW_PLAYLIST "default";
|
||||||
signal: "empc,playlist,show"; source: "empc";
|
signal: "empc,playlist,show"; source: "empc";
|
||||||
action: ACTION_STOP;
|
script {
|
||||||
target: "playlist_hide_start";
|
if (!get_int(bg_chooser)) {
|
||||||
after: "playlist_show_start";
|
stop_program(get_program_id("playlist_hide_start"));
|
||||||
|
run_program(get_program_id("playlist_show_start"));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
program { name: "playlist_show_start";
|
program { name: "playlist_show_start";
|
||||||
action: STATE_SET "visible" 0.0;
|
action: STATE_SET "visible" 0.0;
|
||||||
|
@ -450,9 +455,12 @@ collections {
|
||||||
program { name: "controls_show";
|
program { name: "controls_show";
|
||||||
filter: EMPC_BASE_SWALLOW_CONTROLS "default";
|
filter: EMPC_BASE_SWALLOW_CONTROLS "default";
|
||||||
signal: "empc,controls,show"; source: "empc";
|
signal: "empc,controls,show"; source: "empc";
|
||||||
action: ACTION_STOP;
|
script {
|
||||||
target: "controls_hide_start";
|
if (!get_int(bg_chooser)) {
|
||||||
after: "controls_show_start";
|
stop_program(get_program_id("controls_hide_start"));
|
||||||
|
run_program(get_program_id("controls_show_start"));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
program { name: "controls_show_start";
|
program { name: "controls_show_start";
|
||||||
action: STATE_SET "visible" 0.0;
|
action: STATE_SET "visible" 0.0;
|
||||||
|
|
Loading…
Reference in New Issue