#include "TGMdiDecorFrame.h" |
TGMdiTitleBar
class description - source file - inheritance tree (.pdf)
protected:
TGMdiTitleBar(const TGWindow* p, const TGWindow* mdiwin, const char* name = "Untitled")
void AddFrames(TGMdiTitleIcon* icon, TGMdiButtons* buttons)
void LayoutButtons(UInt_t buttonmask, Bool_t isMinimized, Bool_t isMaximized)
void RemoveFrames(TGMdiTitleIcon* icon, TGMdiButtons* buttons)
public:
TGMdiTitleBar(const TGMdiTitleBar&)
virtual ~TGMdiTitleBar()
static TClass* Class()
TGMdiButtons* GetButtons() const
TGMdiTitleIcon* GetWinIcon() const
TGLabel* GetWinName() const
Int_t GetX0()
Int_t GetY0()
virtual Bool_t HandleButton(Event_t* event)
virtual Bool_t HandleDoubleClick(Event_t* event)
virtual Bool_t HandleMotion(Event_t* event)
virtual TClass* IsA() const
Bool_t IsLeftButPressed()
Bool_t IsMidButPressed()
Bool_t IsRightButPressed()
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
void SetLeftButPressed(Bool_t press = kTRUE)
void SetMidButPressed(Bool_t press = kTRUE)
void SetRightButPressed(Bool_t press = kTRUE)
void SetTitleBarColors(UInt_t fore, UInt_t back, TGFont* f)
void SetX0(Int_t x0)
void SetY0(Int_t y0)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
const TGWindow* fMdiWin
TGMdiButtons* fButtons
TGMdiTitleIcon* fWinIcon
TGLabel* fWinName
TGCompositeFrame* fLFrame
TGCompositeFrame* fMFrame
TGCompositeFrame* fRFrame
TGLayoutHints* fLHint
TGLayoutHints* fLeftHint
TGLayoutHints* fMiddleHint
TGLayoutHints* fRightHint
Int_t fX0
Int_t fY0
Bool_t fLeftButPressed
Bool_t fRightButPressed
Bool_t fMidButPressed
TGMdiDecorFrame, TGMdiTitleBar, TGMdiButtons, TGMdiTitleIcon,
TGMdiWinResizer, TGMdiVerticalWinResizer, TGMdiHorizontalWinResizer,
and TGMdiCornerWinResizer.
This file contains all different MDI frame decoration classes.
TGMdiTitleBar(const TGWindow *p, const TGWindow *mdiwin,
const char *name) :
TGCompositeFrame(p, 10, 10, kOwnBackground | kHorizontalFrame)
~TGMdiTitleBar()
void LayoutButtons(UInt_t buttonmask,Bool_t isMinimized,
Bool_t isMaximized)
void SetTitleBarColors(UInt_t fore, UInt_t back, TGFont *font)
Bool_t HandleDoubleClick(Event_t *event)
Bool_t HandleButton(Event_t *event)
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Bool_t HandleMotion(Event_t *event)
void AddFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
This is called from TGMdiMainFrame on Restore().
void RemoveFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
This is called from TGMdiMainFrame on Maximize().
Inline Functions
TGMdiButtons* GetButtons() const
TGMdiTitleIcon* GetWinIcon() const
TGLabel* GetWinName() const
Int_t GetX0()
Int_t GetY0()
Bool_t IsLeftButPressed()
Bool_t IsRightButPressed()
Bool_t IsMidButPressed()
void SetX0(Int_t x0)
void SetY0(Int_t y0)
void SetLeftButPressed(Bool_t press = kTRUE)
void SetRightButPressed(Bool_t press = kTRUE)
void SetMidButPressed(Bool_t press = kTRUE)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGMdiTitleBar TGMdiTitleBar(const TGMdiTitleBar&)
Author: Bertrand Bellenot 20/08/2004
Last update: root/gui:$Name: $:$Id: TGMdiDecorFrame.cxx,v 1.13 2005/07/05 12:36:06 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.