9 #ifndef EVDB_OBJLISTCANVAS_H 10 #define EVDB_OBJLISTCANVAS_H 13 #include "RQ_OBJECT.h" 14 #ifndef EVDB_PRINTABLE_H 15 #include "nutools/EventDisplayBase/Printable.h" 18 class TGCompositeFrame;
20 class TRootEmbeddedCanvas;
25 RQ_OBJECT(
"evdb::ObjListCanvas")
31 virtual void Draw(
const char*
opt=0) = 0;
34 virtual const char*
PrintTag()
const {
return "sub-class needs print tag"; }
35 virtual const char*
Description()
const {
return "sub-class needs description"; }
36 virtual void Print(
const char*
f);
52 #endif // EVDB_OBJLISTCANVAS_H unsigned short fYsize
Size of the canvas;.
virtual void Draw(const char *opt=0)=0
float fAspectRatio
fYsize/fXsize
TGLayoutHints * fLayout
Layout hints for frame.
Base class for printable objects.
void Connect()
Make signal/slot connections.
Manage all things related to colors for the event display.
ObjListCanvas(TGMainFrame *mf)
TCanvas * fCanvas
The ROOT drawing canvas.
virtual const char * Description() const
virtual const char * PrintTag() const
virtual void Print(const char *f)
TRootEmbeddedCanvas * fEmbCanvas
Embedded canvas.
unsigned short fXsize
Size of the canvas;.
TGCompositeFrame * fFrame
Graphics frame.