[fpc-devel] TFPCustomCanvas drawing routines

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Jan 31 13:00:53 CET 2011


Hello,

I decided to put the patch here since it is so small.

It is rather trivial, just adds a bunch of virtual markers and some
methods with empty implementations, as to make them optional. I think
the behavior looks ok for me, if the sub-class doesn't implement the
method, no operation is performed.

If some methods can be implemented based on other ones, great, but
this should be a separate commit.

Later Lazarus would need to be adapted, maybe now with ifdefs or else
after fpc 3.0 gets released.

-- 
Felipe Monteiro de Carvalho
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtualfpcanvas.diff
Type: application/octet-stream
Size: 3737 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110131/a7c65b2a/attachment.obj>


More information about the fpc-devel mailing list