Enlightenment CVS committal Author : devilhorns Project : e_modules Module : cpu
Dir : e_modules/cpu Modified Files: cpu.edc Log Message: Clip the text to not allow displaying outside the gadget. =================================================================== RCS file: /cvsroot/enlightenment/e_modules/cpu/cpu.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- cpu.edc 20 Feb 2006 11:42:55 -0000 1.1 +++ cpu.edc 21 Feb 2006 13:18:33 -0000 1.2 @@ -25,17 +25,28 @@ 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; description { state: "default" 0.0; - color: 255 255 255 255; + color: 255 255 255 200; aspect: 1.0 1.0; rel1 { - offset: 0 0; + offset: 0 6; } rel2 { - offset: -1 -1; + offset: -1 -6; } image { normal: "cpu.png"; @@ -49,6 +60,7 @@ { name: "in-text"; type: TEXT; + clip_to: "base"; effect: SOFT_SHADOW; mouse_events: 0; description { @@ -67,7 +79,7 @@ text { text: "%"; font: "VeraMono"; - size: 10; + size: 8; min: 1 1; align: 1.0 0.0; } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs