blob: b900083ad00eed72ee21e75bafb77afa39c635e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
|