#include <GTitleFrame.h>
Inheritance diagram for GTitleFrame:
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 | |
TGLayoutHints * | fRightLogoLayout |
TGLayoutHints * | fLeftLogoLayout |
TGPicture * | fRightIconPicture |
TGIcon * | fRightIcon |
TGPicture * | fLeftIconPicture |
TGIcon * | fLeftIcon |
TGLayoutHints * | fTextFrameLayout |
TGCompositeFrame * | fTextFrame |
TGLayoutHints * | fTextLabelLayout |
TGLabel * | fTextLabel1 |
TGLabel * | fTextLabel2 |
Definition at line 31 of file GTitleFrame.h.
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.
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().
TGLayoutHints* GTitleFrame::fRightLogoLayout [private] |
TGLayoutHints* GTitleFrame::fLeftLogoLayout [private] |
TGPicture* GTitleFrame::fRightIconPicture [private] |
Definition at line 37 of file GTitleFrame.h.
Referenced by ChangeRightLogo(), GTitleFrame(), and ~GTitleFrame().
TGIcon* GTitleFrame::fRightIcon [private] |
TGPicture* GTitleFrame::fLeftIconPicture [private] |
TGIcon* GTitleFrame::fLeftIcon [private] |
TGLayoutHints* GTitleFrame::fTextFrameLayout [private] |
TGCompositeFrame* GTitleFrame::fTextFrame [private] |
TGLayoutHints* GTitleFrame::fTextLabelLayout [private] |
TGLabel* GTitleFrame::fTextLabel1 [private] |
TGLabel* GTitleFrame::fTextLabel2 [private] |