Elementary ctxpopup: Modified the disabled item style. Patch by ChunEon Park (Hermet).

SVN revision: 56668
This commit is contained in:
Tom Hacohen 2011-02-03 08:23:14 +00:00
parent 83cf78820d
commit 1ebde68407
1 changed files with 14 additions and 4 deletions

View File

@ -7992,6 +7992,7 @@ collections {
} }
part { name: "elm.swallow.icon"; part { name: "elm.swallow.icon";
type: SWALLOW; type: SWALLOW;
clip_to: "disclip";
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
min: 25 25; min: 25 25;
@ -8005,6 +8006,7 @@ collections {
part { name: "elm.text"; part { name: "elm.text";
type: TEXT; type: TEXT;
mouse_events: 0; mouse_events: 0;
clip_to: "disclip";
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
min: 1 40; min: 1 40;
@ -8050,17 +8052,23 @@ collections {
} }
part { name: "disclip"; part { name: "disclip";
type: RECT; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "enabled" 0.0;
color: 127 127 127 127;
}
}
part { name: "blocker";
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; visible: 0;
} }
description { state: "enabled" 0.0; description { state: "enabled" 0.0;
visible: 1; visible: 1;
color: 50 50 50 127; color: 0 0 0 0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
} }
} }
} }
programs { programs {
program { program {
name: "item_unclick"; name: "item_unclick";
@ -8073,12 +8081,14 @@ collections {
source: "elm"; source: "elm";
action: STATE_SET "enabled" 0.0; action: STATE_SET "enabled" 0.0;
target: "disclip"; target: "disclip";
target: "blocker";
} }
program { name: "enable"; program { name: "enable";
signal: "elm,state,enabled"; signal: "elm,state,enabled";
source: "elm"; source: "elm";
action: STATE_SET "default" 0.0; action: STATE_SET "default" 0.0;
target: "disclip"; target: "disclip";
target: "blocker";
} }
program { name: "item_click2"; program { name: "item_click2";
signal: "mouse,down,1"; signal: "mouse,down,1";