Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : cpu
Dir : e_modules/cpu
Modified Files:
cpu.edc e_mod_main.c
Log Message:
Make the text stay with the module. Add some sane minimums.
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/cpu/cpu.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- cpu.edc 22 Feb 2006 10:36:25 -0000 1.3
+++ cpu.edc 26 Feb 2006 12:21:58 -0000 1.4
@@ -15,55 +15,43 @@
name: "modules/cpu/main";
parts{
part {
- name: "base";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "cpu";
- clip_to: "base";
- mouse_events: 0;
+ name: "cpu";
+ clip_to: "fade_clip";
description {
- state: "default" 0.0;
- color: 255 255 255 200;
- aspect: 1.0 1.0;
- rel1 {
- offset: 0 6;
+ state: "default" 0.0;
+ aspect: 1.0 1.0;
+ align: 0.5 0.5;
+ min: 50 50;
+ max: 128 128;
+ rel1 {
+ relative: 0.0 0.0;
}
- rel2 {
- offset: -1 -6;
+ rel2 {
+ relative: 1.0 1.0;
}
- image {
- normal: "cpu.png";
- }
- fill {
- smooth: 0;
+ image {
+ normal: "cpu.png";
}
}
}
+
part
{
name: "in-text";
type: TEXT;
- clip_to: "base";
+ clip_to: "fade_clip";
effect: SOFT_SHADOW;
mouse_events: 0;
description {
- state: "default" 0.0;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "cpu";
- offset: -2 1;
- }
- rel2 {
- relative: 1.0 0.0;
- }
+ state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "cpu";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ }
color: 255 255 255 255;
color3: 0 0 0 100;
text {
@@ -71,11 +59,26 @@
font: "VeraMono";
size: 8;
min: 1 1;
- align: 1.0 0.0;
+ align: 0.0 0.0;
}
}
}
- }
+
+ part {
+ name: "fade_clip";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description {
+ state: "faded" 0.0;
+ color: 255 255 255 128;
+ }
+ }
+
+ }
}//close group net
}
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/cpu/e_mod_main.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_main.c 22 Feb 2006 12:23:14 -0000 1.5
+++ e_mod_main.c 26 Feb 2006 12:21:58 -0000 1.6
@@ -257,7 +257,7 @@
E_GADMAN_POLICY_HSIZE |
E_GADMAN_POLICY_VMOVE |
E_GADMAN_POLICY_VSIZE);
- e_gadman_client_min_size_set(cf->gmc, 4, 4);
+ e_gadman_client_min_size_set(cf->gmc, 45, 50);
e_gadman_client_max_size_set(cf->gmc, 128, 128);
e_gadman_client_auto_size_set(cf->gmc, 40, 40);
e_gadman_client_align_set(cf->gmc, 1.0, 1.0);
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs