/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/EventDisplay/BesVisClient/BesVisClient-00-04-04/src/BesMdcPalette.cxx

Go to the documentation of this file.
00001 //
00002 // BesMdcPalette.cxx
00003 //
00004 
00005 static char* rcsname="$Name: BesVisClient-00-04-04 $";
00006 static char* rcsdate="$Date: 2014/04/18 02:12:32 $";
00007 
00008 #include "BesVisClient/BesMdcPalette.h"
00009 #include <iostream>
00010 
00011 #include <TGLabel.h>
00012 #include <TList.h>
00013 #include <TEnv.h>
00014 #include <TVirtualX.h>
00015 #include <TGButton.h>
00016 #include <TGClient.h>
00017 #include <TGTab.h>
00018 #include <TGLayout.h>
00019 #include <TGListBox.h>
00020 #include <TString.h>
00021 #include <TGIcon.h>
00022 #include <TGPicture.h>
00023 #include <TASImage.h>
00024 #include <stdio.h>
00025 #include <stdlib.h>
00026 using namespace std;
00027 
00028 
00029 //#ifndef __CINT__
00030 ClassImp(BesMdcPalette)
00031 //#endif
00032 
00033 
00034 //_________________________________________________________________
00035 // BesMdcPalette
00036 // Information about Bes Vis Info
00037 //
00038 //
00039 BesMdcPalette::BesMdcPalette(const TGWindow *p, const TGWindow *main) :
00040         TGTransientFrame(p, main, 200, 600) {
00041     //
00042     // BesMdcPalette normal constructor
00043     TString filePath = TString(getenv("BESVISLIBROOT"));
00044     filePath += "/icons/MdcPalette.gif";
00045     TASImage asImage(filePath);
00046     this->SetBackgroundPixmap(asImage.GetPixmap());
00047 
00048     // Widget layout
00049     SetWindowName("Mdc Wire Palette");
00050     Resize(GetDefaultSize());
00051     Resize(200,600);
00052     MapWindow();
00053 }
00055 //
00056 //BesMdcPalette::~BesMdcPalette() {
00057 //    //
00058 //    // BesMdcPalette default destructor
00059 //}

Generated on Tue Nov 29 23:12:00 2016 for BOSS_7.0.2 by  doxygen 1.4.7