summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/ActiveWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/ActiveWindow.cpp')
-rw-r--r--StarsEx/ActiveWindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/StarsEx/ActiveWindow.cpp b/StarsEx/ActiveWindow.cpp
index 4c99ef8..e5e8e33 100644
--- a/StarsEx/ActiveWindow.cpp
+++ b/StarsEx/ActiveWindow.cpp
@@ -13,7 +13,7 @@
#include <vector>
#include "ActiveWindow.h"
-#include "EventDispatch.h"
+#include "UIEventDispatch.h"
#include "Color.h"
#include "Bitmap.h"
#include "Font.h"
@@ -85,7 +85,7 @@ ActiveWindow::~ActiveWindow()
void
ActiveWindow::Show()
{
- EventDispatch* dispatch = EventDispatch::GetInstance();
+ UIEventDispatch* dispatch = UIEventDispatch::GetInstance();
if (dispatch)
dispatch->Register(this);
@@ -109,7 +109,7 @@ ActiveWindow::Show()
void
ActiveWindow::Hide()
{
- EventDispatch* dispatch = EventDispatch::GetInstance();
+ UIEventDispatch* dispatch = UIEventDispatch::GetInstance();
if (dispatch) {
dispatch->Unregister(this);
focus = false;
@@ -896,7 +896,7 @@ Rect ActiveWindow::TargetRect() const
void ActiveWindow::SetFocus()
{
- EventDispatch* dispatch = EventDispatch::GetInstance();
+ UIEventDispatch* dispatch = UIEventDispatch::GetInstance();
if (dispatch)
dispatch->SetFocus(this);
@@ -906,7 +906,7 @@ void ActiveWindow::SetFocus()
void ActiveWindow::KillFocus()
{
- EventDispatch* dispatch = EventDispatch::GetInstance();
+ UIEventDispatch* dispatch = UIEventDispatch::GetInstance();
if (dispatch)
dispatch->KillFocus(this);
@@ -919,7 +919,7 @@ void ActiveWindow::KillFocus()
ActiveWindow*
ActiveWindow::GetCapture()
{
- EventDispatch* dispatch = EventDispatch::GetInstance();
+ UIEventDispatch* dispatch = UIEventDispatch::GetInstance();
if (dispatch)
return (ActiveWindow*) dispatch->GetCapture();
@@ -931,7 +931,7 @@ ActiveWindow::GetCapture()
bool
ActiveWindow::SetCapture()
{
- EventDispatch* dispatch = EventDispatch::GetInstance();
+ UIEventDispatch* dispatch = UIEventDispatch::GetInstance();
if (dispatch)
return dispatch->CaptureMouse(this) == 1;
@@ -943,7 +943,7 @@ ActiveWindow::SetCapture()
int
ActiveWindow::ReleaseCapture()
{
- EventDispatch* dispatch = EventDispatch::GetInstance();
+ UIEventDispatch* dispatch = UIEventDispatch::GetInstance();
if (dispatch)
return dispatch->ReleaseMouse(this);