#include <TGImageMap.h>
Inheritance diagram for TGImageMap:
Definition at line 115 of file TGImageMap.h.
enum TGImageMap::ENavMode |
Definition at line 123 of file TGImageMap.h.
enum TGImageMap::ENavMode |
Definition at line 123 of file TGImageMap.h.
TGImageMap::TGImageMap | ( | const TGImageMap & | ) | [private] |
Definition at line 407 of file TGImageMap.cxx.
References TGFrame::AddInput(), fCursorMouseOut, fCursorMouseOver, TGObject::fId, fListOfRegions, fMainTip, fNavMode, TGPictureButton::fPic, fTrash, gVirtualX, kAnyButton, kAnyModifier, kButtonDisabled, kButtonPressMask, kButtonReleaseMask, kHand, kKeyPressMask, kKeyReleaseMask, kLeaveWindowMask, kNavRegions, kNone, kPointer, kPointerMotionMask, kStructureNotifyMask, TGPictureButton::SetDisabledPicture(), TGButton::SetState(), and TGWindow::SetWindowName().
Definition at line 432 of file TGImageMap.cxx.
References TGFrame::AddInput(), fCursorMouseOut, fCursorMouseOver, TGObject::fId, fListOfRegions, fMainTip, fNavMode, TGPictureButton::fPic, fTrash, gVirtualX, kAnyButton, kAnyModifier, kButtonDisabled, kButtonPressMask, kButtonReleaseMask, kHand, kKeyPressMask, kKeyReleaseMask, kLeaveWindowMask, kNavRegions, kNone, kPointer, kPointerMotionMask, kStructureNotifyMask, TGPictureButton::SetDisabledPicture(), TGButton::SetState(), and TGWindow::SetWindowName().
TGImageMap::~TGImageMap | ( | ) | [virtual] |
Definition at line 457 of file TGImageMap.cxx.
References TList::Delete(), fListOfRegions, fMainTip, and fTrash.
TGImageMap::TGImageMap | ( | const TGImageMap & | ) | [private] |
virtual TGImageMap::~TGImageMap | ( | ) | [virtual] |
TGImageMap& TGImageMap::operator= | ( | const TGImageMap & | ) | [private] |
Reimplemented from TGButton.
Definition at line 572 of file TGImageMap.cxx.
References TGButton::Clicked(), TGRegion::Contains(), Event_t::fCode, fListOfRegions, fNavMode, TGButton::fTip, Event_t::fType, Event_t::fX, Event_t::fY, gCurrentRegion, TGRegionWithId::GetId(), TGRegionWithId::GetPopup(), gPointerX, gPointerY, TGToolTip::Hide(), kButton1, kButton3, kButtonPress, kFALSE, kNavRegions, kTRUE, TGPopupMenu::PlaceMenu(), and RegionClicked().
Reimplemented from TGFrame.
Definition at line 546 of file TGImageMap.cxx.
References TGRegion::Contains(), DoubleClicked(), Event_t::fCode, fListOfRegions, fNavMode, TGButton::fTip, Event_t::fX, Event_t::fY, gCurrentRegion, TGRegionWithId::GetId(), gPointerX, gPointerY, TGToolTip::Hide(), kButton1, kNavRegions, and kTRUE.
Reimplemented from TGFrame.
Definition at line 514 of file TGImageMap.cxx.
References TGRegion::Contains(), fLastVisited, fListOfRegions, fMainTip, fNavMode, TGButton::fTip, Event_t::fX, Event_t::fY, gCurrentRegion, TGRegionWithId::GetId(), TGRegionWithId::GetToolTipText(), gPointerX, gPointerY, kNavRegions, kTRUE, OnMouseOut(), and OnMouseOver().
ENavMode TGImageMap::GetNavMode | ( | ) | [inline] |
Definition at line 469 of file TGImageMap.cxx.
References TList::Add(), and fListOfRegions.
Referenced by WorldMap::InitAU(), WorldMap::InitFR(), WorldMap::InitRU(), WorldMap::InitUK(), and WorldMap::InitUS().
TGPopupMenu * TGImageMap::CreatePopup | ( | Int_t | id | ) |
Definition at line 477 of file TGImageMap.cxx.
References TList::Add(), fListOfRegions, fTrash, TGRegionWithId::GetId(), TGRegionWithId::GetPopup(), and TGRegionWithId::SetPopup().
Referenced by WorldMap::InitRU(), and WorldMap::InitUS().
TGPopupMenu * TGImageMap::GetPopup | ( | Int_t | id | ) |
Definition at line 500 of file TGImageMap.cxx.
References fListOfRegions, TGRegionWithId::GetId(), and TGRegionWithId::GetPopup().
void TGImageMap::SetToolTipText | ( | const char * | text, | |
Long_t | delayms = 300 | |||
) | [virtual] |
Reimplemented from TGButton.
Definition at line 606 of file TGImageMap.cxx.
References TGObject::fClient, fMainTip, and TGClient::GetDefaultRoot().
Referenced by WorldMap::InitAU(), WorldMap::InitFR(), WorldMap::InitMap(), WorldMap::InitRU(), WorldMap::InitUK(), and WorldMap::InitUS().
Definition at line 618 of file TGImageMap.cxx.
References fListOfRegions, TGRegionWithId::GetId(), and TGRegionWithId::SetToolTipText().
void TGImageMap::SetCursor | ( | ECursor | cursor = kHand |
) | [inline] |
void TGImageMap::SetPicture | ( | const TGPicture * | ) | [inline, virtual] |
void TGImageMap::RegionClicked | ( | Int_t | id | ) | [virtual] |
Definition at line 656 of file TGImageMap.cxx.
References TQObject::Emit().
Referenced by HandleButton().
void TGImageMap::DoubleClicked | ( | Int_t | id | ) | [virtual] |
void TGImageMap::DoubleClicked | ( | ) | [virtual] |
Definition at line 665 of file TGImageMap.cxx.
References TQObject::Emit().
Referenced by HandleDoubleClick().
void TGImageMap::OnMouseOver | ( | Int_t | id | ) | [virtual] |
Definition at line 632 of file TGImageMap.cxx.
References TQObject::Emit(), fCursorMouseOver, TGObject::fId, fMainTip, TGButton::fTip, gVirtualX, TGToolTip::Hide(), and TGToolTip::Reset().
Referenced by HandleMotion().
void TGImageMap::OnMouseOut | ( | Int_t | id | ) | [virtual] |
Definition at line 644 of file TGImageMap.cxx.
References TQObject::Emit(), fCursorMouseOut, TGObject::fId, fMainTip, TGButton::fTip, gVirtualX, TGToolTip::Hide(), and TGToolTip::Reset().
Referenced by HandleMotion().
TGImageMap& TGImageMap::operator= | ( | const TGImageMap & | ) | [private] |
Reimplemented from TGFrame.
ENavMode TGImageMap::GetNavMode | ( | ) | [inline] |
TGPopupMenu* TGImageMap::CreatePopup | ( | Int_t | id | ) |
TGPopupMenu* TGImageMap::GetPopup | ( | Int_t | id | ) |
void TGImageMap::SetToolTipText | ( | const char * | text, | |
Long_t | delayms = 300 | |||
) | [virtual] |
Reimplemented from TGButton.
void TGImageMap::SetCursor | ( | ECursor | cursor = kHand |
) | [inline] |
void TGImageMap::SetPicture | ( | const TGPicture * | ) | [inline, virtual] |
virtual void TGImageMap::RegionClicked | ( | Int_t | id | ) | [virtual] |
virtual void TGImageMap::DoubleClicked | ( | Int_t | id | ) | [virtual] |
virtual void TGImageMap::DoubleClicked | ( | ) | [virtual] |
virtual void TGImageMap::OnMouseOver | ( | Int_t | id | ) | [virtual] |
virtual void TGImageMap::OnMouseOut | ( | Int_t | id | ) | [virtual] |
TList* TGImageMap::fListOfRegions [protected] |
Definition at line 126 of file TGImageMap.h.
Referenced by AddRegion(), CreatePopup(), GetPopup(), HandleButton(), HandleDoubleClick(), HandleMotion(), SetToolTipText(), TGImageMap(), and ~TGImageMap().
ENavMode TGImageMap::fNavMode [protected] |
Definition at line 127 of file TGImageMap.h.
Referenced by GetNavMode(), HandleButton(), HandleDoubleClick(), HandleMotion(), and TGImageMap().
ECursor TGImageMap::fCursorMouseOver [protected] |
Definition at line 128 of file TGImageMap.h.
Referenced by OnMouseOver(), SetCursor(), and TGImageMap().
ECursor TGImageMap::fCursorMouseOut [protected] |
Int_t TGImageMap::fLastVisited [protected] |
TGToolTip* TGImageMap::fMainTip [protected] |
Definition at line 131 of file TGImageMap.h.
Referenced by HandleMotion(), OnMouseOut(), OnMouseOver(), SetToolTipText(), TGImageMap(), and ~TGImageMap().
TList* TGImageMap::fTrash [protected] |
Definition at line 132 of file TGImageMap.h.
Referenced by CreatePopup(), TGImageMap(), and ~TGImageMap().
TList* TGImageMap::fListOfRegions [protected] |
Definition at line 126 of file TGImageMap.h.
TGToolTip* TGImageMap::fMainTip [protected] |
Definition at line 131 of file TGImageMap.h.
TList* TGImageMap::fTrash [protected] |
Definition at line 132 of file TGImageMap.h.