Enlightenment CVS committal Author : devilhorns Project : e_modules Module : screenshot
Dir : e_modules/screenshot Modified Files: screenshot.edc Added Files: spark1.png spark2.png spark3.png spark4.png spark5.png Removed Files: e17_titlebar_glint1.png e17_titlebar_glint2.png e17_titlebar_glint3.png Log Message: Make screenshot 'glint' look more like a camera flash. =================================================================== RCS file: /cvs/e/e_modules/screenshot/screenshot.edc,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- screenshot.edc 11 Oct 2006 19:35:54 -0000 1.13 +++ screenshot.edc 20 Feb 2007 04:03:20 -0000 1.14 @@ -2,13 +2,17 @@ { font: "VeraBd.ttf" "Edje-Vera-Bold"; } + images { image: "module_icon.png" COMP; - image: "e17_titlebar_glint1.png" COMP; - image: "e17_titlebar_glint2.png" COMP; - image: "e17_titlebar_glint3.png" COMP; + image: "spark1.png" COMP; + image: "spark2.png" COMP; + image: "spark3.png" COMP; + image: "spark4.png" COMP; + image: "spark5.png" COMP; } + collections { group @@ -65,286 +69,103 @@ state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH; - rel1 - { - relative: 0.0 0.0; - offset: 2 2; - } - rel2 - { - relative: 1.0 1.0; - offset: -3 -3; - } - image - { - normal: "module_icon.png"; - } - color:255 255 255 255; + rel1.offset: 2 2; + rel2.offset: -3 -3; + image.normal: "module_icon.png"; + color: 255 255 255 255; } description { state: "bigger" 0.0; inherit: "default" 0.0; - rel1 - { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 - { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - part - { - name: "over"; - type: RECT; - repeat_events: 0; - description - { - state: "default" 0.0; - color: 0 0 0 0; + rel1.offset: 0 0; + rel2.offset: -1 -1; } } part { - name: "title_glint_clip"; - type: RECT; - mouse_events: 0; + name: "text"; + mouse_events: 0; + type: TEXT; + effect: OUTLINE_SOFT_SHADOW; description { state: "default" 0.0; - rel1 - { - offset: 3 3; - to: "logo"; - } - rel2 - { - offset: -4 -4; - to: "logo"; - } color: 255 255 255 255; - } - } - part - { - name: "title_glint_1"; - mouse_events: 0; - description - { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - align: 0.0 0.0; - max: 34 13; - rel1 - { - relative: 0.0 0.0; - offset: 2 2; - to: "logo"; - } - rel2 - { - relative: 1.0 1.0; - offset: -3 -3; - to: "logo"; - } - image - { - normal: "e17_titlebar_glint1.png"; - border: 5 0 5 0; - } - fill + color3: 0 0 0 32; + color_class: "module_label"; + visible: 0; + rel1.to: "logo"; + rel2.to: "logo"; + text { - smooth: 0; + text: ""; + font: "Edje-Vera-Bold"; + size: 16; + min: 1 1; + align: 0.5 0.5; } } description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; } } - part + part { - name: "title_glint_2"; - mouse_events: 0; - clip_to: "title_glint_clip"; - description + name: "glint"; + mouse_events: 0; + type: IMAGE; + description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - max: 0 0; - align: 1.0 0.5; - rel1 - { - relative: 0.0 0.0; - offset: 3 3; - to: "logo"; - } - rel2 - { - relative: 0.0 1.0; - offset: 0 -4; - to: "logo"; - } - image - { - normal: "e17_titlebar_glint2.png"; - border: 0 0 5 5; - } - fill - { - smooth: 0; - } + state: "default" 0.0; + rel1.to: "logo"; + rel2.to: "logo"; + visible: 0; + image.normal: "spark1.png"; } - description + description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - max: 169 9999; - min: 169 8; - align: 0.5 0.5; - rel1 - { - relative: 0.0 0.0; - offset: 3 3; - } - rel2 - { - relative: 0.0 1.0; - offset: 3 -4; - } + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; } - description + description { - state: "active2" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 128; - max: 169 9999; - min: 169 8; - align: 0.5 0.5; - rel1 - { - relative: 1.0 0.0; - offset: -4 3; - } - rel2 - { - relative: 1.0 1.0; - offset: -4 -4; - } + state: "active" 0.1; + inherit: "active" 0.0; + image.normal: "spark2.png"; } - description + description { - state: "active3" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 255 255 255 0; - max: 169 9999; - min: 169 8; - align: 0.0 0.5; - rel1 - { - relative: 1.0 0.0; - offset: -4 3; - } - rel2 - { - relative: 1.0 1.0; - offset: -4 -4; - } + state: "active" 0.2; + inherit: "active" 0.0; + image.normal: "spark3.png"; } - } - part - { - name: "title_glint_3"; - mouse_events: 0; - description + description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - align: 1.0 1.0; - max: 34 13; - rel1 - { - relative: 0.0 0.0; - offset: 2 2; - to: "logo"; - } - rel2 - { - relative: 1.0 1.0; - offset: -3 -3; - to: "logo"; - } - image - { - normal: "e17_titlebar_glint3.png"; - border: 0 5 0 5; - } - fill - { - smooth: 0; - } + state: "active" 0.3; + inherit: "active" 0.0; + image.normal: "spark4.png"; } - description + description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; + state: "active" 0.4; + inherit: "active" 0.0; + image.normal: "spark5.png"; } } - part + part { - name: "text"; - mouse_events: 0; - type: TEXT; - effect: OUTLINE_SOFT_SHADOW; - description + name: "over"; + type: RECT; + repeat_events: 0; + description { state: "default" 0.0; - color: 255 255 255 255; - color3: 0 0 0 32; - color_class: "module_label"; - visible: 0; - rel1 - { - relative: 0.0 0.0; - offset: 0 0; - to: "logo"; - } - rel2 - { - relative: 1.0 1.0; - offset: -1 -1; - to: "logo"; - } - text - { - text: ""; - font: "Edje-Vera-Bold"; - size: 16; - min: 1 1; - align: 0.5 0.5; - } - } - description - { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; + color: 0 0 0 0; } } } @@ -375,62 +196,55 @@ signal: ""; source: ""; action: STATE_SET "default" 0.0; - target: "title_glint_1"; - target: "title_glint_2"; - target: "title_glint_3"; + target: "glint"; after: "go_active"; } - program { name: "go_active"; action: STATE_SET "active" 0.0; - target: "title_glint_1"; - target: "title_glint_2"; - transition: LINEAR 0.03; + target: "glint"; + transition: LINEAR 0.01; after: "go_active2"; - after: "go_active2b"; } program { name: "go_active2"; - action: STATE_SET "active2" 0.0; - target: "title_glint_2"; - transition: LINEAR 0.03; + action: STATE_SET "active" 0.1; + target: "glint"; + transition: LINEAR 0.1; after: "go_active3"; - after: "go_active3b"; } program { - name: "go_active2b"; - action: STATE_SET "active" 0.0; - target: "title_glint_3"; - transition: LINEAR 0.03; + name: "go_active3"; + action: STATE_SET "active" 0.2; + target: "glint"; + transition: LINEAR 0.1; + after: "go_active4"; } program { - name: "go_active3"; - action: STATE_SET "active3" 0.0; - target: "title_glint_2"; - transition: LINEAR 0.03; + name: "go_active4"; + action: STATE_SET "active" 0.3; + target: "glint"; + transition: LINEAR 0.1; + after: "go_active5"; } program { - name: "go_active3b"; - action: STATE_SET "default" 0.0; - target: "title_glint_3"; - transition: LINEAR 0.03; - after: "go_active4"; + name: "go_active5"; + action: STATE_SET "active" 0.4; + target: "glint"; + transition: LINEAR 0.1; + after: "go_passive"; } - program + program { - name: "go_active4"; - action: STATE_SET "default" 0.0; - target: "title_glint_1"; - target: "title_glint_2"; - target: "title_glint_3"; + name: "go_passive"; + action: STATE_SET "default" 0.0; + target: "glint"; } - } } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs