Enlightenment CVS committal Author : technikolor Project : misc Module : eplayer
Dir : misc/eplayer/data/themes/default
Modified Files:
default.edc
Log Message:
-> Fix default size of the time text in the "minimized version" -> DONE
-> Replace the ugly close button. -> DONE
-> Constrain double clicks to active minimized action only on the top "title bar"
area. -> DONE
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/data/themes/default/default.edc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- default.edc 4 Dec 2003 17:15:40 -0000 1.2
+++ default.edc 7 Dec 2003 13:30:08 -0000 1.3
@@ -52,6 +52,11 @@
*
* small-text-button.png:
* PNG image data, 34 x 20, 8-bit/color RGBA, non-interlaced
+ * close_button.png:
+ * PNG image data, 8 x 8, 8-bit/color RGBA, non-interlaced
+ * minimize.png:
+ * PNG image data, 7 x 2, 8-bit/color RGBA, non-interlaced
+
*/
images {
@@ -77,6 +82,8 @@
image, "button-small-clicked.png" RAW;
image, "button-on.png" RAW;
image, "button-off.png" RAW;
+ image, "close_button.png" RAW;
+ image, "minimize.png" RAW;
}
collections {
@@ -278,7 +285,7 @@
text {
text, "0:00"; /* Text String */
font, "micro"; /* Only font Vera
works! Use other and segv */
- size, 16; /* Font Size */
+ size, 32; /* Font Size */
align, 1.0 1.0; /* Text
alignment based on rel1/rel2 */
}
}
@@ -1081,17 +1088,17 @@
rel1 {
relative, 0.0 0.0;
- offset, 0 2;
+ offset, 0 4;
}
rel2 {
relative, 1.0 0.0;
- offset, -1 10;
+ offset, -1 15;
}
color, 255 255 255 255;
text {
text, "ePlayer - Edje Edition";
font, "Vera"; /* Only font Vera
works! Use other and segv */
- size, 6; /* Font Size */
+ size, 8; /* Font Size */
align, 0.5 1.0; /* Text
alignment based on rel1/rel2 */
}
}
@@ -1112,7 +1119,7 @@
rel2 {
relative, 1.0 0.0;
- offset, -1 10;
+ offset, -1 16;
}
color, 0 0 0 0;
@@ -1120,6 +1127,35 @@
}
+
+ part {
+ name, "quit";
+ type, IMAGE;
+ mouse_events, 1;
+ description {
+ state, "default" 0.0;
+
+ rel1 {
+ relative, 1.0 0.0;
+ offset, -15 4;
+ }
+
+ rel2 {
+ relative, 1.0 0.0;
+ offset, -8 11;
+ }
+
+ image {
+ normal, "close_button.png";
+ }
+
+ fill {
+ smooth, 0;
+ }
+ }
+ }
+
+
/* LCD Backdrop Image */
part {
name, "lcd_backdrop";
@@ -1131,7 +1167,7 @@
/* Part should fill from the far left, 20
pixels down */
rel1 {
relative, 0.0 0.0;
- offset, 5 12;
+ offset, 5 16;
}
/* all the way to the far right, 40 pixels
north of the bottom right corner */
@@ -2237,52 +2273,6 @@
}
}
- /********** Quit Button ***********/
- part {
- name, "quit";
- type, TEXT;
- mouse_events, 1;
- effect, SOFT_OUTLINE;
- description {
- state, "default" 0.0;
- color, 255 255 255 255;
- color2, 112 140 144 255;
- align, 0.5 0.5;
- rel1 {
- relative, 1.0 0.0;
- offset, -25 0;
- }
- rel2 {
- relative, 1.0 0.0;
- offset, 0 13;
- }
- text {
- text, "[X]";
- font, "Vera";
- size, 7;
- }
- }
-
- description {
- state, "active" 0.0;
- color, 255 0 0 255;
- align, 0.5 0.5;
- rel1 {
- relative, 1.0 0.0;
- offset, -25 0;
- }
- rel2 {
- relative, 1.0 0.0;
- offset, 0 13;
- }
- text {
- text, "[X]";
- font, "Vera";
- size, 7;
- }
- }
- }
-
} /* Close Parts */
@@ -2317,14 +2307,14 @@
program {
name, "titlebar_dbl_click";
signal, "mouse,down,1,double";
- source, "*";
+ source, "titlebar";
action, SIGNAL_EMIT "SWITCH_GROUP", "eplayer_small";
}
program {
name, "titlebar_click";
signal, "mouse,clicked,1";
- source, "*";
+ source, "titlebar";
action, SIGNAL_EMIT "RAISE", "titlebar";
}
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
