forked from enlightenment/efl
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
group { name: "e/modules/appmenu/item";
|
|
data.item: "padding_horizontal" "5";
|
|
data.item: "padding_vertical" "5";
|
|
parts {
|
|
part { name: "background"; type: RECT; mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
color: 32 32 32 255;
|
|
visible: 0;
|
|
}
|
|
description { state: "selected" 0.0;
|
|
inherit: "default" 0.0;
|
|
visible: 1;
|
|
}
|
|
}
|
|
part { name: "text"; type: TEXT; mouse_events: 0;
|
|
scale: 1;
|
|
description { state: "default" 0.0;
|
|
rel1.offset: 4 4;
|
|
rel2.offset: -5 -5;
|
|
color: 160 160 160 255;
|
|
text { font: FN; size: 10;
|
|
min: 1 1;
|
|
ellipsis: -1;
|
|
text_class: "label";
|
|
}
|
|
offscale;
|
|
}
|
|
description { state: "selected" 0.0;
|
|
inherit: "default" 0.0;
|
|
color: 255 255 255 255;
|
|
}
|
|
}
|
|
part { name: "event_area"; type: RECT;
|
|
description { state: "default" 0.0;
|
|
color: 0 0 0 0;
|
|
}
|
|
}
|
|
}
|
|
programs {
|
|
program { signal: "mouse,in"; source: "event_area";
|
|
action: STATE_SET "selected" 0.0;
|
|
target: "background";
|
|
target: "text";
|
|
}
|
|
program { signal: "mouse,out"; source: "event_area";
|
|
action: STATE_SET "default" 0.0;
|
|
target: "background";
|
|
target: "text";
|
|
}
|
|
}
|
|
}
|