// @(#)root/gl:$Id: TGLOverlay.cxx 20882 2007-11-19 11:31:26Z rdm $
// 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: Wed Jun 25 08:41:06 2008
Last generated: 2008-06-25 08:41

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.