Enlightenment CVS committal
Author : mekius
Project : e17
Module : apps/e
Dir : e17/apps/e/data/themes
Modified Files:
default_battery.edc
Log Message:
Add alert popup to battery module. Was broken after batget changes. Popup is
now themeable and also a bit less intrusive.
===================================================================
RCS file: /cvs/e/e17/apps/e/data/themes/default_battery.edc,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- default_battery.edc 23 Apr 2008 05:51:02 -0000 1.16
+++ default_battery.edc 3 May 2008 19:51:49 -0000 1.17
@@ -296,3 +296,90 @@
}
}
}
+group {
+ name: "e/modules/battery/popup";
+ max: 420 96;
+ min: 240 64;
+ parts {
+ part {
+ name: "battery";
+ type: SWALLOW;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 1;
+ max: 120 120;
+ color: 255 255 255 255;
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 0.25 1.0;
+ }
+ }
+ }
+ part {
+ name: "text";
+ type: TEXT;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: 120 1;
+ max: 300 48;
+ fixed: 1 1;
+ color: 255 255 255 255;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x:battery;
+ offset: 0 -7;
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: 0 -7;
+ }
+
+ text {
+ text: "Your battery is low!";
+ font: "Sans:style=Bold,Edje-Vera-Bold";
+ size: 10;
+ min: 1 1;
+ align: 0.5 1.0;
+ text_class: "module_large";
+ }
+ }
+ }
+ part {
+ name: "text2";
+ type: TEXT;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ min: 120 1;
+ max: 300 48;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: battery;
+ offset: 5 7;
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: 0 7;
+ }
+
+ text {
+ text: "AC power is recommended.";
+ font: "Sans:style=Bold,Edje-Vera-Bold";
+ size: 10;
+ min: 1 1;
+ align: 0.5 1.0;
+ text_class: "module_large";
+ }
+ }
+ }
+ }
+}
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs