BOSS 7.0.1
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-04-04 $";
6static char* rcsdate="$Date: 2014/04/18 02:12:32 $";
7
8#include "BesVisClient/BesMdcPalette.h"
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