// @(#)root/gl:$Id: TGLOverlay.cxx 25245 2008-08-25 21:44:09Z matevz $
// Author:  Matevz Tadel, Feb 2007

/*************************************************************************
 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#include "TGLOverlay.h"

//==============================================================================
// TGLOverlayElement
//==============================================================================

//______________________________________________________________________
//
// An overlay element. Supports drawing (Render) and event-handling
//
//

ClassImp(TGLOverlayElement);

//______________________________________________________________________
Bool_t TGLOverlayElement::MouseEnter(TGLOvlSelectRecord& /*selRec*/)
{
   // Mouse has enetered this element.
   // Return TRUE if you want additional events.

   return kFALSE;
}

Bool_t TGLOverlayElement::MouseStillInside(TGLOvlSelectRecord& /*selRec*/)
{
   // A new overlay hit is about to be processed.
   // By returning FALSE one can force mouse-leave (MouseLeave will be
   // called shortly).
   // If you return TRUE, Handle will be called soon.
   // Use this if your overlay object has some inactive parts,
   // see TGLManipSet.

   return kTRUE;
}

//______________________________________________________________________
Bool_t TGLOverlayElement::Handle(TGLRnrCtx          & /*rnrCtx*/,
                                 TGLOvlSelectRecord & /*selRec*/,
                                 Event_t            * /*event*/)
{
   // Handle overlay event.
   // Return TRUE if event was handled.

   return kFALSE;
}

//______________________________________________________________________
void TGLOverlayElement::MouseLeave()
{
   // Mouse has left the element.
}


//==============================================================================
// TGLOverlayList
//==============================================================================

//______________________________________________________________________
//
// Manage a collection of overlay elements.
//
// Not used yet.

ClassImp(TGLOverlayList);

Last change: Tue Aug 26 17:16:08 2008
Last generated: 2008-08-26 17:16

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.