#include <BesAboutHelp.h>
Public Member Functions | |
BesAboutHelp (const TGWindow *p, const TGWindow *main) | |
BesAboutHelp (const TGWindow *p, const TGWindow *main) | |
virtual Pixmap_t | GetPic (const char *file) |
virtual Pixmap_t | GetPic (const char *file) |
virtual Bool_t | ProcessMessage (Long_t msg, Long_t parm, Long_t) |
virtual Bool_t | ProcessMessage (Long_t msg, Long_t parm, Long_t) |
virtual | ~BesAboutHelp () |
virtual | ~BesAboutHelp () |
Private Attributes | |
TGVerticalFrame * | fAbout |
TGVerticalFrame * | fAbout |
TGHorizontalFrame * | fBottomFrame |
TGHorizontalFrame * | fBottomFrame |
TGTextButton * | fCloseBtn |
TGTextButton * | fCloseBtn |
TGLabel * | fDescription1 |
TGLabel * | fDescription1 |
TGLabel * | fDescription2 |
TGLabel * | fDescription2 |
TGLabel * | fDescription3 |
TGLabel * | fDescription3 |
TGLabel * | fDescription4 |
TGLabel * | fDescription4 |
TGIcon * | fIcon |
TGIcon * | fIcon |
TGLayoutHints * | fLayout |
TGLayoutHints * | fLayout |
TGTab * | fMain |
TGTab * | fMain |
TGLabel * | fTitle |
TGLabel * | fTitle |
TGHorizontalFrame * | fTitleFrame |
TGHorizontalFrame * | fTitleFrame |
TGListBox * | fVersion |
TGListBox * | fVersion |
TList * | fWidgets |
TList * | fWidgets |
|
|
|
00185 { 00186 // 00187 // BesAboutHelp default destructor 00188 00189 fWidgets->Delete(); 00190 delete fWidgets; 00191 00192 delete fCloseBtn; 00193 delete fTitle; 00194 //delete fIcon; 00195 delete fMain; 00196 delete fAbout; 00197 delete fVersion; 00198 delete fDescription1; 00199 delete fDescription2; 00200 delete fDescription3; 00201 delete fDescription4; 00202 delete fTitleFrame; 00203 delete fBottomFrame; 00204 00205 }
|
|
|
|
|
|
|
|
00229 { 00230 TString filePath = TString(getenv("BESVISCLIENTROOT")); 00231 filePath += "icons/"; 00232 filePath += file; 00233 00234 TASImage asImage(filePath); 00235 Pixmap_t pic = asImage.GetPixmap(); 00236 //asImage->Draw(); 00237 return pic; 00238 }
|
|
|
|
00209 { 00210 // 00211 // Handle message send to the BesAboutHelp object 00212 switch ( GET_MSG(msg) ) { 00213 case kC_COMMAND: 00214 switch ( GET_SUBMSG(msg) ) { 00215 case kCM_BUTTON: 00216 delete this; 00217 break; 00218 default: 00219 break; 00220 } 00221 break; 00222 default: 00223 break; 00224 } 00225 return kTRUE; 00226 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|