mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-15 16:11:11 +00:00
34 lines
537 B
C
34 lines
537 B
C
|
//////////////////////////////////////////////////////
|
||
|
// View.h
|
||
|
// Declaration of the CView class
|
||
|
|
||
|
#ifndef VIEW_H
|
||
|
#define VIEW_H
|
||
|
|
||
|
#include "WinCore.h"
|
||
|
#include <vector>
|
||
|
|
||
|
using std::vector;
|
||
|
|
||
|
|
||
|
class CView : public CWnd
|
||
|
{
|
||
|
public:
|
||
|
CView();
|
||
|
virtual ~CView(){}
|
||
|
|
||
|
protected:
|
||
|
virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||
|
|
||
|
private:
|
||
|
void DrawLine(int x, int y);
|
||
|
void OnLButtonDown(LPARAM lParam);
|
||
|
void OnLButtonUp(LPARAM lParam);
|
||
|
void OnMouseMove(WPARAM wParam, LPARAM lParam);
|
||
|
|
||
|
POINT m_OldPt;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // CVIEW_H
|