Commit 8d2007d8 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

12345

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@57469 954022d7-b5bf-4e40-9824-e11837661b57
parent 4f5b2c36
......@@ -26,28 +26,6 @@ public:
}
};
class CEditorCtrlWrapper2 : public CEditorCtrl
{
public:
COpenGLSceneCtrl* m_pCtrl;
public:
CEditorCtrlWrapper2() : CEditorCtrl()
{
m_pCtrl = NULL;
}
virtual ~CEditorCtrlWrapper2()
{
m_pCtrl = NULL;
}
virtual void InvalidateRectNative(int x, int y, int w, int h)
{
if (m_pCtrl != NULL)
m_pCtrl->InvalidateRectNative(x, y, w, h);
}
};
#if !defined(WIN32) && !defined(_MAC)
void CVideoMemory::Init()
{
......@@ -396,6 +374,28 @@ void CNativeCtrl::InvalidateRectNative(int x, int y, int w, int h)
//////////////////
#ifdef _USE_WEB_MENU_
class CEditorCtrlWrapper2 : public CEditorCtrl
{
public:
COpenGLSceneCtrl* m_pCtrl;
public:
CEditorCtrlWrapper2() : CEditorCtrl()
{
m_pCtrl = NULL;
}
virtual ~CEditorCtrlWrapper2()
{
m_pCtrl = NULL;
}
virtual void InvalidateRectNative(int x, int y, int w, int h)
{
if (m_pCtrl != NULL)
m_pCtrl->InvalidateRectNative(x, y, w, h);
}
};
void COpenGLSceneCtrl::_native_OnResize(int X, int Y, int W, int H)
{
m_nEditorX = X;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment