#include <TGLOverlayButton.h>
Inheritance diagram for TGLOverlayButton:
Definition at line 30 of file TGLOverlayButton.h.
TGLOverlayButton::TGLOverlayButton | ( | const TGLOverlayButton & | ) | [private] |
TGLOverlayButton::TGLOverlayButton | ( | TGLViewerBase * | parent, | |
const char * | text, | |||
Float_t | posx, | |||
Float_t | posy, | |||
Float_t | width, | |||
Float_t | height | |||
) |
virtual TGLOverlayButton::~TGLOverlayButton | ( | ) | [inline, virtual] |
Definition at line 57 of file TGLOverlayButton.h.
TGLOverlayButton::TGLOverlayButton | ( | const TGLOverlayButton & | ) | [private] |
TGLOverlayButton::TGLOverlayButton | ( | TGLViewerBase * | parent, | |
const char * | text, | |||
Float_t | posx, | |||
Float_t | posy, | |||
Float_t | width, | |||
Float_t | height | |||
) |
virtual TGLOverlayButton::~TGLOverlayButton | ( | ) | [inline, virtual] |
Definition at line 57 of file TGLOverlayButton.h.
TGLOverlayButton& TGLOverlayButton::operator= | ( | const TGLOverlayButton & | ) | [private] |
Bool_t TGLOverlayButton::MouseEnter | ( | TGLOvlSelectRecord & | selRec | ) | [virtual] |
Bool_t TGLOverlayButton::Handle | ( | TGLRnrCtx & | rnrCtx, | |
TGLOvlSelectRecord & | selRec, | |||
Event_t * | event | |||
) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 154 of file TGLOverlayButton.cxx.
References Clicked(), Event_t::fCode, Event_t::fType, TGLSelectRecordBase::GetItem(), TGLRnrCtx::GetViewer(), kButton1, kButtonPress, kButtonRelease, kFALSE, and kTRUE.
void TGLOverlayButton::MouseLeave | ( | ) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 192 of file TGLOverlayButton.cxx.
References fActiveID.
void TGLOverlayButton::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Implements TGLOverlayElement.
Definition at line 54 of file TGLOverlayButton.cxx.
References b, TGLFont::BBox(), TGLRect::CArr(), TGLUtil::Color4f(), TString::Data(), fActiveID, fBackColor, fFont, fHeight, fHighAlpha, fNormAlpha, fPosX, fPosY, fText, fTextColor, fWidth, g, TGLRnrCtx::GetCamera(), TGLRnrCtx::GetPickRectangle(), GL_BLEND, GL_CULL_FACE, GL_FILL, GL_FLAT, GL_FRONT_AND_BACK, GL_LIGHTING, GL_LINE_LOOP, GL_MODELVIEW, GL_ONE_MINUS_SRC_ALPHA, GL_POLYGON_OFFSET_FILL, GL_PROJECTION, GL_QUADS, GL_SRC_ALPHA, glBegin(), glBitmap(), glBlendFunc(), glClearColor(), glDisable(), glEnable(), glEnd(), glLoadIdentity(), glMatrixMode(), glOrtho(), glPolygonMode(), glPolygonOffset(), glPopMatrix(), glPopName(), glPushMatrix(), glPushName(), glRasterPos2i(), glShadeModel(), glTranslatef(), glVertex2f(), TGLRect::Height(), kFALSE, TGLFont::kPixmap, kTRUE, TGLUtil::LineWidth(), TMath::Nint(), TColor::Pixel2RGB(), TGLFont::PostRender(), TGLFont::PreRender(), TGLRnrCtx::RefCamera(), TGLCamera::RefViewport(), TGLRnrCtx::RegisterFontNoScale(), TGLFont::Render(), TGLRnrCtx::Selection(), vp, TGLRect::Width(), TGLCamera::WindowToViewport(), TGLRect::X(), and TGLRect::Y().
virtual void TGLOverlayButton::ResetState | ( | ) | [inline, virtual] |
Definition at line 64 of file TGLOverlayButton.h.
References fActiveID.
Referenced by SplitGLView::SwapToMainView(), and SplitGLView::UnDock().
virtual const char* TGLOverlayButton::GetText | ( | ) | const [inline, virtual] |
virtual Pixel_t TGLOverlayButton::GetBackColor | ( | ) | const [inline, virtual] |
virtual Pixel_t TGLOverlayButton::GetTextColor | ( | ) | const [inline, virtual] |
virtual void TGLOverlayButton::SetText | ( | const char * | text | ) | [inline, virtual] |
virtual void TGLOverlayButton::SetBackColor | ( | Pixel_t | col | ) | [inline, virtual] |
virtual void TGLOverlayButton::SetTextColor | ( | Pixel_t | col | ) | [inline, virtual] |
void TGLOverlayButton::Clicked | ( | TGLViewerBase * | viewer | ) | [virtual] |
Definition at line 141 of file TGLOverlayButton.cxx.
References TQObject::Emit().
Referenced by Handle().
TGLOverlayButton::ClassDef | ( | TGLOverlayButton | , | |
0 | ||||
) |
TGLOverlayButton& TGLOverlayButton::operator= | ( | const TGLOverlayButton & | ) | [private] |
virtual Bool_t TGLOverlayButton::MouseEnter | ( | TGLOvlSelectRecord & | selRec | ) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual Bool_t TGLOverlayButton::Handle | ( | TGLRnrCtx & | rnrCtx, | |
TGLOvlSelectRecord & | selRec, | |||
Event_t * | event | |||
) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual void TGLOverlayButton::MouseLeave | ( | ) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual void TGLOverlayButton::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Implements TGLOverlayElement.
virtual void TGLOverlayButton::ResetState | ( | ) | [inline, virtual] |
virtual const char* TGLOverlayButton::GetText | ( | ) | const [inline, virtual] |
virtual Pixel_t TGLOverlayButton::GetBackColor | ( | ) | const [inline, virtual] |
virtual Pixel_t TGLOverlayButton::GetTextColor | ( | ) | const [inline, virtual] |
virtual void TGLOverlayButton::SetText | ( | const char * | text | ) | [inline, virtual] |
virtual void TGLOverlayButton::SetBackColor | ( | Pixel_t | col | ) | [inline, virtual] |
virtual void TGLOverlayButton::SetTextColor | ( | Pixel_t | col | ) | [inline, virtual] |
virtual void TGLOverlayButton::Clicked | ( | TGLViewerBase * | viewer | ) | [virtual] |
TGLOverlayButton::ClassDef | ( | TGLOverlayButton | , | |
0 | ||||
) |
TString TGLOverlayButton::fText [protected] |
Int_t TGLOverlayButton::fActiveID [protected] |
Definition at line 41 of file TGLOverlayButton.h.
Referenced by MouseEnter(), MouseLeave(), Render(), and ResetState().
Pixel_t TGLOverlayButton::fBackColor [protected] |
Definition at line 42 of file TGLOverlayButton.h.
Referenced by GetBackColor(), Render(), and SetBackColor().
Pixel_t TGLOverlayButton::fTextColor [protected] |
Definition at line 43 of file TGLOverlayButton.h.
Referenced by GetTextColor(), Render(), and SetTextColor().
Float_t TGLOverlayButton::fNormAlpha [protected] |
Float_t TGLOverlayButton::fHighAlpha [protected] |
Float_t TGLOverlayButton::fPosX [protected] |
Float_t TGLOverlayButton::fPosY [protected] |
Float_t TGLOverlayButton::fWidth [protected] |
Float_t TGLOverlayButton::fHeight [protected] |
TGLFont TGLOverlayButton::fFont [mutable, protected] |