}
}
part { name: "bg";
+ clip_to: "disclip";
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
}
}
part { name: "elm.swallow.icon";
+ clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
}
}
part { name: "elm.swallow.end";
+ clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
}
}
part { name: "elm.text";
+ clip_to: "disclip";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
}
}
part { name: "fg1";
+ clip_to: "disclip";
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
}
}
part { name: "fg2";
+ clip_to: "disclip";
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
color: 255 255 255 255;
}
}
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
}
programs {
program {
target: "elm.text";
transition: LINEAR 0.1;
}
+ program {
+ name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
}
}
group { name: "elm/list/item_odd/default";
}
}
part { name: "bg";
+ clip_to: "disclip";
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
}
part {
name: "elm.swallow.icon";
+ clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
}
part {
name: "elm.swallow.end";
+ clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
}
part {
name: "elm.text";
+ clip_to: "disclip";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
}
}
part { name: "fg1";
+ clip_to: "disclip";
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
}
}
part { name: "fg2";
+ clip_to: "disclip";
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
color: 255 255 255 255;
}
}
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
}
programs {
program {
target: "elm.text";
transition: LINEAR 0.1;
}
+ program {
+ name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
}
}
group { name: "elm/list/item_compress/default";
if (!wd) return;
ELM_LIST_ITEM_CHECK_DELETED_RETURN(it);
- if (it->highlighted) return;
+ if ((it->highlighted) || (it->disabled)) return;
evas_object_ref(obj);
_elm_list_walk(wd);
if (!wd) return;
ELM_LIST_ITEM_CHECK_DELETED_RETURN(it);
+ if (it->disabled) return;
if (it->selected)
{
if (wd->always_select) goto call;