I'd like to be able to overide some of the graphics drawing functions
while still being to call the actual graphics function. seomthing
like this:
Sub DrawRect( extends g as graphics, x as integer, y as integer, w as
integer, h as integer )
if DEBUGDRAWING then
dim storedColor as Color
storedColor = g.ForeColor
g.ForeColor = rgb(255,0,0)
// here id like to call the actual DrawRect
g.DrawRect(x,y,w,h)
g.ForeColor = ForeColor
end if
// here id also like to call the actual DrawRect
g.DrawRect(x,y,w,h)
End Sub
Is any of this possibe. In other words, id like to be able to call
the overloaded DrawRect and also the normal rb framework drawrect.
Can i do this? How?
AC
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>