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

@ -596,7 +596,8 @@ collections
{ {
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;
@ -610,76 +611,6 @@ collections
} }
} }
part part
{
name:"labels";
type:RECT;
mouse_events:0;
description
{
state:"default" 0.00;
visible:1;
rel1
{
relative:0.00 0.00;
offset:0 0;
to:"base";
}
rel2
{
relative:0.25 1.00;
offset:0 0;
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"; name: "mpdule.artist_label";
type: TEXT; type: TEXT;
@ -693,18 +624,15 @@ collections
fixed: 1 1; fixed: 1 1;
rel1 rel1
{ {
relative:-0.00 0.00; relative: 0.00 0.00;
offset:0 0; offset: 5 0;
to:"labels"; to: "base";
} }
rel2 rel2
{ {
relative:1.00 0.00; relative: 0.00 0.25;
offset:0 16; to: "base";
to:"labels";
} }
color:0 0 0 255;
color3:255 255 255 128;
text text
{ {
text: "Artist:"; text: "Artist:";
@ -717,6 +645,41 @@ collections
} }
} }
part part
{
name: "mpdule.artist";
type: TEXT;
effect: OUTLINE_SOFT_SHADOW;
clip_to: "base";
description
{
state: "default" 0.00;
visible: 1;
align: 0.00 0.50;
fixed: 0 1;
rel1
{
relative: 1.00 0.00;
offset: 5 0;
to_x: "mpdule.artist_label";
to_y: "base";
}
rel2
{
relative: 1.00 0.25;
to: "base";
}
text
{
text: "";
text_class: "mpdule";
font: "Sans:style=Bold";
size: 10;
align: 0.0 0.50;
ellipsis: 0.0;
}
}
}
part
{ {
name: "mpdule.title_label"; name: "mpdule.title_label";
type: TEXT; type: TEXT;
@ -727,22 +690,18 @@ collections
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.artist_label";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 0.00 0.50;
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: "Title:";
@ -755,10 +714,44 @@ collections
} }
} }
part part
{
name: "mpdule.title";
type: TEXT;
effect: OUTLINE_SOFT_SHADOW;
clip_to: "base";
description
{
state: "default" 0.00;
visible: 1;
align: 0.00 0.50;
fixed: 0 1;
rel1
{
relative: 1.00 0.25;
offset: 5 0;
to_x: "mpdule.title_label";
to_y: "base";
}
rel2
{
relative: 1.00 0.50;
to: "base";
}
text
{
text: "";
text_class: "mpdule";
font: "Sans:style=Bold";
size: 10;
align: 0.0 0.50;
ellipsis: 0.0;
}
}
}
part
{ {
name: "mpdule.album_label"; name: "mpdule.album_label";
type: TEXT; type: TEXT;
mouse_events:0;
effect: SHADOW; effect: SHADOW;
clip_to: "base"; clip_to: "base";
description description
@ -766,22 +759,18 @@ collections
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.50;
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.75;
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: "Album:";
@ -795,32 +784,63 @@ collections
} }
part part
{ {
name:"mpdule.genre_label"; name: "mpdule.album";
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.50;
offset:0 0; offset: 5 0;
to_x:"labels"; to_x: "mpdule.album_label";
to_y:"mpdule.album_label"; to_y: "base";
} }
rel2 rel2
{ {
relative:1.00 1.00; relative: 1.00 0.75;
offset:0 12; to: "base";
to_x:"labels"; }
to_y:"mpdule.album_label"; text
{
text: "";
text_class: "mpdule";
font: "Sans:style=Bold";
size: 10;
align: 0.0 0.50;
ellipsis: 0.0;
}
}
}
part
{
name: "mpdule.genre_label";
type: TEXT;
mouse_events: 0;
effect: OUTLINE_SOFT_SHADOW;
clip_to: "base";
description
{
state: "default" 0.00;
visible: 1;
align: 0.00 0.50;
fixed: 1 1;
rel1
{
relative: 0.00 0.75;
offset: 5 0;
to: "base";
}
rel2
{
relative: 0.00 1.00;
to: "base";
} }
color:0 0 0 255;
color3:255 255 255 128;
text text
{ {
text: "Genre:"; text: "Genre:";
@ -833,152 +853,40 @@ collections
} }
} }
part part
{
name:"mpdule.artist";
type:TEXT;
effect:NONE;
clip_to:"base";
description
{
state:"default" 0.00;
visible:1;
align:0.00 0.50;
rel1
{
relative:0.00 0.00;
offset:0 0;
to_x:"values";
to_y:"mpdule.artist_label";
}
rel2
{
relative:1.00 1.00;
to_x:"values";
to_y:"mpdule.artist_label";
}
color:0 0 0 255;
text
{
text:"";
text_class:"mpdule";
font:"Sans:style=Bold";
size:10;
min:1 1;
align:0.0 0.50;
}
}
}
part
{
name:"mpdule.title";
type:TEXT;
effect:NONE;
clip_to:"base";
description
{
state:"default" 0.00;
visible:1;
align:0.00 0.50;
rel1
{
relative:0.00 0.00;
offset:0 0;
to_x:"values";
to_y:"mpdule.title_label";
}
rel2
{
relative:1.00 1.00;
to_x:"values";
to_y:"mpdule.title_label";
}
color:0 0 0 255;
text
{
text:"";
text_class:"mpdule";
font:"Sans:style=Bold";
size:10;
min:1 1;
align:0.0 0.50;
}
}
}
part
{
name:"mpdule.album";
type:TEXT;
effect:NONE;
clip_to:"base";
description
{
state:"default" 0.00;
visible:1;
align:0.00 0.50;
rel1
{
relative:0.00 0.00;
offset:0 0;
to_x:"values";
to_y:"mpdule.album_label";
}
rel2
{
relative:1.00 1.00;
to_x:"values";
to_y:"mpdule.album_label";
}
color:0 0 0 255;
text
{
text:"";
text_class:"mpdule";
font:"Sans:style=Bold";
size:10;
min:1 1;
align:0.0 0.50;
}
}
}
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
{
}
} }
} }