#include <TGMdiDecorFrame.h>
Inheritance diagram for TGMdiTitleBar:
Definition at line 201 of file TGMdiDecorFrame.h.
TGMdiTitleBar::TGMdiTitleBar | ( | const TGWindow * | p, | |
const TGWindow * | mdiwin, | |||
const char * | name = "Untitled" | |||
) | [protected] |
Definition at line 335 of file TGMdiDecorFrame.cxx.
References TGCompositeFrame::AddFrame(), TGFrame::AddInput(), fButtons, TGObject::fClient, TGWindow::fEditDisabled, fLeftButPressed, fLeftHint, fLFrame, fLHint, fMdiWin, fMFrame, fMidButPressed, fMiddleHint, fRFrame, fRightButPressed, fRightHint, fWinIcon, fWinName, TGClient::GetPicture(), kButtonMotionMask, kButtonPressMask, kButtonReleaseMask, kFALSE, kHorizontalFrame, kLHintsCenterY, kLHintsExpandX, kLHintsLeft, kLHintsNormal, kLHintsRight, kTextLeft, kTRUE, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGLabel::SetTextJustify(), TGWindow::SetWindowName(), and TGCompositeFrame::TGCompositeFrame().
TGMdiTitleBar::~TGMdiTitleBar | ( | ) | [virtual] |
Definition at line 383 of file TGMdiDecorFrame.cxx.
References fLeftHint, fLHint, fMiddleHint, fRightHint, and TGCompositeFrame::MustCleanup().
TGMdiTitleBar::TGMdiTitleBar | ( | const TGWindow * | p, | |
const TGWindow * | mdiwin, | |||
const char * | name = "Untitled" | |||
) | [protected] |
virtual TGMdiTitleBar::~TGMdiTitleBar | ( | ) | [virtual] |
void TGMdiTitleBar::LayoutButtons | ( | UInt_t | buttonmask, | |
Bool_t | isMinimized, | |||
Bool_t | isMaximized | |||
) | [protected] |
Definition at line 396 of file TGMdiDecorFrame.cxx.
References TGPopupMenu::DisableEntry(), TGPopupMenu::EnableEntry(), fButtons, fLFrame, fWinIcon, TGMdiButtons::GetButton(), TGMdiTitleIcon::GetPopup(), TGCompositeFrame::HideFrame(), kMdiClose, kMdiHelp, kMdiMaximize, kMdiMenu, kMdiMinimize, kMdiMove, kMdiRestore, kMdiSize, TGCompositeFrame::Layout(), and TGCompositeFrame::ShowFrame().
Referenced by TGMdiMainFrame::Maximize(), TGMdiMainFrame::Minimize(), TGMdiMainFrame::Restore(), and TGMdiDecorFrame::SetMdiButtons().
void TGMdiTitleBar::AddFrames | ( | TGMdiTitleIcon * | icon, | |
TGMdiButtons * | buttons | |||
) | [protected] |
Definition at line 582 of file TGMdiDecorFrame.cxx.
References TGCompositeFrame::AddFrame(), fLFrame, fLHint, fRFrame, TGFrame::ReparentWindow(), and TGCompositeFrame::ShowFrame().
Referenced by TGMdiMainFrame::Restore().
void TGMdiTitleBar::RemoveFrames | ( | TGMdiTitleIcon * | icon, | |
TGMdiButtons * | buttons | |||
) | [protected] |
Definition at line 596 of file TGMdiDecorFrame.cxx.
References fLFrame, fRFrame, and TGCompositeFrame::RemoveFrame().
Referenced by TGMdiMainFrame::Maximize().
Reimplemented from TGCompositeFrame.
Definition at line 493 of file TGMdiDecorFrame.cxx.
References TGPopupMenu::EndMenu(), Event_t::fCode, TGObject::fId, fLeftButPressed, fMdiWin, fMidButPressed, TGWindow::fParent, fRightButPressed, Event_t::fType, Event_t::fX, fX0, Event_t::fY, fY0, TGCompositeFrame::GetFrameFromPoint(), TGObject::GetId(), TGMdiTitleIcon::GetPopup(), GetWinIcon(), gVirtualX, kButton1, kButton2, kButton3, kButtonPress, kC_MDI, kFALSE, kMDI_CURRENT, kMove, kPointer, kTRUE, MK_MSG(), TGFrame::SendMessage(), and TGCompositeFrame::TranslateCoordinates().
Reimplemented from TGCompositeFrame.
Definition at line 482 of file TGMdiDecorFrame.cxx.
References Event_t::fCode, fMdiWin, TGWindow::fParent, Event_t::fType, TGObject::GetId(), kButton1, kButtonPress, kC_MDI, kMDI_MAXIMIZE, kTRUE, MK_MSG(), and TGFrame::SendMessage().
Reimplemented from TGCompositeFrame.
Definition at line 566 of file TGMdiDecorFrame.cxx.
References TGObject::fId, fLeftButPressed, TGWindow::fParent, Event_t::fWindow, Event_t::fX, fX0, Event_t::fY, fY0, kTRUE, x, and y.
Reimplemented from TGCompositeFrame.
Definition at line 547 of file TGMdiDecorFrame.cxx.
References fMdiWin, TGWindow::fParent, GET_MSG(), GET_SUBMSG(), TGObject::GetId(), kC_COMMAND, kC_MDI, kCM_BUTTON, kCM_MENU, kTRUE, MK_MSG(), and TGFrame::SendMessage().
Definition at line 459 of file TGMdiDecorFrame.cxx.
References TGMdiTitleIcon::DoRedraw(), fButtons, TGObject::fClient, fMFrame, fWinIcon, fWinName, TGClient::GetFont(), TNamed::GetName(), kFALSE, TGCompositeFrame::Layout(), TGClient::NeedRedraw(), TGFrame::SetBackgroundColor(), TGLabel::SetTextColor(), and TGLabel::SetTextFont().
Referenced by TGMdiMainFrame::CirculateDown(), TGMdiMainFrame::CirculateUp(), TGMdiMainFrame::Restore(), and TGMdiMainFrame::SetCurrent().
TGMdiButtons* TGMdiTitleBar::GetButtons | ( | ) | const [inline] |
Definition at line 233 of file TGMdiDecorFrame.h.
References fButtons.
Referenced by TGMdiMainFrame::CirculateDown(), TGMdiMainFrame::CirculateUp(), TGMdiMainFrame::Maximize(), TGMdiMainFrame::Restore(), and TGMdiMainFrame::SetCurrent().
TGMdiTitleIcon* TGMdiTitleBar::GetWinIcon | ( | ) | const [inline] |
Definition at line 234 of file TGMdiDecorFrame.h.
References fWinIcon.
Referenced by TGMdiMainFrame::CirculateDown(), TGMdiMainFrame::CirculateUp(), TGMdiDecorFrame::GetWindowIcon(), HandleButton(), TGMdiDecorFrame::HandleButton(), TGMdiMainFrame::Maximize(), TGMdiMainFrame::Restore(), TGMdiMainFrame::SetCurrent(), and TGMdiDecorFrame::SetWindowIcon().
TGLabel* TGMdiTitleBar::GetWinName | ( | ) | const [inline] |
Definition at line 235 of file TGMdiDecorFrame.h.
References fWinName.
Referenced by TGMdiDecorFrame::GetWindowName(), and TGMdiDecorFrame::SetWindowName().
Int_t TGMdiTitleBar::GetX0 | ( | ) | [inline] |
Int_t TGMdiTitleBar::GetY0 | ( | ) | [inline] |
Bool_t TGMdiTitleBar::IsLeftButPressed | ( | ) | [inline] |
Bool_t TGMdiTitleBar::IsRightButPressed | ( | ) | [inline] |
Bool_t TGMdiTitleBar::IsMidButPressed | ( | ) | [inline] |
void TGMdiTitleBar::SetX0 | ( | Int_t | x0 | ) | [inline] |
Definition at line 242 of file TGMdiDecorFrame.h.
References fX0.
Referenced by TGMdiMainFrame::FreeMove().
void TGMdiTitleBar::SetY0 | ( | Int_t | y0 | ) | [inline] |
Definition at line 243 of file TGMdiDecorFrame.h.
References fY0.
Referenced by TGMdiMainFrame::FreeMove().
Definition at line 244 of file TGMdiDecorFrame.h.
References fLeftButPressed.
Referenced by TGMdiMainFrame::FreeMove().
void TGMdiTitleBar::LayoutButtons | ( | UInt_t | buttonmask, | |
Bool_t | isMinimized, | |||
Bool_t | isMaximized | |||
) | [protected] |
void TGMdiTitleBar::AddFrames | ( | TGMdiTitleIcon * | icon, | |
TGMdiButtons * | buttons | |||
) | [protected] |
void TGMdiTitleBar::RemoveFrames | ( | TGMdiTitleIcon * | icon, | |
TGMdiButtons * | buttons | |||
) | [protected] |
Reimplemented from TGCompositeFrame.
Reimplemented from TGCompositeFrame.
Reimplemented from TGCompositeFrame.
Reimplemented from TGCompositeFrame.
TGMdiButtons* TGMdiTitleBar::GetButtons | ( | ) | const [inline] |
TGMdiTitleIcon* TGMdiTitleBar::GetWinIcon | ( | ) | const [inline] |
TGLabel* TGMdiTitleBar::GetWinName | ( | ) | const [inline] |
Int_t TGMdiTitleBar::GetX0 | ( | ) | [inline] |
Int_t TGMdiTitleBar::GetY0 | ( | ) | [inline] |
Bool_t TGMdiTitleBar::IsLeftButPressed | ( | ) | [inline] |
Bool_t TGMdiTitleBar::IsRightButPressed | ( | ) | [inline] |
Bool_t TGMdiTitleBar::IsMidButPressed | ( | ) | [inline] |
void TGMdiTitleBar::SetX0 | ( | Int_t | x0 | ) | [inline] |
void TGMdiTitleBar::SetY0 | ( | Int_t | y0 | ) | [inline] |
TGMdiDecorFrame [friend] |
Definition at line 203 of file TGMdiDecorFrame.h.
TGMdiMainFrame [friend] |
Definition at line 204 of file TGMdiDecorFrame.h.
const TGWindow* TGMdiTitleBar::fMdiWin [protected] |
Definition at line 207 of file TGMdiDecorFrame.h.
Referenced by HandleButton(), HandleDoubleClick(), ProcessMessage(), and TGMdiTitleBar().
TGMdiButtons* TGMdiTitleBar::fButtons [protected] |
Definition at line 208 of file TGMdiDecorFrame.h.
Referenced by GetButtons(), LayoutButtons(), SetTitleBarColors(), and TGMdiTitleBar().
TGMdiTitleIcon* TGMdiTitleBar::fWinIcon [protected] |
Definition at line 209 of file TGMdiDecorFrame.h.
Referenced by GetWinIcon(), LayoutButtons(), SetTitleBarColors(), and TGMdiTitleBar().
TGLabel* TGMdiTitleBar::fWinName [protected] |
Definition at line 210 of file TGMdiDecorFrame.h.
Referenced by GetWinName(), SetTitleBarColors(), and TGMdiTitleBar().
TGCompositeFrame* TGMdiTitleBar::fLFrame [protected] |
Definition at line 211 of file TGMdiDecorFrame.h.
Referenced by AddFrames(), LayoutButtons(), RemoveFrames(), and TGMdiTitleBar().
TGCompositeFrame * TGMdiTitleBar::fMFrame [protected] |
Definition at line 211 of file TGMdiDecorFrame.h.
Referenced by SetTitleBarColors(), and TGMdiTitleBar().
TGCompositeFrame * TGMdiTitleBar::fRFrame [protected] |
Definition at line 211 of file TGMdiDecorFrame.h.
Referenced by AddFrames(), RemoveFrames(), and TGMdiTitleBar().
TGLayoutHints* TGMdiTitleBar::fLHint [protected] |
Definition at line 212 of file TGMdiDecorFrame.h.
Referenced by AddFrames(), TGMdiTitleBar(), and ~TGMdiTitleBar().
TGLayoutHints * TGMdiTitleBar::fLeftHint [protected] |
Definition at line 212 of file TGMdiDecorFrame.h.
Referenced by TGMdiTitleBar(), and ~TGMdiTitleBar().
TGLayoutHints * TGMdiTitleBar::fMiddleHint [protected] |
Definition at line 212 of file TGMdiDecorFrame.h.
Referenced by TGMdiTitleBar(), and ~TGMdiTitleBar().
TGLayoutHints * TGMdiTitleBar::fRightHint [protected] |
Definition at line 212 of file TGMdiDecorFrame.h.
Referenced by TGMdiTitleBar(), and ~TGMdiTitleBar().
Int_t TGMdiTitleBar::fX0 [protected] |
Definition at line 213 of file TGMdiDecorFrame.h.
Referenced by GetX0(), HandleButton(), HandleMotion(), and SetX0().
Int_t TGMdiTitleBar::fY0 [protected] |
Definition at line 213 of file TGMdiDecorFrame.h.
Referenced by GetY0(), HandleButton(), HandleMotion(), and SetY0().
Bool_t TGMdiTitleBar::fLeftButPressed [protected] |
Definition at line 214 of file TGMdiDecorFrame.h.
Referenced by HandleButton(), HandleMotion(), IsLeftButPressed(), SetLeftButPressed(), and TGMdiTitleBar().
Bool_t TGMdiTitleBar::fRightButPressed [protected] |
Definition at line 214 of file TGMdiDecorFrame.h.
Referenced by HandleButton(), IsRightButPressed(), SetRightButPressed(), and TGMdiTitleBar().
Bool_t TGMdiTitleBar::fMidButPressed [protected] |
Definition at line 214 of file TGMdiDecorFrame.h.
Referenced by HandleButton(), IsMidButPressed(), SetMidButPressed(), and TGMdiTitleBar().
const TGWindow* TGMdiTitleBar::fMdiWin [protected] |
Definition at line 207 of file TGMdiDecorFrame.h.
TGMdiButtons* TGMdiTitleBar::fButtons [protected] |
Definition at line 208 of file TGMdiDecorFrame.h.
TGMdiTitleIcon* TGMdiTitleBar::fWinIcon [protected] |
Definition at line 209 of file TGMdiDecorFrame.h.
TGLabel* TGMdiTitleBar::fWinName [protected] |
Definition at line 210 of file TGMdiDecorFrame.h.
TGCompositeFrame* TGMdiTitleBar::fLFrame [protected] |
Definition at line 211 of file TGMdiDecorFrame.h.
TGLayoutHints* TGMdiTitleBar::fLHint [protected] |
Definition at line 212 of file TGMdiDecorFrame.h.