forked from enlightenment/efl
Elementary ctxpopup: Modified the disabled item style. Patch by ChunEon Park (Hermet).
SVN revision: 56668
This commit is contained in:
parent
83cf78820d
commit
1ebde68407
|
@ -7992,6 +7992,7 @@ collections {
|
|||
}
|
||||
part { name: "elm.swallow.icon";
|
||||
type: SWALLOW;
|
||||
clip_to: "disclip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 25 25;
|
||||
|
@ -8005,6 +8006,7 @@ collections {
|
|||
part { name: "elm.text";
|
||||
type: TEXT;
|
||||
mouse_events: 0;
|
||||
clip_to: "disclip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 1 40;
|
||||
|
@ -8050,17 +8052,23 @@ collections {
|
|||
}
|
||||
part { name: "disclip";
|
||||
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;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "enabled" 0.0;
|
||||
visible: 1;
|
||||
color: 50 50 50 127;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "item_unclick";
|
||||
|
@ -8073,12 +8081,14 @@ collections {
|
|||
source: "elm";
|
||||
action: STATE_SET "enabled" 0.0;
|
||||
target: "disclip";
|
||||
target: "blocker";
|
||||
}
|
||||
program { name: "enable";
|
||||
signal: "elm,state,enabled";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "disclip";
|
||||
target: "blocker";
|
||||
}
|
||||
program { name: "item_click2";
|
||||
signal: "mouse,down,1";
|
||||
|
|
Loading…
Reference in New Issue