X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=data%2Fthemes%2Fwidgets%2Findex.edc;h=0224490b2485a47dff281505696f70a01f396873;hb=7e19316fdd0102db22b7410132727a2d513be829;hp=879505c2536d2c93ffb88ec6704593a01a616667;hpb=b70f2660983a35877866b60dbdc7801081783935;p=framework%2Fuifw%2Felementary.git diff --git a/data/themes/widgets/index.edc b/data/themes/widgets/index.edc index 879505c..0224490 100644 --- a/data/themes/widgets/index.edc +++ b/data/themes/widgets/index.edc @@ -1,399 +1,412 @@ - group { name: "elm/index/base/vertical/default"; - images { - image: "bt_base1.png" COMP; - image: "bt_base2.png" COMP; - image: "bt_hilight.png" COMP; - image: "bt_shine.png" COMP; - } - parts { - part { name: "clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "clip2"; - type: RECT; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { state: "active" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { name: "elm.swallow.index.0"; - type: SWALLOW; - clip_to: "clip"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - relative: 1.0 0.5; - offset: -1 5; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -6; - } - } - } - part { name: "button_image"; - mouse_events: 1; - clip_to: "clip"; - description { state: "default" 0.0; - rel1 { - to: "elm.text.body"; - offset: -5 -5; - } - rel2 { - to: "elm.text"; - offset: 4 4; - } - image { - normal: "bt_base2.png"; - border: 7 7 7 7; - } - image.middle: SOLID; - } - } - part { name: "elm.text.body"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to: "elm.text"; - relative: 0.0 0.0; - offset: 5 0; - } - rel2 { - to: "elm.text"; - relative: 0.0 1.0; - offset: 5 -1; - } - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 20; - min: 1 1; - align: 1.0 0.5; - } - } - } - part { name: "elm.text"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - clip_to: "clip"; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - to_x: "elm.swallow.event.0"; - to_y: "elm.dragable.pointer"; - relative: 0.0 0.5; - offset: -16 0; - } - rel2 { - to_x: "elm.swallow.event.0"; - to_y: "elm.dragable.pointer"; - relative: 0.0 0.5; - offset: -16 -1; - } - color: 255 0 0 255; - color3: 0 0 0 64; - text { - font: "Sans,Edje-Vera"; - size: 20; - min: 1 1; - align: 1.0 0.5; - } - } - } - part { name: "over1"; - mouse_events: 0; - clip_to: "clip"; - description { state: "default" 0.0; - rel1 { - to: "button_image"; - } - rel2 { - to: "button_image"; - relative: 1.0 0.5; - } - image { - normal: "bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { name: "over2"; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - clip_to: "clip"; - description { state: "default" 0.0; - rel1 { - to: "button_image"; - } - rel2 { - to: "button_image"; - } - image { - normal: "bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { name: "elm.dragable.pointer"; - type: RECT; - mouse_events: 0; - dragable { - x: 1 1 0; - y: 1 1 0; - } - clip_to: "clip"; - description { state: "default" 0.0; - fixed: 1 1; - min: 8 8; - max: 8 8; - visible: 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 0.0 0.0; - offset: 0 0; - } - } - } - part { name: "elm.swallow.event.0"; - type: SWALLOW; - description { state: "default" 0.0; - align: 1.0 0.5; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "clip"; - } - } +group { name: "elm/index/base/vertical/default"; + images { + image: "bt_base1.png" COMP; + image: "bt_base2.png" COMP; + image: "bt_hilight.png" COMP; + image: "bt_shine.png" COMP; } + parts { + part { name: "clip"; + type: RECT; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "clip2"; + type: RECT; + mouse_events: 0; + clip_to: "clip"; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + description { state: "active" 0.0; + visible: 1; + color: 255 255 255 255; + } + } + part { name: "elm.swallow.index.0"; + type: SWALLOW; + clip_to: "clip"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 1.0 0.5; + offset: -1 5; + } + rel2 { + relative: 1.0 0.5; + offset: -1 -6; + } + } + } + part { name: "button_image"; + mouse_events: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "elm.text.body"; + offset: -5 -5; + } + rel2 { + to: "elm.text"; + offset: 4 4; + } + image { + normal: "bt_base2.png"; + border: 7 7 7 7; + } + image.middle: SOLID; + } + } + part { name: "elm.text.body"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to: "elm.text"; + relative: 0.0 0.0; + offset: 5 0; + } + rel2 { + to: "elm.text"; + relative: 0.0 1.0; + offset: 5 -1; + } + color: 224 224 224 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 20; + min: 1 1; + align: 1.0 0.5; + } + } + } + part { name: "elm.text"; + type: TEXT; + effect: SOFT_SHADOW; + mouse_events: 0; + scale: 1; + clip_to: "clip2"; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + to_x: "elm.swallow.event.0"; + to_y: "elm.dragable.pointer"; + relative: 0.0 0.5; + offset: -16 0; + } + rel2 { + to_x: "elm.swallow.event.0"; + to_y: "elm.dragable.pointer"; + relative: 0.0 0.5; + offset: -16 -1; + } + color: 255 0 0 255; + color3: 0 0 0 64; + text { + font: "Sans,Edje-Vera"; + size: 20; + min: 1 1; + align: 1.0 0.5; + } + } + } + part { name: "over1"; + mouse_events: 0; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "button_image"; + } + rel2 { + to: "button_image"; + relative: 1.0 0.5; + } + image { + normal: "bt_hilight.png"; + border: 7 7 7 0; + } + } + } + part { name: "over2"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + clip_to: "clip2"; + description { state: "default" 0.0; + rel1 { + to: "button_image"; + } + rel2 { + to: "button_image"; + } + image { + normal: "bt_shine.png"; + border: 7 7 7 7; + } + } + } + part { name: "elm.dragable.pointer"; + type: RECT; + mouse_events: 0; + dragable { + x: 1 1 0; + y: 1 1 0; + } + clip_to: "clip"; + description { state: "default" 0.0; + fixed: 1 1; + min: 8 8; + max: 8 8; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 0.0 0.0; + offset: 0 0; + } + } + } + part { name: "elm.swallow.event.0"; + type: SWALLOW; + description { state: "default" 0.0; + align: 1.0 0.5; + fixed: 1 1; + rel1 { + relative: 1.0 0.0; + offset: -1 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip"; + } + program { name: "active2"; + signal: "elm,indicator,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + program { name: "inactive2"; + signal: "elm,indicator,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "clip2"; + } + } +} - group { name: "elm/index/item/vertical/default"; - data.item: "stacking" "above"; - data.item: "selectraise" "on"; - images { - image: "ilist_1.png" COMP; - image: "ilist_item_shadow.png" COMP; - } - parts { - part { - name: "base_sh"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.0; - min: 0 10; - fixed: 1 1; - rel1 { - to: "base"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -1 0; - } - image { - normal: "ilist_item_shadow.png"; - } - fill.smooth: 0; - } - } - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_1.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - rel1 { - offset: -16 0; - } - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to: "base"; - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - to: "base"; - relative: 0.5 1.0; - offset: -1 -1; - } - color: 0 0 0 128; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.5 0.5; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: 0 0 0 255; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - } +group { name: "elm/index/item/vertical/default"; + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + images { + image: "ilist_1.png" COMP; + image: "ilist_item_shadow.png" COMP; + } + parts { + part { + name: "base_sh"; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 10; + fixed: 1 1; + rel1 { + to: "base"; + relative: 0.0 1.0; + offset: 0 0; + } + rel2 { + to: "base"; + relative: 1.0 1.0; + offset: -1 0; + } + image { + normal: "ilist_item_shadow.png"; + } + fill.smooth: 0; + } + } + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_1.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1 { + offset: -16 0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "base"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: 0 0 0 128; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + } } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + } +} - group { name: "elm/index/item_odd/vertical/default"; - data.item: "stacking" "below"; - images { - image: "ilist_2.png" COMP; - } - parts { - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "ilist_2.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - description { state: "active" 0.0; - inherit: "default" 0.0; - rel1 { - offset: -16 0; - } - } - } - part { name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - // min: 16 16; - rel1 { - to: "base"; - relative: 0.0 0.0; - offset: 4 4; - } - rel2 { - to: "base"; - relative: 0.5 1.0; - offset: -1 -1; - } - color: 0 0 0 128; - text { - font: "Sans"; - size: 10; - min: 1 1; - // min: 0 1; - align: 0.5 0.5; - } - } - description { state: "active" 0.0; - inherit: "default" 0.0; - color: 0 0 0 255; - } - } - } - programs { - program { name: "active"; - signal: "elm,state,active"; - source: "elm"; - action: STATE_SET "active" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - program { name: "inactive"; - signal: "elm,state,inactive"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.5; - target: "elm.text"; - target: "base"; - } - } +group { name: "elm/index/item_odd/vertical/default"; + data.item: "stacking" "below"; + images { + image: "ilist_2.png" COMP; + } + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "ilist_2.png"; + border: 2 2 2 2; + } + fill.smooth: 0; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + rel1 { + offset: -16 0; + } + } + } + part { name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + // min: 16 16; + rel1 { + to: "base"; + relative: 0.0 0.0; + offset: 4 4; + } + rel2 { + to: "base"; + relative: 0.5 1.0; + offset: -1 -1; + } + color: 0 0 0 128; + text { + font: "Sans"; + size: 10; + min: 1 1; + // min: 0 1; + align: 0.5 0.5; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + color: 0 0 0 255; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: DECELERATE 0.5; + target: "elm.text"; + target: "base"; + } } +} -///////////////////////////////////////////////////////////////////////////////