E (RandR): Add a better indication for a monitor which is "disabled".

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77759
This commit is contained in:
Christopher Michael 2012-10-10 12:59:47 +00:00 committed by Christopher Michael
parent 4e3677932a
commit 23ba231497
1 changed files with 60 additions and 47 deletions

View File

@ -39897,12 +39897,6 @@ CONNMAN_ICON(ethernet)
state: "default" 0.0; state: "default" 0.0;
color: 255 255 255 0; color: 255 255 255 0;
} }
description
{
state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 0 0 64;
}
} }
part part
{ {
@ -40232,34 +40226,6 @@ CONNMAN_ICON(ethernet)
} }
} }
} }
part
{
name: "indicator";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1
{
offset: -13 0;
to: "e.event.resize";
}
rel2
{
relative: 0.0 1.0;
offset: 0 -1;
to: "e.event.resize";
}
image.normal: "randr_icon_on.png";
}
description
{
state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "randr_icon_off.png";
}
}
/* we will use a rect in this theme. Other themes could use /* we will use a rect in this theme. Other themes could use
* an icon to indicate rotate (or whatever they want). * an icon to indicate rotate (or whatever they want).
@ -40290,19 +40256,6 @@ CONNMAN_ICON(ethernet)
} }
} }
part
{
name: "e.event.indicator";
type: RECT;
description
{
state: "default" 0.0;
color: 255 255 255 0;
rel1.to: "indicator";
rel2.to: "indicator";
}
}
/* we will use a rect in this theme. Other themes could use /* we will use a rect in this theme. Other themes could use
* an icon to indicate resize (or whatever they want). * an icon to indicate resize (or whatever they want).
* *
@ -40326,6 +40279,64 @@ CONNMAN_ICON(ethernet)
rel2.to: "frame"; rel2.to: "frame";
} }
} }
part
{
name: "overlay";
type: RECT;
description
{
state: "default" 0.0;
color: 255 255 255 128;
visible: 0;
}
description
{
state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part
{
name: "indicator";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1
{
offset: -13 0;
to: "e.event.resize";
}
rel2
{
relative: 0.0 1.0;
offset: 0 -1;
to: "e.event.resize";
}
image.normal: "randr_icon_on.png";
}
description
{
state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "randr_icon_off.png";
}
}
part
{
name: "e.event.indicator";
type: RECT;
description
{
state: "default" 0.0;
color: 255 255 255 0;
rel1.to: "indicator";
rel2.to: "indicator";
}
}
} }
programs programs
{ {
@ -40413,6 +40424,7 @@ CONNMAN_ICON(ethernet)
source: "e"; source: "e";
action: STATE_SET "default" 0.0; action: STATE_SET "default" 0.0;
target: "indicator"; target: "indicator";
target: "overlay";
} }
program program
{ {
@ -40421,6 +40433,7 @@ CONNMAN_ICON(ethernet)
source: "e"; source: "e";
action: STATE_SET "disabled" 0.0; action: STATE_SET "disabled" 0.0;
target: "indicator"; target: "indicator";
target: "overlay";
} }
program program
{ {