And another two that are commented at the moment. But it's best to fix those as...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 31 Jan 2008 14:12:25 +0000 (14:12 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 31 Jan 2008 14:12:25 +0000 (14:12 +0000)
git-svn-id: http://svn.voria.com/code@1531 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/workarea.cpp

index 5c6200d..1815fa1 100644 (file)
@@ -309,7 +309,10 @@ public:
                        int w(get_tile_w());
                        int h(get_tile_h());
                        int x(surface.get_w()*surface.get_h());
-                       //if(low_res) { w/=2,h/=2; }
+                       //if(low_res) {
+                       //      int div = 1 << workarea->get_lowrespixel();
+                       //      w/=div,h/=div;
+                       //}
                        Color dark(0.6,0.6,0.6);
                        Color lite(0.8,0.8,0.8);
                        for(int i=0;i<x;i++)
@@ -553,7 +556,10 @@ public:
                        int w(surface.get_w());
                        //int h(surface.get_h());
                        int x(surface.get_w()*surface.get_h());
-                       //if(low_res) { w/=2,h/=2; }
+                       //if(low_res) {
+                       //      int div = 1 << workarea->get_lowrespixel();
+                       //      w/=div,h/=div;
+                       //}
                        Color dark(0.6,0.6,0.6);
                        Color lite(0.8,0.8,0.8);
                        int tw=workarea->tile_w;