Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/data/themes Modified Files: default_shelf.edc Log Message: ou can choose shelf styles now - finally. added 2 more styles (gold and invisible). themes can provide as many styles as u like. =================================================================== RCS file: /cvs/e/e17/apps/e/data/themes/default_shelf.edc,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- default_shelf.edc 23 Apr 2006 13:20:56 -0000 1.9 +++ default_shelf.edc 29 Apr 2006 03:51:27 -0000 1.10 @@ -1,6 +1,8 @@ images { image: "e17_shelf_bg_h.png" COMP; image: "e17_shelf_bg_v.png" COMP; + image: "e17_shelf_bg2_h.png" COMP; + image: "e17_shelf_bg2_v.png" COMP; image: "e17_ibar_bg_h.png" COMP; image: "e17_ibar_over_h.png" COMP; } @@ -420,6 +422,619 @@ } group { name: "shelf/default/inset"; + parts { + part { + name: "background"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "overlay"; + } + rel2 { + to: "overlay"; + } + image { + normal: "e17_ibar_bg_h.png"; + border: 6 6 6 6; + } + fill { + smooth: 0; + } + } + } + part { + name: "items_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "background"; + offset: 4 4; + } + rel2 { + to: "background"; + offset: -5 -5; + } + color: 255 255 255 255; + } + } + part { + name: "items"; + type: SWALLOW; + mouse_events: 0; + clip_to: "items_clip"; + description { + state: "default" 0.0; + rel1 { + offset: 4 4; + } + rel2 { + offset: -5 -5; + } + color: 0 0 0 0; + } + } + part { + name: "overlay"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "e17_ibar_over_h.png"; + border: 13 13 13 13; + middle: 0; + } + fill { + smooth: 0; + } + } + } + } +} + + + + + + + + + + + + + + + + + + + + + + + +group { + name: "shelf/gold/base"; + data { + // this tells e the border is shaped + item: "shaped" "1"; + } + parts { + part { + name: "base"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "e17_shelf_bg2_h.png"; + border: 19 19 9 9; + } + fill { + origin { + offset: 0 -6; + } + size { + offset: 0 6; + } + } + } + description { + state: "top_left" 0.0; + inherit: "default" 0.0; + fill { + origin { + offset: -16 -6; + } + size { + offset: 16 6; + } + } + } + description { + state: "top_right" 0.0; + inherit: "default" 0.0; + fill { + origin { + offset: 0 -6; + } + size { + offset: 16 6; + } + } + } + description { + state: "bottom" 0.0; + inherit: "default" 0.0; + fill { + origin { + offset: 0 0; + } + size { + offset: 0 6; + } + } + } + description { + state: "bottom_left" 0.0; + inherit: "default" 0.0; + fill { + origin { + offset: -16 0; + } + size { + offset: 16 6; + } + } + } + description { + state: "bottom_right" 0.0; + inherit: "default" 0.0; + fill { + origin { + offset: 0 0; + } + size { + offset: 16 6; + } + } + } + description { + state: "left" 0.0; + image { + normal: "e17_shelf_bg2_v.png"; + border: 9 9 19 19; + } + fill { + origin { + offset: -6 0; + } + size { + offset: 6 0; + } + } + } + description { + state: "left_top" 0.0; + image { + normal: "e17_shelf_bg2_v.png"; + border: 9 9 19 19; + } + fill { + origin { + offset: -6 -16; + } + size { + offset: 6 16; + } + } + } + description { + state: "left_bottom" 0.0; + image { + normal: "e17_shelf_bg2_v.png"; + border: 9 9 19 19; + } + fill { + origin { + offset: -6 0; + } + size { + offset: 6 16; + } + } + } + description { + state: "right" 0.0; + image { + normal: "e17_shelf_bg2_v.png"; + border: 9 9 19 19; + } + fill { + origin { + offset: 0 0; + } + size { + offset: 6 0; + } + } + } + description { + state: "right_top" 0.0; + image { + normal: "e17_shelf_bg2_v.png"; + border: 9 9 19 19; + } + fill { + origin { + offset: 0 -16; + } + size { + offset: 6 16; + } + } + } + description { + state: "right_bottom" 0.0; + image { + normal: "e17_shelf_bg2_v.png"; + border: 9 9 19 19; + } + fill { + origin { + offset: 0 0; + } + size { + offset: 6 16; + } + } + } + } + part { + name: "items"; + mouse_events: 0; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 18 2; + } + rel2 { + relative: 1.0 1.0; + offset: -19 -3; + } + } + description { + state: "top_left" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 1.0 1.0; + offset: -19 -3; + } + } + description { + state: "top_right" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 18 2; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + } + } + description { + state: "bottom" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 18 2; + } + rel2 { + relative: 1.0 1.0; + offset: -19 -3; + } + } + description { + state: "bottom_left" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 1.0 1.0; + offset: -19 -3; + } + } + description { + state: "bottom_right" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 18 2; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + } + } + description { + state: "left" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 18; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -19; + } + } + description { + state: "left_top" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -19; + } + } + description { + state: "left_bottom" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 18; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + } + } + description { + state: "right" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 18; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -19; + } + } + description { + state: "right_top" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -19; + } + } + description { + state: "right_bottom" 0.0; + rel1 { + relative: 0.0 0.0; + offset: 2 18; + } + rel2 { + relative: 1.0 1.0; + offset: -3 -3; + } + } + } + } + programs { + program { + name: "orient1"; + signal: "set_orientation"; + source: "top"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient2"; + signal: "set_orientation"; + source: "top_left"; + action: STATE_SET "top_left" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient3"; + signal: "set_orientation"; + source: "top_right"; + action: STATE_SET "top_right" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient4"; + signal: "set_orientation"; + source: "bottom"; + action: STATE_SET "bottom" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient5"; + signal: "set_orientation"; + source: "bottom_left"; + action: STATE_SET "bottom_left" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient6"; + signal: "set_orientation"; + source: "bottom_right"; + action: STATE_SET "bottom_right" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient7"; + signal: "set_orientation"; + source: "left"; + action: STATE_SET "left" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient8"; + signal: "set_orientation"; + source: "left_top"; + action: STATE_SET "left_top" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient9"; + signal: "set_orientation"; + source: "left_bottom"; + action: STATE_SET "left_bottom" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient10"; + signal: "set_orientation"; + source: "right"; + action: STATE_SET "right" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient11"; + signal: "set_orientation"; + source: "right_top"; + action: STATE_SET "right_top" 0.0; + target: "base"; + target: "items"; + } + program { + name: "orient12"; + signal: "set_orientation"; + source: "right_bottom"; + action: STATE_SET "right_bottom" 0.0; + target: "base"; + target: "items"; + } + } +} +group { + name: "shelf/gold/inset"; + parts { + part { + name: "background"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "overlay"; + } + rel2 { + to: "overlay"; + } + image { + normal: "e17_ibar_bg_h.png"; + border: 6 6 6 6; + } + fill { + smooth: 0; + } + } + } + part { + name: "items_clip"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "background"; + offset: 4 4; + } + rel2 { + to: "background"; + offset: -5 -5; + } + color: 255 255 255 255; + } + } + part { + name: "items"; + type: SWALLOW; + mouse_events: 0; + clip_to: "items_clip"; + description { + state: "default" 0.0; + rel1 { + offset: 4 4; + } + rel2 { + offset: -5 -5; + } + color: 0 0 0 0; + } + } + part { + name: "overlay"; + mouse_events: 0; + description { + state: "default" 0.0; + image { + normal: "e17_ibar_over_h.png"; + border: 13 13 13 13; + middle: 0; + } + fill { + smooth: 0; + } + } + } + } +} + + + + + + + + + + + + + + +group { + name: "shelf/invisible/base"; + data { + // this tells e the border is shaped + item: "shaped" "1"; + } + parts { + part { + name: "items"; + mouse_events: 0; + type: SWALLOW; + description { + state: "default" 0.0; + } + } + } +} +group { + name: "shelf/invisible/inset"; parts { part { name: "background"; ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs