CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMdcPalette.cxx File Reference
#include "BesVisClient/BesMdcPalette.h"
#include <iostream>
#include <TGLabel.h>
#include <TList.h>
#include <TEnv.h>
#include <TVirtualX.h>
#include <TGButton.h>
#include <TGClient.h>
#include <TGTab.h>
#include <TGLayout.h>
#include <TGListBox.h>
#include <TString.h>
#include <TGIcon.h>
#include <TGPicture.h>
#include <TASImage.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

 ClassImp (BesMdcPalette) BesMdcPalette
 

Function Documentation

◆ ClassImp()

ClassImp ( BesMdcPalette  )

Definition at line 30 of file BesMdcPalette.cxx.

39 :
40 TGTransientFrame(p, main, 200, 600) {
41 //
42 // BesMdcPalette normal constructor
43 TString filePath = TString(getenv("BESVISLIBROOT"));
44 filePath += "/icons/MdcPalette.gif";
45 TASImage asImage(filePath);
46 this->SetBackgroundPixmap(asImage.GetPixmap());
47
48 // Widget layout
49 SetWindowName("Mdc Wire Palette");
50 Resize(GetDefaultSize());
51 Resize(200,600);
52 MapWindow();
53}
int main()
Definition: test_IFile.cxx:11