... suggestions for enhancment

From: Valeriy Onuchin (onuchin@emcal06.rhic.bnl.gov)
Date: Tue May 26 1998 - 15:51:02 MEST


Hello Rooters!

I have 2 suggestions for enhancment

1. I need to have different icons in my TBrowser
  for different objects of the same class. 
  Corrections described below could make it possible:

 - introduce new method  to TObject
        virtual const Text_t* GetIconName() { return 0;}

 - corerect TRootIconBox::AddObjItem(const char *name, TObject *obj,
TClass *cl) 
                       (see TRootBrowser source)

 replacing the string 
   GetObjPictures(&pic, &spic, obj, cl->GetName())
 by 
   GetObjPictures(&pic, &spic, obj, obj->GetIconName() ?
obj->GetIconName() : cl->GetName())

2. THtml class of ROOT is great! but
    it would be nicer to have methods 

 void WriteHtmlHeader(ofstream& out, Char_t* title)
 void WriteHtmlFooter(ofstream& out, Char_t* dir, Char_t* lastUpdate,
Char_t* author, Char_t* copyright)
    
 as public and virtual



  		 Good luck to everybody!     Valery



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET