2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
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
9 // HelpEdLine.cpp: implementation of the HelpEdLine class.
11 //////////////////////////////////////////////////////////////////////
15 #include "helpedline.h"
19 static char THIS_FILE[]=__FILE__;
23 //////////////////////////////////////////////////////////////////////
24 // Construction/Destruction
25 //////////////////////////////////////////////////////////////////////
27 HelpEdLine::HelpEdLine()
32 HelpEdLine::~HelpEdLine()
37 HelpEdLine::HelpEdLine(CPoint point_from, CPoint point_to)
39 // intiliaze start and ending of a line
40 line_start = point_from;
44 void HelpEdLine::Draw(CDC *pDC)
47 pDC->MoveTo(line_start);
48 pDC->LineTo(line_end);