diff options
Diffstat (limited to 'tools/globalcode/utility/overlaymarquee.h')
-rw-r--r-- | tools/globalcode/utility/overlaymarquee.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tools/globalcode/utility/overlaymarquee.h b/tools/globalcode/utility/overlaymarquee.h new file mode 100644 index 0000000..b900083 --- /dev/null +++ b/tools/globalcode/utility/overlaymarquee.h @@ -0,0 +1,55 @@ +#include "precompiled/PCH.h" + +#ifndef _GLOBJ_OVERLAYMARQUEE_H +#define _GLOBJ_OVERLAYMARQUEE_H +//----------------------------------------------------------------------------- +// Copyright (C) 2001 Radical Entertainment Ltd. All rights reserved. +// +// overlaymarquee.h +// +// Description: Draw a marquee using openGL. +// +// Modification History: +// + Created Jun 14, 2001 -- bkusy +//----------------------------------------------------------------------------- + +//---------------------------------------- +// System Includes +//---------------------------------------- + +//---------------------------------------- +// Project Includes +//---------------------------------------- +//#include <maya/M3dView.h> + +//---------------------------------------- +// Forward References +//---------------------------------------- +//---------------------------------------- +// Define Owning Namespace +//---------------------------------------- +namespace GLObj { + +class OverlayMarquee +{ + public: + + OverlayMarquee(); + ~OverlayMarquee(); + + void Begin( M3dView& view, short xStart, short yStart ); + void Draw( short xEnd, short yEnd ); + void Redraw(); + void End(); + + private: + OverlayMarquee(OverlayMarquee &); + OverlayMarquee &operator=(OverlayMarquee &); + + M3dView m_View; + short m_xStart, m_yStart, m_xEnd, m_yEnd; +}; + +} // GLObj namespace. + +#endif |