#ifndef DSPLISTW_H_ #define DSPLISTW_H_ #include "TGWindow.h" #include "TGFrame.h" #include "TGTextEntry.h" #include "TGTextBuffer.h" #include "TGNumberEntry.h" #include "TGLabel.h" #include #ifndef ROOT_TGDockableFrame #include "TGDockableFrame.h" #endif #ifndef ROOT_TGMenu #include "TGMenu.h" #endif #ifndef ROOT_TGMdiDecorFrame #include "TGMdiDecorFrame.h" #endif #ifndef ROOT_TG3DLine #include "TG3DLine.h" #endif #ifndef ROOT_TGMdiFrame #include "TGMdiFrame.h" #endif #ifndef ROOT_TGMdiMainFrame #include "TGMdiMainFrame.h" #endif #ifndef ROOT_TGMdiMenu #include "TGMdiMenu.h" #endif #ifndef ROOT_TGColorDialog #include "TGColorDialog.h" #endif #ifndef ROOT_TGListBox #include "TGListBox.h" #endif #ifndef ROOT_TGNumberEntry #include "TGNumberEntry.h" #endif #ifndef ROOT_TGScrollBar #include "TGScrollBar.h" #endif #ifndef ROOT_TGComboBox #include "TGComboBox.h" #endif #ifndef ROOT_TGFrame #include "TGFrame.h" #endif #ifndef ROOT_TGFileDialog #include "TGFileDialog.h" #endif #ifndef ROOT_TGShutter #include "TGShutter.h" #endif #ifndef ROOT_TGButtonGroup #include "TGButtonGroup.h" #endif #ifndef ROOT_TGCanvas #include "TGCanvas.h" #endif #ifndef ROOT_TGFSContainer #include "TGFSContainer.h" #endif #ifndef ROOT_TGFontDialog #include "TGFontDialog.h" #endif #ifndef ROOT_TGColorSelect #include "TGColorSelect.h" #endif #ifndef ROOT_TGButton #include "TGButton.h" #endif #ifndef ROOT_TGFSComboBox #include "TGFSComboBox.h" #endif #ifndef ROOT_TGLabel #include "TGLabel.h" #endif #ifndef ROOT_TGTab #include "TGTab.h" #endif #ifndef ROOT_TGListView #include "TGListView.h" #endif #ifndef ROOT_TGStatusBar #include "TGStatusBar.h" #endif #ifndef ROOT_TGListTree #include "TGListTree.h" #endif #ifndef ROOT_TGToolBar #include "TGToolBar.h" #endif #ifndef ROOT_TRootEmbeddedCanvas #include "TRootEmbeddedCanvas.h" #endif #ifndef ROOT_TCanvas #include "TCanvas.h" #endif #ifndef ROOT_TGObject #include "TGObject.h" #endif #include "Riostream.h" using namespace std; class Dsplist : public TGMainFrame { public: Dsplist(); Dsplist(const TGWindow *p,UInt_t w,UInt_t h,UInt_t li); virtual ~Dsplist(); Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2); int load_data(); //------------------------------------------------------- // CompositeFrame frame TGCompositeFrame *fMainFrame1578; // horizontal frame TGHorizontalFrame *fHorizontalFrame560; TGVScrollBar *fVScrollBar592; // horizontal frame TGHorizontalFrame *fHorizontalFrame567; TGTextButton *fTextButton683; TGLabel *fLabel684; TGNumberEntry *fNumberEntry693; // Address row0 hex TGLabel *fLabel689; TGTextButton *fTextButton690; TGTextButton *fTextButton691; TGTextButton *fTextButton692; TGNumberEntry *fNumberEntry707; // module number TGTextButton *fTextButton697; TGHorizontal3DLine *fHorizontal3DLine737; //------------------------------------------------------- //11111111111111111111 int columns; int rows, rowsdisplayed; // total no of rows displayed at a time unsigned long int addr0indexrow, addr1indexrow; // index of rows = 0, address value of top most row unsigned long int addr0min,addr0max,temp; // minimum address possible and maximum address possible unsigned long int addr1min, addr1max, jll, rangefileno; unsigned long int list0totalrows, list1totalrows; // value is addr0max minus addr0min TGVerticalFrame **Column; TGTextEntry *cl0;//label for the title of the column[0] TGTextEntry **CLabel;//labels for the numeric columns TGNumberEntryField ***NumEntry;//numeric entries [column][row], //column[0] has the labels TGTextEntry ***TaxtEntry; // TaxtEntry is variable name for column 1 --text entry column TGTextEntry **Labels; //labels in the left most column char n[50]; int height, width; char text2233[30]; char cwd02[300]; const TGWindow *p1; UInt_t list_no; // 0 or 1 Bool_t list0hexadec; Bool_t list1hexadec; char *dltablefile; //11111111111111111111 ClassDef(Dsplist,0); }; #endif /*DSPLISTW_H_*/