]> icculus.org git repositories - taylor/freespace2.git/blob - src/helped/helpedline.cpp
added copyright header
[taylor/freespace2.git] / src / helped / helpedline.cpp
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 // HelpEdLine.cpp: implementation of the HelpEdLine class.
10 //
11 //////////////////////////////////////////////////////////////////////
12
13 #include "stdafx.h"
14 #include "helped.h"
15 #include "helpedline.h"
16
17 #ifdef _DEBUG
18 #undef THIS_FILE
19 static char THIS_FILE[]=__FILE__;
20 #define new DEBUG_NEW
21 #endif
22
23 //////////////////////////////////////////////////////////////////////
24 // Construction/Destruction
25 //////////////////////////////////////////////////////////////////////
26
27 HelpEdLine::HelpEdLine()
28 {
29
30 }
31
32 HelpEdLine::~HelpEdLine()
33 {
34
35 }
36
37 HelpEdLine::HelpEdLine(CPoint point_from, CPoint point_to)
38 {
39         // intiliaze start and ending of a line
40         line_start = point_from;
41         line_end = point_to;
42 }
43
44 void HelpEdLine::Draw(CDC *pDC)
45 {
46         // draw the line
47         pDC->MoveTo(line_start);
48         pDC->LineTo(line_end);
49 }
50