TASImage request.

From: Ernesto Lopez <lopez_at_to.infn.it>
Date: Thu, 6 Oct 2005 11:31:45 +0200 (MET DST)


Hi,

I have written a class that inherits from TASImage because I want to change some functionality (Paint, ExecuteEvent,...) and keep all the others. At some point inside my Paint method I have to assign a new ASImage to fScaledImage, but fImage inside fScaledImage is protected, so I can't.

I would need a small change to the ROOT code: either fImage to be made public or the following inline method to be added to the class:

   void SetImage(ASImage * aimag) { DestroyImage(); fImage = aimag; }

Would that be possible?
Thanks,

Ernesto Received on Thu Oct 06 2005 - 11:35:10 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET