Author: toshok
Date: 2007-10-03 19:29:05 -0400 (Wed, 03 Oct 2007)
New Revision: 86839

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/dirty.cpp
   trunk/moon/src/uielement.h
Log:
2007-10-03  Chris Toshok  <[EMAIL PROTECTED]>

        * uielement.h: rename UseAA() to EnableAntiAlias().  it's
        arguably a better name, and more importantly it's the name that
        media.cpp/h changed it too, which broke the AA hack used in
        dirty.cpp.

        * dirty.cpp (process_dirty_elements): rename UseAA() to
        EnableAntiAlias().



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-10-03 23:20:13 UTC (rev 86838)
+++ trunk/moon/src/ChangeLog    2007-10-03 23:29:05 UTC (rev 86839)
@@ -1,3 +1,13 @@
+2007-10-03  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * uielement.h: rename UseAA() to EnableAntiAlias().  it's
+       arguably a better name, and more importantly it's the name that
+       media.cpp/h changed it too, which broke the AA hack used in
+       dirty.cpp.
+
+       * dirty.cpp (process_dirty_elements): rename UseAA() to
+       EnableAntiAlias().
+
 2007-10-03  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * array.cpp: Move double array allocations back to new/delete.

Modified: trunk/moon/src/dirty.cpp
===================================================================
--- trunk/moon/src/dirty.cpp    2007-10-03 23:20:13 UTC (rev 86838)
+++ trunk/moon/src/dirty.cpp    2007-10-03 23:29:05 UTC (rev 86839)
@@ -197,7 +197,7 @@
                        el->dirty_flags &= ~DirtyInvalidate;
 
                        Rect dirty = el->dirty_rect;
-                       if (el->UseAA() && !dirty.IsEmpty())
+                       if (el->EnableAntiAlias() && !dirty.IsEmpty())
                                dirty = dirty.GrowBy (2);
                        if (dirty.IsEmpty())
                                dirty = el->children_dirty_rect;

Modified: trunk/moon/src/uielement.h
===================================================================
--- trunk/moon/src/uielement.h  2007-10-03 23:20:13 UTC (rev 86838)
+++ trunk/moon/src/uielement.h  2007-10-03 23:29:05 UTC (rev 86839)
@@ -80,7 +80,7 @@
 
        virtual Surface *GetSurface () { return parent ? parent->GetSurface() : 
NULL; }
 
-       virtual bool UseAA() { return true; }
+       virtual bool EnableAntiAlias() { return true; }
 
        //
        // UpdateTotalOpacity:

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to