aboutsummaryrefslogtreecommitdiff
path: root/guilib/GraphicContext.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2009-10-07 01:27:50 +0000
committerjmarshallnz <jmarshallnz@svn>2009-10-07 01:27:50 +0000
commit363c74fafa695c1bfb23c0bf34f35ba69c1212ec (patch)
tree1a2b21d1dd66db30ba57520ec093f1f7f0ce48df /guilib/GraphicContext.cpp
parenta53a6e0fd407e28a4b5b34fcd3ea67bbd4e0df8a (diff)
changed: Get rid of the use of g_graphicsContext to send messages (all it did was passed them on to the window manager.)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23492 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GraphicContext.cpp')
-rw-r--r--guilib/GraphicContext.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/guilib/GraphicContext.cpp b/guilib/GraphicContext.cpp
index a3a4032dc1..a56ccb9b40 100644
--- a/guilib/GraphicContext.cpp
+++ b/guilib/GraphicContext.cpp
@@ -22,8 +22,6 @@
#include "system.h"
#include "GraphicContext.h"
#include "GUIFontManager.h"
-#include "GUIMessage.h"
-#include "IMsgSenderCallback.h"
#include "utils/SingleLock.h"
#include "Application.h"
#include "GUISettings.h"
@@ -51,7 +49,6 @@ CGraphicContext::CGraphicContext(void)
m_strMediaDir = "";
m_bCalibrating = false;
m_Resolution = RES_INVALID;
- m_pCallback = NULL;
m_guiScaleX = m_guiScaleY = 1.0f;
m_windowResolution = RES_INVALID;
m_bFullScreenRoot = false;
@@ -61,24 +58,6 @@ CGraphicContext::~CGraphicContext(void)
{
}
-bool CGraphicContext::SendMessage(int message, int senderID, int destID, int param1, int param2)
-{
- if (!m_pCallback) return false;
- CGUIMessage msg(message, senderID, destID, param1, param2);
- return m_pCallback->SendMessage(msg);
-}
-
-bool CGraphicContext::SendMessage(CGUIMessage& message)
-{
- if (!m_pCallback) return false;
- return m_pCallback->SendMessage(message);
-}
-
-void CGraphicContext::setMessageSender(IMsgSenderCallback* pCallback)
-{
- m_pCallback = pCallback;
-}
-
void CGraphicContext::SetOrigin(float x, float y)
{
if (m_origins.size())