Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / tutorials / Tutorial3 / View.h
diff --git a/research/transmission_spectroscopy/TOF/Win32++/tutorials/Tutorial3/View.h b/research/transmission_spectroscopy/TOF/Win32++/tutorials/Tutorial3/View.h
new file mode 100644 (file)
index 0000000..8d88ab0
--- /dev/null
@@ -0,0 +1,33 @@
+//////////////////////////////////////////////////////\r
+// View.h\r
+//  Declaration of the CView class\r
+\r
+#ifndef VIEW_H\r
+#define VIEW_H\r
+\r
+#include "wincore.h"\r
+#include <vector>\r
+\r
+using std::vector;\r
+\r
+\r
+class CView : public CWnd\r
+{\r
+public:\r
+       CView();\r
+       virtual ~CView(){}\r
+\r
+protected:\r
+       virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);\r
+\r
+private:\r
+       void DrawLine(int x, int y);\r
+       void OnLButtonDown(LPARAM lParam);\r
+       void OnLButtonUp(LPARAM lParam);\r
+       void OnMouseMove(WPARAM wParam, LPARAM lParam);\r
+\r
+       POINT m_OldPt;\r
+};\r
+\r
+\r
+#endif // CVIEW_H\r

UCC git Repository :: git.ucc.asn.au