From 03a7d5345d2721b257c4a2cf5bd0fa40e8a02fac Mon Sep 17 00:00:00 2001 From: andreja6 Date: Tue, 10 Mar 2020 12:41:47 -0700 Subject: [PATCH] Added tool, fixed some pages --- G3DTest.vcproj | 8 ++++++++ Tool.cpp | 9 +++++++++ Tool.h | 16 ++++++++++++++++ content/page/hopper.html | 14 +++++++------- content/page/surface.html | 14 +++++++------- 5 files changed, 47 insertions(+), 14 deletions(-) create mode 100644 Tool.cpp create mode 100644 Tool.h diff --git a/G3DTest.vcproj b/G3DTest.vcproj index bc40e81..606f513 100644 --- a/G3DTest.vcproj +++ b/G3DTest.vcproj @@ -306,6 +306,10 @@ RelativePath=".\ToggleImageButtonInstance.cpp" > + + @@ -487,6 +491,10 @@ RelativePath=".\ToggleImageButtonInstance.h" > + + diff --git a/Tool.cpp b/Tool.cpp new file mode 100644 index 0000000..7459701 --- /dev/null +++ b/Tool.cpp @@ -0,0 +1,9 @@ +#include "Tool.h" + +Tool::Tool(void) +{ +} + +Tool::~Tool(void) +{ +} diff --git a/Tool.h b/Tool.h new file mode 100644 index 0000000..4489938 --- /dev/null +++ b/Tool.h @@ -0,0 +1,16 @@ +#pragma once + +class Tool +{ +public: + Tool(void); + ~Tool(void); + void OnButton1MouseDown(); + void OnButton2MouseDown(); + void OnButton3MouseDown(); + void OnButton1MouseUp(); + void OnButton2MouseUp(); + void OnButton3MouseUp(); + void OnKeyPress(); + void OnKeyRelease(); +}; diff --git a/content/page/hopper.html b/content/page/hopper.html index d1e1ea2..1abc863 100644 --- a/content/page/hopper.html +++ b/content/page/hopper.html @@ -22,25 +22,25 @@ } - + - + - + - + - + - + - + diff --git a/content/page/surface.html b/content/page/surface.html index f1652d1..a165e6a 100644 --- a/content/page/surface.html +++ b/content/page/surface.html @@ -12,12 +12,12 @@ } - - - - - - - + + + + + + + \ No newline at end of file