Add theme entries for options frame and icons
Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
c94f5794e1
commit
2742c3205e
|
@ -8,7 +8,7 @@ color_classes
|
|||
|
||||
collections
|
||||
{
|
||||
group
|
||||
group
|
||||
{
|
||||
name: "express/base";
|
||||
parts
|
||||
|
@ -22,6 +22,71 @@ collections
|
|||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "dismiss";
|
||||
type: SWALLOW;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "options";
|
||||
type: SWALLOW;
|
||||
scale: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 10 10;
|
||||
align: 0.0 0.5;
|
||||
visible: 0;
|
||||
rel1
|
||||
{
|
||||
relative: 1.0 0.5;
|
||||
offset: 8 8;
|
||||
}
|
||||
rel2
|
||||
{
|
||||
relative: 1.0 0.5;
|
||||
offset: 8 -9;
|
||||
}
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
align: 1.0 0.5;
|
||||
rel1
|
||||
{
|
||||
relative: 1.0 0.5;
|
||||
offset: -9 8;
|
||||
}
|
||||
rel2.offset: -9 -9;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs
|
||||
{
|
||||
program
|
||||
{
|
||||
signal: "options,show";
|
||||
source: "express";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.3;
|
||||
target: "options";
|
||||
}
|
||||
program
|
||||
{
|
||||
signal: "options,hide";
|
||||
source: "express";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "options";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1564,4 +1629,30 @@ collections
|
|||
}
|
||||
}
|
||||
|
||||
#define ICON(grp, img) \
|
||||
group \
|
||||
{ \
|
||||
name: "elm/icon/"##grp##"/default"; \
|
||||
min: 10 10; \
|
||||
max: 80 80; \
|
||||
images.image: img COMP; \
|
||||
parts \
|
||||
{ \
|
||||
part \
|
||||
{ \
|
||||
name: "base"; \
|
||||
type: IMAGE; \
|
||||
description \
|
||||
{ \
|
||||
state: "default" 0.0; \
|
||||
aspect: 1.0 1.0; \
|
||||
aspect_preference: BOTH; \
|
||||
image.normal: img; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
||||
ICON("settings", "icon_settings.png");
|
||||
#undef ICON
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue