[tekui-devel] tekui: removed Drawable:backFill()

hg-notify at neoscientists.org hg-notify at neoscientists.org
Tue Feb 5 02:46:02 CET 2008


details:   http://hg.teklib.org/tekui/rev/bf837437c2dc
changeset: 353:bf837437c2dc
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Sun Feb 03 22:28:41 2008 +0100
description:
removed Drawable:backFill()

diffs (28 lines):

diff -r 1557f491f8f7 -r bf837437c2dc tek/class/ui/drawable.lua
--- a/tek/class/ui/drawable.lua	Sun Feb 03 20:52:06 2008 +0100
+++ b/tek/class/ui/drawable.lua	Sun Feb 03 22:28:41 2008 +0100
@@ -124,10 +124,6 @@ function Drawable:getAttrs()
 	self.WinWidth, self.WinHeight, self.WinLeft, self.WinTop =
 		self.Visual:getattrs()
 	return self.WinWidth, self.WinHeight, self.WinLeft, self.WinTop
-end
-
-function Drawable:backFill(r1, r2, r3, r4)
-	self.Visual:frect(r1, r2, r3, r4, self.Pens[ui.PEN_WINDOWBACK])
 end
 
 function Drawable:pushClipRect(x0, y0, x1, y1)
@@ -222,12 +218,4 @@ if ui.DEBUG then
 		self.Display:sleep(DELAY)
 		self.Visual:text(x0, y0, text, p1, p2)
 	end
-	function Drawable:backFill(...)
-		local x0, y0, x1, y1 = ...
-		self.Visual:frect(x0, y0, x1, y1, self.DebugPen1)
-		self.Display:sleep(DELAY)
-		self.Visual:frect(x0, y0, x1, y1, self.DebugPen2)
-		self.Display:sleep(DELAY)
-		self.Visual:frect(x0, y0, x1, y1, self.Pens[ui.PEN_WINDOWBACK])
-	end
-end
+end


More information about the tekui-devel mailing list