From: <enl...@li...> - 2005-08-30 23:10:19
|
Enlightenment CVS committal Author : moom16 Project : e17 Module : apps/eclair Dir : e17/apps/eclair/data/themes/default/parts Modified Files: filename_bar.edc playlist_front.edc progress_bar.edc volume_control.edc Log Message: * Improves the default theme: - Playlist and cover panels are automatically opened - Title now scrolls if it doesn't fit in the title box (thanks captainigloo :) - Some images have been changed to be better integrated to the e17 default theme =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/eclair/data/themes/default/parts/filename_bar.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- filename_bar.edc 17 Apr 2005 08:30:57 -0000 1.1 +++ filename_bar.edc 30 Aug 2005 23:09:39 -0000 1.2 @@ -2,19 +2,20 @@ name: "filename_bar"; description { state: "default" 0.0; - visible: 1; + color: 216 216 216 255; rel1 { relative: 0 0; - offset: 120 15; + offset: 124 18; to: "body"; } rel2 { relative: 0 0; - offset: 297 51; + offset: 291 46; to: "body"; } image { normal: "filename_bar.png"; + border: 12 12 12 12; } } } @@ -26,12 +27,12 @@ visible: 1; rel1 { relative: 0 0; - offset: 15 1; + offset: 10 2; to: "filename_bar"; } rel2 { relative: 1 1; - offset: -15 0; + offset: -11 0; to: "filename_bar"; } } @@ -43,23 +44,29 @@ clip_to: "filename_bar_clip"; description { state: "default" 0.0; + align: 0.0 0.5; rel1 { - relative: 0 0; + relative: 0.0 0.0; offset: 0 0; to: "filename_bar_clip"; } - rel2 { - relative: 1 1; - offset: 0 0; + rel2 { + relative: 1.0 1.0; + offset: -1 -1; to: "filename_bar_clip"; } color: 132 132 132 255; color3: 255 255 255 32; text { - text: "Media name"; - font: "Edje Vera"; - size: 11; - align: 0 0.5; + text: "Media name"; + font: "Edje Vera"; + size: 11; + min: 1 1; } } + description { + state: "right" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + } } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/eclair/data/themes/default/parts/playlist_front.edc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- playlist_front.edc 3 May 2005 20:36:33 -0000 1.2 +++ playlist_front.edc 30 Aug 2005 23:09:39 -0000 1.3 @@ -9,7 +9,7 @@ } rel2 { relative: 0 0; - offset: 177 119; + offset: 184 119; to: "body"; } image { =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/eclair/data/themes/default/parts/progress_bar.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- progress_bar.edc 17 Apr 2005 08:30:58 -0000 1.1 +++ progress_bar.edc 30 Aug 2005 23:09:39 -0000 1.2 @@ -2,19 +2,20 @@ name: "progress_bar"; description { state: "default" 0.0; - visible: 1; + color: 225 225 225 255; rel1 { relative: 0 0; - offset: 123 48; + offset: 132 56; to: "body"; } rel2 { relative: 0 0; - offset: 250 70; + offset: 250 59; to: "body"; } image { normal: "progress_bar.png"; + border: 5 5 0 0; } } } @@ -25,13 +26,13 @@ state: "default" 0.0; visible: 0; rel1 { - relative: 0 0; - offset: -2 21; + relative: 0.0 0.0; + offset: -2 9; to: "progress_bar"; } rel2 { - relative: 1 0; - offset: 2 22; + relative: 1.0 0.0; + offset: 2 10; to: "progress_bar"; } } @@ -45,12 +46,11 @@ } description { state: "default" 0.0; - min: 28 26; - max: 28 26; - visible: 0; - color: 255 255 255 0; + min: 34 18; + max: 34 18; image { normal: "progress_bar_drag.png"; + border: 10 10 0 0; } } description { @@ -65,8 +65,7 @@ } description { state: "down" 0.0; - min: 28 26; - max: 28 26; + inherit: "default" 0.0; visible: 1; image { normal: "progress_bar_drag_down.png"; @@ -74,6 +73,36 @@ } } part { + name: "progress_bar_drag_thumb"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.5 0.5; + offset: -9 -4; + to: "progress_bar_drag"; + } + rel2 { + relative: 0.5 0.5; + offset: 6 1; + to: "progress_bar_drag"; + } + image { + normal: "handle_thumb.png"; + } + } + description { + state: "down" 0.0; + inherit: "default" 0.0; + rel1 { + offset: -8 -3; + } + rel2 { + offset: 7 2; + } + } +} +part { name: "time_elapsed"; type: TEXT; effect: SOFT_SHADOW; @@ -86,7 +115,7 @@ } rel2 { relative: 1 1; - offset: 53 0; + offset: 58 0; to: "progress_bar"; } color: 132 132 132 255; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/eclair/data/themes/default/parts/volume_control.edc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- volume_control.edc 3 May 2005 20:36:33 -0000 1.2 +++ volume_control.edc 30 Aug 2005 23:09:39 -0000 1.3 @@ -2,19 +2,20 @@ name: "volume_bar"; description { state: "default" 0.0; - visible: 1; + color: 215 215 215 255; rel1 { relative: 0 0; - offset: 186 79; + offset: 192 88; to: "body"; } rel2 { relative: 0 0; - offset: 271 101; + offset: 264 91; to: "body"; } image { - normal: "volume_bar.png"; + normal: "progress_bar.png"; + border: 5 5 0 0; } } } @@ -25,13 +26,13 @@ state: "default" 0.0; visible: 0; rel1 { - relative: 0 0; - offset: -2 22; + relative: 0.0 0.0; + offset: -2 9; to: "volume_bar"; } rel2 { - relative: 1 0; - offset: 2 23; + relative: 1.0 0.0; + offset: 2 10; to: "volume_bar"; } } @@ -45,17 +46,49 @@ } description { state: "default" 0.0; - min: 28 26; - max: 28 26; + min: 34 18; + max: 34 18; image { normal: "progress_bar_drag.png"; + border: 10 10 0 0; } } description { state: "down" 0.0; inherit: "default" 0.0; + visible: 1; image { normal: "progress_bar_drag_down.png"; } } } +part { + name: "volume_bar_drag_thumb"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + relative: 0.5 0.5; + offset: -9 -4; + to: "volume_bar_drag"; + } + rel2 { + relative: 0.5 0.5; + offset: 6 1; + to: "volume_bar_drag"; + } + image { + normal: "handle_thumb.png"; + } + } + description { + state: "down" 0.0; + inherit: "default" 0.0; + rel1 { + offset: -8 -3; + } + rel2 { + offset: 7 2; + } + } +} |