summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/EventTarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/EventTarget.h')
-rw-r--r--nGenEx/EventTarget.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/nGenEx/EventTarget.h b/nGenEx/EventTarget.h
index af24a58..343a003 100644
--- a/nGenEx/EventTarget.h
+++ b/nGenEx/EventTarget.h
@@ -1,15 +1,15 @@
/* Project nGenEx
- Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Destroyer Studios LLC
+ Copyright © 1997-2004. All Rights Reserved.
- SUBSYSTEM: nGenEx.lib
- FILE: EventTarget.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: nGenEx.lib
+ FILE: EventTarget.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- Event Target interface class
+ OVERVIEW
+ ========
+ Event Target interface class
*/
#ifndef EventTarget_h
@@ -23,36 +23,36 @@
class EventTarget
{
public:
- static const char* TYPENAME() { return "EventTarget"; }
+ static const char* TYPENAME() { return "EventTarget"; }
- virtual ~EventTarget() { }
-
- int operator == (const EventTarget& t) const { return this == &t; }
+ virtual ~EventTarget() { }
- virtual int OnMouseMove(int x, int y) { return 0; }
- virtual int OnLButtonDown(int x, int y) { return 0; }
- virtual int OnLButtonUp(int x, int y) { return 0; }
- virtual int OnClick() { return 0; }
- virtual int OnSelect() { return 0; }
- virtual int OnRButtonDown(int x, int y) { return 0; }
- virtual int OnRButtonUp(int x, int y) { return 0; }
- virtual int OnMouseEnter(int x, int y) { return 0; }
- virtual int OnMouseExit(int x, int y) { return 0; }
- virtual int OnMouseWheel(int wheel) { return 0; }
+ int operator == (const EventTarget& t) const { return this == &t; }
- virtual int OnKeyDown(int vk, int flags) { return 0; }
+ virtual int OnMouseMove(int x, int y) { return 0; }
+ virtual int OnLButtonDown(int x, int y) { return 0; }
+ virtual int OnLButtonUp(int x, int y) { return 0; }
+ virtual int OnClick() { return 0; }
+ virtual int OnSelect() { return 0; }
+ virtual int OnRButtonDown(int x, int y) { return 0; }
+ virtual int OnRButtonUp(int x, int y) { return 0; }
+ virtual int OnMouseEnter(int x, int y) { return 0; }
+ virtual int OnMouseExit(int x, int y) { return 0; }
+ virtual int OnMouseWheel(int wheel) { return 0; }
- virtual void SetFocus() { }
- virtual void KillFocus() { }
- virtual bool HasFocus() const { return false; }
+ virtual int OnKeyDown(int vk, int flags) { return 0; }
- virtual bool IsEnabled() const { return true; }
- virtual bool IsVisible() const { return true; }
- virtual bool IsFormActive() const { return true; }
+ virtual void SetFocus() { }
+ virtual void KillFocus() { }
+ virtual bool HasFocus() const { return false; }
- virtual Rect TargetRect() const { return Rect(); }
+ virtual bool IsEnabled() const { return true; }
+ virtual bool IsVisible() const { return true; }
+ virtual bool IsFormActive() const { return true; }
- virtual const char* GetDescription() const { return "EventTarget"; }
+ virtual Rect TargetRect() const { return Rect(); }
+
+ virtual const char* GetDescription() const { return "EventTarget"; }
};
#endif EventTarget_h