You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
1.7 KiB
90 lines
1.7 KiB
16 years ago
|
group
|
||
|
{
|
||
|
name: "/ephoto/select";
|
||
|
parts
|
||
|
{
|
||
|
part
|
||
|
{
|
||
|
name: "selection";
|
||
|
type: RECT;
|
||
|
mouse_events: 1;
|
||
|
description
|
||
|
{
|
||
|
state: "default" 0.0;
|
||
|
color: 0 0 0 0;
|
||
|
visible: 0;
|
||
|
}
|
||
|
description
|
||
|
{
|
||
|
state: "selected" 0.0;
|
||
|
color: 71 135 195 255;
|
||
|
visible: 1;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
programs
|
||
|
{
|
||
|
program
|
||
|
{
|
||
|
name: "select";
|
||
|
signal: "selected";
|
||
|
source: "*";
|
||
|
action: STATE_SET "selected" 0.0;
|
||
|
target: "selection";
|
||
|
}
|
||
|
program
|
||
|
{
|
||
|
name: "unselect";
|
||
|
signal: "unselected";
|
||
|
source: "*";
|
||
|
action: STATE_SET "default" 0.0;
|
||
|
target: "selection";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
group
|
||
|
{
|
||
|
name: "/ephoto/select/highlight";
|
||
|
parts
|
||
|
{
|
||
|
part
|
||
|
{
|
||
|
name: "highlight";
|
||
|
type: RECT;
|
||
|
mouse_events: 1;
|
||
|
description
|
||
|
{
|
||
|
state: "default" 0.0;
|
||
|
color: 0 0 0 0;
|
||
|
visible: 0;
|
||
|
}
|
||
|
description
|
||
|
{
|
||
|
state: "highlighted" 0.0;
|
||
|
color: 71 135 195 255;
|
||
|
visible: 1;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
programs
|
||
|
{
|
||
|
program
|
||
|
{
|
||
|
name: "highlighted";
|
||
|
signal: "mouse,in";
|
||
|
source: "*";
|
||
|
action: STATE_SET "highlighted" 0.0;
|
||
|
target: "highlight";
|
||
|
}
|
||
|
program
|
||
|
{
|
||
|
name: "default";
|
||
|
signal: "mouse,out";
|
||
|
source: "*";
|
||
|
action: STATE_SET "default" 0.0;
|
||
|
target: "highlight";
|
||
|
}
|
||
|
}
|
||
|
}
|