GTitleFrame Class Reference

#include <GTitleFrame.h>

Inheritance diagram for GTitleFrame:

TGCompositeFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 GTitleFrame (const TGWindow *p, const char *mainText, const char *subText, UInt_t w, UInt_t h, UInt_t options=kHorizontalFrame|kRaisedFrame)
void ChangeRightLogo (Int_t frame)
virtual ~GTitleFrame ()

Private Attributes

TGLayoutHintsfRightLogoLayout
TGLayoutHintsfLeftLogoLayout
TGPicturefRightIconPicture
TGIconfRightIcon
TGPicturefLeftIconPicture
TGIconfLeftIcon
TGLayoutHintsfTextFrameLayout
TGCompositeFramefTextFrame
TGLayoutHintsfTextLabelLayout
TGLabelfTextLabel1
TGLabelfTextLabel2

Detailed Description

Definition at line 31 of file GTitleFrame.h.


Constructor & Destructor Documentation

GTitleFrame::GTitleFrame ( const TGWindow p,
const char *  mainText,
const char *  subText,
UInt_t  w,
UInt_t  h,
UInt_t  options = kHorizontalFrame|kRaisedFrame 
)

Definition at line 25 of file GTitleFrame.cxx.

References TGCompositeFrame::AddFrame(), TString::Append(), TString::Data(), fLeftIcon, fLeftIconPicture, fLeftLogoLayout, fRightIcon, fRightIconPicture, fRightLogoLayout, fTextFrame, fTextFrameLayout, fTextLabel1, fTextLabel2, fTextLabelLayout, gClient, TGClient::GetColorByName(), TGPicture::GetHeight(), TGClient::GetPicture(), TGPicture::GetWidth(), gProgPath, kLHintsCenterX, kLHintsCenterY, kLHintsExpandX, kLHintsLeft, kLHintsRight, kLHintsTop, kVerticalFrame, TGLabel::SetTextColor(), TGLabel::SetTextFont(), StrDup(), and TGCompositeFrame::TGCompositeFrame().

GTitleFrame::~GTitleFrame (  )  [virtual]

Definition at line 88 of file GTitleFrame.cxx.

References fLeftIconPicture, fLeftLogoLayout, TGClient::FreePicture(), fRightIconPicture, fRightLogoLayout, fTextFrame, fTextFrameLayout, fTextLabel1, fTextLabel2, fTextLabelLayout, and gClient.


Member Function Documentation

void GTitleFrame::ChangeRightLogo ( Int_t  frame  ) 

Definition at line 73 of file GTitleFrame.cxx.

References TString::Append(), TGClient::FreePicture(), fRightIcon, fRightIconPicture, gClient, TGClient::GetPicture(), gProgPath, name, TGIcon::SetPicture(), sprintf(), and StrDup().

Referenced by RootShower::HandleTimer(), and RootShower::OnShowerProduce().


Member Data Documentation

TGLayoutHints* GTitleFrame::fRightLogoLayout [private]

Definition at line 34 of file GTitleFrame.h.

Referenced by GTitleFrame(), and ~GTitleFrame().

TGLayoutHints* GTitleFrame::fLeftLogoLayout [private]

Definition at line 35 of file GTitleFrame.h.

Referenced by GTitleFrame(), and ~GTitleFrame().

TGPicture* GTitleFrame::fRightIconPicture [private]

Definition at line 37 of file GTitleFrame.h.

Referenced by ChangeRightLogo(), GTitleFrame(), and ~GTitleFrame().

TGIcon* GTitleFrame::fRightIcon [private]

Definition at line 38 of file GTitleFrame.h.

Referenced by ChangeRightLogo(), and GTitleFrame().

TGPicture* GTitleFrame::fLeftIconPicture [private]

Definition at line 39 of file GTitleFrame.h.

Referenced by GTitleFrame(), and ~GTitleFrame().

TGIcon* GTitleFrame::fLeftIcon [private]

Definition at line 40 of file GTitleFrame.h.

Referenced by GTitleFrame().

TGLayoutHints* GTitleFrame::fTextFrameLayout [private]

Definition at line 42 of file GTitleFrame.h.

Referenced by GTitleFrame(), and ~GTitleFrame().

TGCompositeFrame* GTitleFrame::fTextFrame [private]

Definition at line 43 of file GTitleFrame.h.

Referenced by GTitleFrame(), and ~GTitleFrame().

TGLayoutHints* GTitleFrame::fTextLabelLayout [private]

Definition at line 44 of file GTitleFrame.h.

Referenced by GTitleFrame(), and ~GTitleFrame().

TGLabel* GTitleFrame::fTextLabel1 [private]

Definition at line 45 of file GTitleFrame.h.

Referenced by GTitleFrame(), and ~GTitleFrame().

TGLabel* GTitleFrame::fTextLabel2 [private]

Definition at line 46 of file GTitleFrame.h.

Referenced by GTitleFrame(), and ~GTitleFrame().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:30:47 2011 for ROOT_528-00b_version by  doxygen 1.5.1