}
}
}
-///////////////////////////////////////////////////////////////////////////////
-group {
- name: "elm/ctxpopup/item_compress/default";
- images {
- image: "hoversel_entry_bg.png" COMP;
- }
- parts {
- part { name: "bg";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.offset: 2 2;
- rel2.offset: -3 -3;
- image { normal:"hoversel_entry_bg.png";
- border: 0 0 2 2;
- }
- fill.smooth: 0;
- color: 255 255 255 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 25 25;
- max: 25 25;
- align: 0 0.5;
- aspect: 1.0 1.0;
- rel1 { offset: 10 10; }
- rel2 { offset: 0 -10; }
- }
- }
- part { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 1 40;
- fixed: 0 1;
- align: 0.5 0.5;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
- rel2 { relative: 1.0 1.0; }
- color: 255 255 255 255;
- text {
- font: "Sans";
- size: 10;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 255;
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- 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";
- type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- }
- description { state: "enabled" 0.0;
- visible: 1;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "item_unclick";
- signal: "mouse,clicked,1";
- source: "over1";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- 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";
- source: "over2";
- script {
- set_state(PART:"elm.text", "clicked", 0.0);
- set_state(PART:"bg", "clicked", 0.0);
- }
- }
- program { name: "item_unclick2";
- signal: "mouse,up,1";
- source: "over2";
- script {
- set_state(PART:"elm.text", "default", 0.0);
- set_state(PART:"bg", "default", 0.0);
- }
- }
- }
-}