// sketchView.h : interface (declarations) of the CSketchView class
// generated by AppWizard and modified with the help of ClassWizard
//
// Bold-faced statements were entered by the programmer.
// Italicized statements were generated by ClassWizard.
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SKETCHVIEW_H__B6F7EAEC_1FDD_11D2_9F8E_0004AC247DDE__INCLUDED_)
#define AFX_SKETCHVIEW_H__B6F7EAEC_1FDD_11D2_9F8E_0004AC247DDE__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CSketchView : public CView
{

protected:
        CPoint    m_ptold, m_pt;
        BOOL      m_butdn;
        CDC*      pDC;
        COLORREF  m_color;

protected: // create from serialization only
        CSketchView();
        DECLARE_DYNCREATE(CSketchView)

// Attributes
public:
        CSketchDoc* GetDocument();

// Operations
public:

// Overrides
        // ClassWizard generated virtual function overrides
        //{{AFX_VIRTUAL(CSketchView)
        public:
        virtual void OnDraw(CDC* pDC);  // overridden to draw this view
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
        protected:
        //}}AFX_VIRTUAL

// Implementation
public:
        virtual ~CSketchView();
#ifdef _DEBUG
        virtual void AssertValid() const;
        virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
        //{{AFX_MSG(CSketchView)
        afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
        afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
        afx_msg void OnMouseMove(UINT nFlags, CPoint point);
        afx_msg void OnBlue();
        afx_msg void OnGreen();
        afx_msg void OnRed();
        afx_msg void OnClear();
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in sketchView.cpp
inline CSketchDoc* CSketchView::GetDocument()
   { return (CSketchDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SKETCHVIEW_H__B6F7EAEC_1FDD_11D2_9F8E_0004AC247DDE__INCLUDED_)