GTitleFrame.h

Go to the documentation of this file.
00001 // Author: Bertrand Bellenot   22/08/02
00002 
00003 /*************************************************************************
00004  * Copyright (C) 1995-2002, Bertrand Bellenot.                           *
00005  * All rights reserved.                                                  *
00006  *                                                                       *
00007  * For the licensing terms see the LICENSE file.                         *
00008  *************************************************************************/
00009 
00010 //////////////////////////////////////////////////////////////////////////
00011 //                                                                      //
00012 // GTitleFrame                                                          //
00013 //                                                                      //
00014 // This File contains the declaration of the GTitleFrame-class for      //
00015 // the RootShower application                                           //
00016 //                                                                      //
00017 //////////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef GTITLEFRAME_H
00020 #define GTITLEFRAME_H
00021 
00022 #ifndef ROOT_TGFrame
00023 #include "TGFrame.h"
00024 #endif
00025 
00026 class TGLabel;
00027 class TGButton;
00028 class TGPicture;
00029 class TGIcon;
00030 
00031 class GTitleFrame: public TGCompositeFrame {
00032 
00033 private:
00034    TGLayoutHints     *fRightLogoLayout;   // Right logo layout
00035    TGLayoutHints     *fLeftLogoLayout;    // Left logo layout
00036 
00037    TGPicture         *fRightIconPicture;  // Right icon's picture
00038    TGIcon            *fRightIcon;         // Right icon (logo)
00039    TGPicture         *fLeftIconPicture;   // Left icon's picture
00040    TGIcon            *fLeftIcon;          // Right icon (logo)
00041 
00042    TGLayoutHints     *fTextFrameLayout;
00043    TGCompositeFrame  *fTextFrame;
00044    TGLayoutHints     *fTextLabelLayout;
00045    TGLabel           *fTextLabel1;        // First line title's label
00046    TGLabel           *fTextLabel2;        // Second line title's label
00047 
00048 public:
00049    // Constructor & destructor
00050    GTitleFrame(const TGWindow *p, const char *mainText, const char *subText,
00051                UInt_t w, UInt_t h, UInt_t options = kHorizontalFrame | kRaisedFrame);
00052    void ChangeRightLogo(Int_t frame);
00053    virtual ~GTitleFrame();
00054 };
00055 
00056 #endif // GTITLEFRAME_H

Generated on Tue Jul 5 15:15:11 2011 for ROOT_528-00b_version by  doxygen 1.5.1