CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMdcPalette.cxx
Go to the documentation of this file.
1//
2// BesMdcPalette.cxx
3//
4
5static char* rcsname="$Name: BesVisClient-00-05-10 $";
6static char* rcsdate="$Date: 2019/06/14 06:01:41 $";
7
9#include <iostream>
10
11#include <TGLabel.h>
12#include <TList.h>
13#include <TEnv.h>
14#include <TVirtualX.h>
15#include <TGButton.h>
16#include <TGClient.h>
17#include <TGTab.h>
18#include <TGLayout.h>
19#include <TGListBox.h>
20#include <TString.h>
21#include <TGIcon.h>
22#include <TGPicture.h>
23#include <TASImage.h>
24#include <stdio.h>
25#include <stdlib.h>
26using namespace std;
27
28
29//#ifndef __CINT__
31//#endif
32
33
34//_________________________________________________________________
35// BesMdcPalette
36// Information about Bes Vis Info
37//
38//
39BesMdcPalette::BesMdcPalette(const TGWindow *p, const TGWindow *main) :
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}
54////_________________________________________________________________
55//
56//BesMdcPalette::~BesMdcPalette() {
57// //
58// // BesMdcPalette default destructor
59//}
ClassImp(BesMdcPalette) BesMdcPalette
BesMdcPalette(const TGWindow *p, const TGWindow *main)
int main()
Definition: test_IFile.cxx:11