// $Id$ // // File: fcal11_SignalViewer.h // Created: Wed Nov 30 07:42:06 EST 2011 // Creator: davidl (on Linux ifarm1101 2.6.18-128.7.1.el5 x86_64) // #ifndef _fcal11_SignalViewer_ #define _fcal11_SignalViewer_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class fcal11_SignalViewer:public TGMainFrame{ public: fcal11_SignalViewer(const TGWindow *p, UInt_t w, UInt_t h); virtual ~fcal11_SignalViewer(); // Slots for ROOT GUI void DoClose(void); void DoNext(void); void DoMyRedraw(void); bool GetCheckButton(string who); void AddCheckButtons(map &checkbuttons); // Other (non-slot) methods void SetEvent(int id); void SetSource(string source); void SetPad(int col, int row); void Show(void); void Hide(void); bool IsHidden(void); TRootEmbeddedCanvas *canvas; protected: private: map checkbuttons; TGLabel *event, *run, *source; TGTextButton *next; double canvas_width, default_canvas_width; bool is_hidden; ClassDef(fcal11_SignalViewer,1) }; extern fcal11_SignalViewer *gSIGNALVIEWER; #endif // _fcal11_SignalViewer_