Get rid of the theming work I did before... This is better but still needs work on allowing the theme to define custom widgets.
This commit is contained in:
@ -17,8 +17,7 @@ group {
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 100 26;
|
||||
max: 150 50;
|
||||
min: 0 26;
|
||||
color: 255 255 255 178;
|
||||
|
||||
image {
|
||||
@ -32,7 +31,6 @@ group {
|
||||
name: "button_clip";
|
||||
type: RECT;
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
@ -56,7 +54,6 @@ group {
|
||||
name: "focus_clip";
|
||||
type: RECT;
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
@ -207,28 +204,6 @@ group {
|
||||
}
|
||||
}
|
||||
|
||||
part {
|
||||
name: "minimum.size.hack";
|
||||
type: RECT;
|
||||
mouse_events: 1;
|
||||
clip_to: "button_clip";
|
||||
scale: 1;
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
min: 88 24;
|
||||
color: 0 0 0 0;
|
||||
|
||||
rel1 {
|
||||
to: "button_clip";
|
||||
}
|
||||
|
||||
rel2 {
|
||||
to: "button_clip";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
part {
|
||||
name: "ecdb.label";
|
||||
type: TEXT;
|
||||
@ -237,17 +212,15 @@ group {
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 0.0 0.5;
|
||||
align: 0.5 0.5;
|
||||
color: 60 60 60 255;
|
||||
fixed: 1 1;
|
||||
|
||||
|
||||
rel1 {
|
||||
to: "ecdb.swallow.icon";
|
||||
offset: 40 0;
|
||||
to: "base";
|
||||
}
|
||||
|
||||
rel2 {
|
||||
to: "ecdb.swallow.icon";
|
||||
to: "base";
|
||||
}
|
||||
|
||||
text {
|
||||
@ -258,6 +231,25 @@ group {
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
description {
|
||||
state: "iconized" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
||||
rel1 {
|
||||
to_x: "ecdb.swallow.icon";
|
||||
relative: 1.0 0.0;
|
||||
offset: 5 0;
|
||||
}
|
||||
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
}
|
||||
|
||||
text {
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
part {
|
||||
@ -268,11 +260,12 @@ group {
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
max: 32 32;
|
||||
max: 0 0;
|
||||
align: 0.0 0.5;
|
||||
|
||||
rel1 {
|
||||
to: "button_clip";
|
||||
to_x: "button_clip";
|
||||
relative: 0.0 0.0;
|
||||
offset: 15 0;
|
||||
}
|
||||
|
||||
@ -280,10 +273,49 @@ group {
|
||||
to: "button_clip";
|
||||
}
|
||||
}
|
||||
|
||||
description {
|
||||
state: "filled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
max: 32 32;
|
||||
min: 32 32;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
programs {
|
||||
program {
|
||||
name: "icon_swallow";
|
||||
signal: "ecdb,button,icon,swallow";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "filled" 0.0;
|
||||
target: "ecdb.swallow.icon";
|
||||
}
|
||||
|
||||
program {
|
||||
name: "swallow_text";
|
||||
signal: "ecdb,button,icon,swallow";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "iconized" 0.0;
|
||||
target: "ecdb.label";
|
||||
}
|
||||
|
||||
program {
|
||||
name: "icon_unswallow";
|
||||
signal: "ecdb,button,icon,unswallow";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "ecdb.swallow.icon";
|
||||
}
|
||||
|
||||
program {
|
||||
name: "unswallow_text";
|
||||
signal: "ecdb,button,icon,unswallow";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "ecdb.label";
|
||||
}
|
||||
|
||||
program {
|
||||
name: "clicked";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
|
Reference in New Issue
Block a user