diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 20:15:42 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 20:15:42 +0000 |
commit | b2805409566af00bc15639494f5a186fbd2f16e6 (patch) | |
tree | 78f87818bd262e59929d77b53f068f9120f9620f /nGenEx/EventDispatch.h | |
parent | fb436f697f21dfdf2d8fc8293bab82b998a353d1 (diff) | |
download | starshatter-b2805409566af00bc15639494f5a186fbd2f16e6.zip starshatter-b2805409566af00bc15639494f5a186fbd2f16e6.tar.gz starshatter-b2805409566af00bc15639494f5a186fbd2f16e6.tar.bz2 |
More indenting changes
Diffstat (limited to 'nGenEx/EventDispatch.h')
-rw-r--r-- | nGenEx/EventDispatch.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/nGenEx/EventDispatch.h b/nGenEx/EventDispatch.h index d2e3150..a5fcd35 100644 --- a/nGenEx/EventDispatch.h +++ b/nGenEx/EventDispatch.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: EventDispatch.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: nGenEx.lib
+ FILE: EventDispatch.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- Event Dispatch class
+ OVERVIEW
+ ========
+ Event Dispatch class
*/
#ifndef EventDispatch_h
@@ -24,38 +24,38 @@ class EventDispatch
{
public:
- static const char* TYPENAME() { return "EventDispatch"; }
+ static const char* TYPENAME() { return "EventDispatch"; }
- EventDispatch();
- virtual ~EventDispatch();
+ EventDispatch();
+ virtual ~EventDispatch();
- static void Create();
- static void Close();
- static EventDispatch* GetInstance() { return dispatcher; }
+ static void Create();
+ static void Close();
+ static EventDispatch* GetInstance() { return dispatcher; }
- virtual void Dispatch();
- virtual void Register(EventTarget* tgt);
- virtual void Unregister(EventTarget* tgt);
-
- virtual EventTarget* GetCapture();
- virtual int CaptureMouse(EventTarget* tgt);
- virtual int ReleaseMouse(EventTarget* tgt);
+ virtual void Dispatch();
+ virtual void Register(EventTarget* tgt);
+ virtual void Unregister(EventTarget* tgt);
- virtual EventTarget* GetFocus();
- virtual void SetFocus(EventTarget* tgt);
- virtual void KillFocus(EventTarget* tgt);
-
- virtual void MouseEnter(EventTarget* tgt);
+ virtual EventTarget* GetCapture();
+ virtual int CaptureMouse(EventTarget* tgt);
+ virtual int ReleaseMouse(EventTarget* tgt);
+
+ virtual EventTarget* GetFocus();
+ virtual void SetFocus(EventTarget* tgt);
+ virtual void KillFocus(EventTarget* tgt);
+
+ virtual void MouseEnter(EventTarget* tgt);
protected:
- int mouse_x, mouse_y, mouse_l, mouse_r;
- List<EventTarget> clients;
- EventTarget* capture;
- EventTarget* current;
- EventTarget* focus;
- EventTarget* click_tgt;
-
- static EventDispatch* dispatcher;
+ int mouse_x, mouse_y, mouse_l, mouse_r;
+ List<EventTarget> clients;
+ EventTarget* capture;
+ EventTarget* current;
+ EventTarget* focus;
+ EventTarget* click_tgt;
+
+ static EventDispatch* dispatcher;
};
#endif EventDispatch_h
|