formatting a bit in theme.... panel still.. not.. formatted...
SVN revision: 45618
This commit is contained in:
parent
0cee32572c
commit
a8cd33d016
|
@ -21999,177 +21999,176 @@ collections {
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// PANEL
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
group
|
||||
{
|
||||
name: "elm/panel/base/left";
|
||||
images
|
||||
{
|
||||
image: "bt_base1.png" COMP;
|
||||
image: "bt_hilight.png" COMP;
|
||||
image: "bt_shine.png" COMP;
|
||||
image: "bt_glow.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
image: "icon_arrow_left.png" COMP;
|
||||
image: "icon_arrow_right.png" COMP;
|
||||
}
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
name: "bg";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1.offset: 30 0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "base";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel2
|
||||
{
|
||||
offset: -20 -1;
|
||||
to_x: "bg";
|
||||
group {
|
||||
name: "elm/panel/base/left";
|
||||
images
|
||||
{
|
||||
image: "bt_base1.png" COMP;
|
||||
image: "bt_hilight.png" COMP;
|
||||
image: "bt_shine.png" COMP;
|
||||
image: "bt_glow.png" COMP;
|
||||
image: "bt_dis_base.png" COMP;
|
||||
image: "icon_arrow_left.png" COMP;
|
||||
image: "icon_arrow_right.png" COMP;
|
||||
}
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
name: "bg";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1.offset: 30 0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "base";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel2
|
||||
{
|
||||
offset: -20 -1;
|
||||
to_x: "bg";
|
||||
}
|
||||
image
|
||||
{
|
||||
normal: "bt_dis_base.png";
|
||||
border: 4 4 4 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "clipper";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1
|
||||
{
|
||||
offset: 4 4;
|
||||
to: "base";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
offset: -5 -5;
|
||||
to: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "elm.swallow.content";
|
||||
type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "clipper";
|
||||
rel2.to: "clipper";
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn";
|
||||
type: IMAGE;
|
||||
mouse_events: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
max: 32 48;
|
||||
fixed: 1 1;
|
||||
align: 0.0 0.5;
|
||||
rel1
|
||||
{
|
||||
relative: 1.0 0.0;
|
||||
offset: -3 0;
|
||||
to_x: "base";
|
||||
}
|
||||
rel2.to_x: "bg";
|
||||
image
|
||||
{
|
||||
normal: "bt_base1.png";
|
||||
border: 0 5 4 12;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn_over";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "btn";
|
||||
rel2
|
||||
{
|
||||
relative: 1.0 0.5;
|
||||
to: "btn";
|
||||
}
|
||||
image
|
||||
{
|
||||
normal: "bt_hilight.png";
|
||||
border: 0 7 7 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn_over2";
|
||||
type: IMAGE;
|
||||
mouse_events: 1;
|
||||
repeat_events: 1;
|
||||
ignore_flags: ON_HOLD;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "btn";
|
||||
rel2.to: "btn";
|
||||
image
|
||||
{
|
||||
normal: "bt_shine.png";
|
||||
border: 0 7 7 7;
|
||||
}
|
||||
image
|
||||
{
|
||||
normal: "bt_dis_base.png";
|
||||
border: 4 4 4 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "clipper";
|
||||
type: RECT;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1
|
||||
{
|
||||
offset: 4 4;
|
||||
to: "base";
|
||||
}
|
||||
rel2
|
||||
{
|
||||
offset: -5 -5;
|
||||
to: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "elm.swallow.content";
|
||||
type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "clipper";
|
||||
rel2.to: "clipper";
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn";
|
||||
type: IMAGE;
|
||||
mouse_events: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
max: 32 48;
|
||||
fixed: 1 1;
|
||||
align: 0.0 0.5;
|
||||
rel1
|
||||
{
|
||||
relative: 1.0 0.0;
|
||||
offset: -3 0;
|
||||
to_x: "base";
|
||||
}
|
||||
rel2.to_x: "bg";
|
||||
image
|
||||
{
|
||||
normal: "bt_base1.png";
|
||||
border: 0 5 4 12;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn_over";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "btn";
|
||||
rel2
|
||||
{
|
||||
relative: 1.0 0.5;
|
||||
to: "btn";
|
||||
}
|
||||
image
|
||||
{
|
||||
normal: "bt_hilight.png";
|
||||
border: 0 7 7 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn_over2";
|
||||
type: IMAGE;
|
||||
mouse_events: 1;
|
||||
repeat_events: 1;
|
||||
ignore_flags: ON_HOLD;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "btn";
|
||||
rel2.to: "btn";
|
||||
image
|
||||
{
|
||||
normal: "bt_shine.png";
|
||||
border: 0 7 7 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn_over3";
|
||||
type: IMAGE;
|
||||
mouse_events: 1;
|
||||
repeat_events: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1.to: "btn";
|
||||
rel2.to: "btn";
|
||||
image
|
||||
{
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn_over3";
|
||||
type: IMAGE;
|
||||
mouse_events: 1;
|
||||
repeat_events: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1.to: "btn";
|
||||
rel2.to: "btn";
|
||||
image
|
||||
{
|
||||
normal: "bt_glow.png";
|
||||
border: 12 12 12 12;
|
||||
}
|
||||
|
@ -22182,157 +22181,142 @@ group
|
|||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn_icon";
|
||||
type: IMAGE;
|
||||
repeat_events: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "btn";
|
||||
rel2.to: "btn";
|
||||
align: 0.5 0.5;
|
||||
min: 16 16;
|
||||
max: 16 16;
|
||||
image.normal: "icon_arrow_right.png";
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "icon_arrow_left.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs
|
||||
{
|
||||
program
|
||||
{
|
||||
name: "show";
|
||||
signal: "elm,action,show";
|
||||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "bg";
|
||||
target: "btn_icon";
|
||||
transition: LINEAR 0.5;
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "show2";
|
||||
signal: "show";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bg";
|
||||
target: "btn_icon";
|
||||
after: "show3";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "show3";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "bg";
|
||||
target: "btn_icon";
|
||||
transition: LINEAR 0.5;
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "hide";
|
||||
signal: "elm,action,hide";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bg";
|
||||
target: "btn_icon";
|
||||
transition: LINEAR 0.5;
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_click";
|
||||
signal: "mouse,down,1";
|
||||
source: "btn_over2";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "btn";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_unclick";
|
||||
signal: "mouse,up,1";
|
||||
source: "btn_over2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "btn";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_click2";
|
||||
signal: "mouse,down,1";
|
||||
source: "btn_over3";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "btn_over3";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_unclick2";
|
||||
signal: "mouse,up,1";
|
||||
source: "btn_over3";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "btn_over3";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_unclick3";
|
||||
signal: "mouse,up,1";
|
||||
source: "btn_over2";
|
||||
action: SIGNAL_EMIT "elm,action,panel,toggle" "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "btn_icon";
|
||||
type: IMAGE;
|
||||
repeat_events: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.to: "btn";
|
||||
rel2.to: "btn";
|
||||
align: 0.5 0.5;
|
||||
min: 16 16;
|
||||
max: 16 16;
|
||||
image.normal: "icon_arrow_right.png";
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "icon_arrow_left.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs
|
||||
{
|
||||
program
|
||||
{
|
||||
name: "show";
|
||||
signal: "elm,action,show";
|
||||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "bg";
|
||||
target: "btn_icon";
|
||||
transition: LINEAR 0.5;
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "show2";
|
||||
signal: "show";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bg";
|
||||
target: "btn_icon";
|
||||
after: "show3";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "show3";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "bg";
|
||||
target: "btn_icon";
|
||||
transition: LINEAR 0.5;
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "hide";
|
||||
signal: "elm,action,hide";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bg";
|
||||
target: "btn_icon";
|
||||
transition: LINEAR 0.5;
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_click";
|
||||
signal: "mouse,down,1";
|
||||
source: "btn_over2";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "btn";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_unclick";
|
||||
signal: "mouse,up,1";
|
||||
source: "btn_over2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "btn";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_click2";
|
||||
signal: "mouse,down,1";
|
||||
source: "btn_over3";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "btn_over3";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_unclick2";
|
||||
signal: "mouse,up,1";
|
||||
source: "btn_over3";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "btn_over3";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "btn_unclick3";
|
||||
signal: "mouse,up,1";
|
||||
source: "btn_over2";
|
||||
action: SIGNAL_EMIT "elm,action,panel,toggle" "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
group
|
||||
{
|
||||
name: "elm/conformant/base/default";
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
name: "elm.swallow.shelf";
|
||||
type: SWALLOW;
|
||||
description
|
||||
{
|
||||
fixed: 1 1;
|
||||
state: "default" 0.0;
|
||||
align: 0.0 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "elm.swallow.content";
|
||||
type: SWALLOW;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
align: 0.0 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to_y: "elm.swallow.shelf";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.to_y: "elm.swallow.panel";
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "elm.swallow.panel";
|
||||
type: SWALLOW;
|
||||
description
|
||||
{
|
||||
fixed: 1 1;
|
||||
state: "default" 0.0;
|
||||
align: 0.0 1.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
group { name: "elm/conformant/base/default";
|
||||
parts {
|
||||
part { name: "elm.swallow.shelf";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.0 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.5 0.5;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to_y: "elm.swallow.shelf";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.to_y: "elm.swallow.panel";
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.panel";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.0 1.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue