mpdule: rewrite mpdule/popup group

SVN revision: 58194
This commit is contained in:
Boris Faure 2011-03-30 07:59:58 +00:00
parent c20c1d6d04
commit 0c544a025d
1 changed files with 169 additions and 261 deletions

View File

@ -584,401 +584,309 @@ collections
} }
group group
{ {
name:"modules/mpdule/popup"; name: "modules/mpdule/popup";
parts parts
{ {
part part
{ {
name:"base"; name: "base";
type:RECT; type: RECT;
mouse_events:0; mouse_events: 0;
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
min:200 65; min: 300 65;
color: 255 255 255 255;
rel1 rel1
{ {
relative:0.00 0.00; relative: 0.00 0.00;
offset:5 5; offset: 5 5;
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 1.00 1.00;
offset:-5 -5; offset: -5 -5;
} }
} }
} }
part part
{ {
name:"labels"; name: "mpdule.artist_label";
type:RECT; type: TEXT;
mouse_events:0; effect: SHADOW;
clip_to: "base";
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
align: 0.00 0.50;
fixed: 1 1;
rel1 rel1
{ {
relative:0.00 0.00; relative: 0.00 0.00;
offset:0 0; offset: 5 0;
to:"base"; to: "base";
} }
rel2 rel2
{ {
relative:0.25 1.00; relative: 0.00 0.25;
offset:0 0; to: "base";
to:"base";
} }
color:255 255 255 0;
}
}
part
{
name:"values";
type:RECT;
mouse_events:0;
description
{
state:"default" 0.00;
visible:1;
rel1
{
relative:0.25 0.00;
offset:0 0;
to:"base";
}
rel2
{
relative:1.00 1.00;
offset:0 0;
to:"base";
}
color:255 255 255 0;
}
}
part
{
name:"item_clip";
type:RECT;
description
{
state:"default" 0.00;
visible:1;
min:5 5;
rel1
{
relative:0.00 0.00;
offset:0 0;
}
rel2
{
relative:1.00 1.00;
offset:-1 -1;
}
color:255 255 255 0;
}
}
part
{
name:"mpdule.artist_label";
type:TEXT;
effect:SHADOW;
clip_to:"base";
description
{
state:"default" 0.00;
visible:1;
align:0.00 0.50;
fixed:1 1;
rel1
{
relative:-0.00 0.00;
offset:0 0;
to:"labels";
}
rel2
{
relative:1.00 0.00;
offset:0 16;
to:"labels";
}
color:0 0 0 255;
color3:255 255 255 128;
text text
{ {
text:"Artist:"; text: "Artist:";
text_class:"mpdule"; text_class: "mpdule";
font:"Sans:style=Mono"; font: "Sans:style=Mono";
size:10; size: 10;
min:1 1; min: 1 1;
align:1.0 0.50; align: 1.0 0.50;
} }
} }
} }
part part
{ {
name:"mpdule.title_label"; name: "mpdule.artist";
type:TEXT; type: TEXT;
effect:SHADOW; effect: OUTLINE_SOFT_SHADOW;
clip_to:"base"; clip_to: "base";
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
align:0.00 0.50; align: 0.00 0.50;
fixed: 0 1;
rel1 rel1
{ {
relative:0.00 1.00; relative: 1.00 0.00;
offset:0 0; offset: 5 0;
to_x:"labels"; to_x: "mpdule.artist_label";
to_y:"mpdule.artist_label"; to_y: "base";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 1.00 0.25;
offset:0 12; to: "base";
to_x:"labels";
to_y:"mpdule.artist_label";
} }
color:0 0 0 255;
color3:255 255 255 128;
text text
{ {
text:"Title:"; text: "";
text_class:"mpdule"; text_class: "mpdule";
font:"Sans:style=Mono"; font: "Sans:style=Bold";
size:10; size: 10;
min:1 1; align: 0.0 0.50;
align:1.0 0.50; ellipsis: 0.0;
} }
} }
} }
part part
{ {
name:"mpdule.album_label"; name: "mpdule.title_label";
type:TEXT; type: TEXT;
mouse_events:0; effect: SHADOW;
effect:SHADOW; clip_to: "base";
clip_to:"base";
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
align:0.00 0.50; align: 0.00 0.50;
fixed: 1 1;
rel1 rel1
{ {
relative:0.00 1.00; relative: 0.00 0.25;
offset:0 0; offset: 5 0;
to_x:"labels"; to: "base";
to_y:"mpdule.title_label";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 0.00 0.50;
offset:0 12; to: "base";
to_x:"labels";
to_y:"mpdule.title_label";
} }
color:0 0 0 255;
color3:255 255 255 128;
text text
{ {
text:"Album:"; text: "Title:";
text_class:"mpdule"; text_class: "mpdule";
font:"Sans:style=Mono"; font: "Sans:style=Mono";
size:10; size: 10;
min:1 1; min: 1 1;
align:1.0 0.50; align: 1.0 0.50;
} }
} }
} }
part part
{ {
name:"mpdule.genre_label"; name: "mpdule.title";
type:TEXT; type: TEXT;
mouse_events:0; effect: OUTLINE_SOFT_SHADOW;
effect:SHADOW; clip_to: "base";
clip_to:"base";
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
align:0.00 0.50; align: 0.00 0.50;
fixed: 0 1;
rel1 rel1
{ {
relative:0.00 1.00; relative: 1.00 0.25;
offset:0 0; offset: 5 0;
to_x:"labels"; to_x: "mpdule.title_label";
to_y:"mpdule.album_label"; to_y: "base";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 1.00 0.50;
offset:0 12; to: "base";
to_x:"labels";
to_y:"mpdule.album_label";
} }
color:0 0 0 255;
color3:255 255 255 128;
text text
{ {
text:"Genre:"; text: "";
text_class:"mpdule"; text_class: "mpdule";
font:"Sans:style=Mono"; font: "Sans:style=Bold";
size:10; size: 10;
min:1 1; align: 0.0 0.50;
align:1.0 0.50; ellipsis: 0.0;
} }
} }
} }
part part
{ {
name:"mpdule.artist"; name: "mpdule.album_label";
type:TEXT; type: TEXT;
effect:NONE; effect: SHADOW;
clip_to:"base"; clip_to: "base";
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
align:0.00 0.50; align: 0.00 0.50;
fixed: 1 1;
rel1 rel1
{ {
relative:0.00 0.00; relative: 0.00 0.50;
offset:0 0; offset: 5 0;
to_x:"values"; to: "base";
to_y:"mpdule.artist_label";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 0.00 0.75;
to_x:"values"; to: "base";
to_y:"mpdule.artist_label";
} }
color:0 0 0 255;
text text
{ {
text:""; text: "Album:";
text_class:"mpdule"; text_class: "mpdule";
font:"Sans:style=Bold"; font: "Sans:style=Mono";
size:10; size: 10;
min:1 1; min: 1 1;
align:0.0 0.50; align: 1.0 0.50;
} }
} }
} }
part part
{ {
name:"mpdule.title"; name: "mpdule.album";
type:TEXT; type: TEXT;
effect:NONE; effect: OUTLINE_SOFT_SHADOW;
clip_to:"base"; clip_to: "base";
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
align:0.00 0.50; align: 0.00 0.50;
fixed: 0 1;
rel1 rel1
{ {
relative:0.00 0.00; relative: 1.00 0.50;
offset:0 0; offset: 5 0;
to_x:"values"; to_x: "mpdule.album_label";
to_y:"mpdule.title_label"; to_y: "base";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 1.00 0.75;
to_x:"values"; to: "base";
to_y:"mpdule.title_label";
} }
color:0 0 0 255;
text text
{ {
text:""; text: "";
text_class:"mpdule"; text_class: "mpdule";
font:"Sans:style=Bold"; font: "Sans:style=Bold";
size:10; size: 10;
min:1 1; align: 0.0 0.50;
align:0.0 0.50; ellipsis: 0.0;
} }
} }
} }
part part
{ {
name:"mpdule.album"; name: "mpdule.genre_label";
type:TEXT; type: TEXT;
effect:NONE; mouse_events: 0;
clip_to:"base"; effect: OUTLINE_SOFT_SHADOW;
clip_to: "base";
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
align:0.00 0.50; align: 0.00 0.50;
fixed: 1 1;
rel1 rel1
{ {
relative:0.00 0.00; relative: 0.00 0.75;
offset:0 0; offset: 5 0;
to_x:"values"; to: "base";
to_y:"mpdule.album_label";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 0.00 1.00;
to_x:"values"; to: "base";
to_y:"mpdule.album_label";
} }
color:0 0 0 255;
text text
{ {
text:""; text: "Genre:";
text_class:"mpdule"; text_class: "mpdule";
font:"Sans:style=Bold"; font: "Sans:style=Mono";
size:10; size: 10;
min:1 1; min: 1 1;
align:0.0 0.50; align: 1.0 0.50;
} }
} }
} }
part part
{ {
name:"mpdule.genre"; name: "mpdule.genre";
type:TEXT; type: TEXT;
effect:NONE; effect: SHADOW;
clip_to:"base"; clip_to: "base";
description description
{ {
state:"default" 0.00; state: "default" 0.00;
visible:1; visible: 1;
align:0.00 0.50; align: 0.00 0.50;
fixed: 0 1;
rel1 rel1
{ {
relative:0.00 0.00; relative: 1.00 0.75;
offset:0 0; offset: 5 0;
to_x:"values"; to_x: "mpdule.genre_label";
to_y:"mpdule.genre_label"; to_y: "base";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 1.00 1.00;
to_x:"values"; to: "base";
to_y:"mpdule.genre_label";
} }
color:0 0 0 255;
text text
{ {
text:""; text: "looooonnnnnngggg sssshhhhhhiiiiiiiitttttt";
text_class:"mpdule"; text_class: "mpdule";
font:"Sans:style=Bold"; font: "Sans:style=Bold";
size:10; size: 10;
min:1 1; align: 0.0 0.50;
align:0.0 0.50; ellipsis: 0.0;
} }
} }
} }
} }
programs
{
}
} }
} }