Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : mem
Dir : e_modules/mem
Modified Files:
mem.edc
Log Message:
Fix text going outside of gadget.
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/mem/mem.edc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- mem.edc 1 Mar 2006 16:09:34 -0000 1.10
+++ mem.edc 3 Mar 2006 15:00:39 -0000 1.11
@@ -83,10 +83,32 @@
{
part
{
+ name: "text_clip";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ rel1
+ {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2
+ {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part
+ {
name: "real-text";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
+ clip_to: "text_clip";
description
{
state: "default" 0.0;
@@ -120,10 +142,32 @@
{
part
{
+ name: "text_clip";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ rel1
+ {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2
+ {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part
+ {
name: "swap-text";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
+ clip_to: "text_clip";
description
{
state: "default" 0.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