BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMdcPalette.cxx File Reference
#include <string>
#include "BesMdcPalette.h"
#include <iostream>
#include <TASImage.h>
#include <TEnv.h>
#include <TGButton.h>
#include <TGClient.h>
#include <TGIcon.h>
#include <TGLabel.h>
#include <TGLayout.h>
#include <TGListBox.h>
#include <TGPicture.h>
#include <TGTab.h>
#include <TList.h>
#include <TString.h>
#include <TVirtualX.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 31 of file BesMdcPalette.cxx.

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}