#include <TGMdiDecorFrame.h>
Inheritance diagram for TGMdiTitleIcon:
Public Member Functions | |
TGMdiTitleIcon (const TGWindow *p, const TGWindow *titlebar, const TGPicture *pic, Int_t w, Int_t h) | |
virtual | ~TGMdiTitleIcon () |
virtual Bool_t | HandleDoubleClick (Event_t *event) |
virtual Bool_t | HandleButton (Event_t *event) |
TGPopupMenu * | GetPopup () const |
TGMdiTitleIcon (const TGWindow *p, const TGWindow *titlebar, const TGPicture *pic, Int_t w, Int_t h) | |
virtual | ~TGMdiTitleIcon () |
virtual Bool_t | HandleDoubleClick (Event_t *event) |
virtual Bool_t | HandleButton (Event_t *event) |
TGPopupMenu * | GetPopup () const |
Protected Member Functions | |
virtual void | DoRedraw () |
virtual void | DoRedraw () |
Protected Attributes | |
const TGWindow * | fMsgWindow |
TGPopupMenu * | fPopup |
const TGWindow * | fMsgWindow |
TGPopupMenu * | fPopup |
Friends | |
class | TGMdiFrame |
class | TGMdiTitleBar |
Definition at line 175 of file TGMdiDecorFrame.h.
TGMdiTitleIcon::TGMdiTitleIcon | ( | const TGWindow * | p, | |
const TGWindow * | titlebar, | |||
const TGPicture * | pic, | |||
Int_t | w, | |||
Int_t | h | |||
) |
Definition at line 681 of file TGMdiDecorFrame.cxx.
References TGPopupMenu::AddEntry(), TGFrame::AddInput(), TGPopupMenu::AddSeparator(), TGPopupMenu::Associate(), TGPopupMenu::DisableEntry(), TGObject::fClient, TGWindow::fEditDisabled, fMsgWindow, fPopup, TGClient::GetDefaultRoot(), kButtonPressMask, kButtonReleaseMask, kMdiClose, kMdiMaximize, kMdiMinimize, kMdiMove, kMdiRestore, kMdiSize, kTRUE, and TGWindow::SetWindowName().
TGMdiTitleIcon::~TGMdiTitleIcon | ( | ) | [virtual] |
TGMdiTitleIcon::TGMdiTitleIcon | ( | const TGWindow * | p, | |
const TGWindow * | titlebar, | |||
const TGPicture * | pic, | |||
Int_t | w, | |||
Int_t | h | |||
) |
virtual TGMdiTitleIcon::~TGMdiTitleIcon | ( | ) | [virtual] |
void TGMdiTitleIcon::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGIcon.
Definition at line 719 of file TGMdiDecorFrame.cxx.
References TGIcon::DoRedraw(), TGFrame::fHeight, TGObject::fId, TGFrame::fWidth, and gVirtualX.
Referenced by TGMdiTitleBar::SetTitleBarColors().
Reimplemented from TGFrame.
Definition at line 728 of file TGMdiDecorFrame.cxx.
References TGPopupMenu::EndMenu(), Event_t::fCode, fMsgWindow, fPopup, gVirtualX, kButton1, kC_COMMAND, kCM_MENU, kFALSE, kMDI_CLOSE, kTRUE, MK_MSG(), and TGFrame::SendMessage().
Reimplemented from TGFrame.
Definition at line 742 of file TGMdiDecorFrame.cxx.
References TGFrame::fHeight, fMsgWindow, fPopup, Event_t::fType, Event_t::fX, Event_t::fXRoot, Event_t::fY, Event_t::fYRoot, kButtonPress, kC_COMMAND, kCM_MENU, kMDI_CURRENT, kTRUE, MK_MSG(), TGPopupMenu::PlaceMenu(), and TGFrame::SendMessage().
TGPopupMenu* TGMdiTitleIcon::GetPopup | ( | ) | const [inline] |
Definition at line 193 of file TGMdiDecorFrame.h.
References fPopup.
Referenced by TGMdiTitleBar::HandleButton(), TGMdiDecorFrame::HandleButton(), and TGMdiTitleBar::LayoutButtons().
virtual void TGMdiTitleIcon::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGIcon.
Reimplemented from TGFrame.
Reimplemented from TGFrame.
TGPopupMenu* TGMdiTitleIcon::GetPopup | ( | ) | const [inline] |
TGMdiFrame [friend] |
Definition at line 177 of file TGMdiDecorFrame.h.
TGMdiTitleBar [friend] |
Definition at line 178 of file TGMdiDecorFrame.h.
const TGWindow* TGMdiTitleIcon::fMsgWindow [protected] |
Definition at line 181 of file TGMdiDecorFrame.h.
Referenced by HandleButton(), HandleDoubleClick(), and TGMdiTitleIcon().
TGPopupMenu* TGMdiTitleIcon::fPopup [protected] |
Definition at line 182 of file TGMdiDecorFrame.h.
Referenced by GetPopup(), HandleButton(), HandleDoubleClick(), TGMdiTitleIcon(), and ~TGMdiTitleIcon().
const TGWindow* TGMdiTitleIcon::fMsgWindow [protected] |
Definition at line 181 of file TGMdiDecorFrame.h.
TGPopupMenu* TGMdiTitleIcon::fPopup [protected] |
Definition at line 182 of file TGMdiDecorFrame.h.