removed display::renderMenu function (was not used anymore)
This commit is contained in:
parent
8dce4a7fc3
commit
e53556f3f7
|
@ -101,7 +101,6 @@ public:
|
|||
virtual void clear();
|
||||
virtual void render();
|
||||
|
||||
virtual void renderMenu();
|
||||
virtual bool changeRenderSize( int w, int h );
|
||||
virtual void resize( int w, int h );
|
||||
virtual void setOption( const char *option, int value );
|
||||
|
@ -321,15 +320,6 @@ bool Direct3DDisplay::initialize()
|
|||
}
|
||||
|
||||
|
||||
void Direct3DDisplay::renderMenu()
|
||||
{
|
||||
//checkFullScreen();
|
||||
if(theApp.m_pMainWnd) {
|
||||
theApp.m_pMainWnd->DrawMenuBar();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void Direct3DDisplay::clear()
|
||||
{
|
||||
if( pDevice ) {
|
||||
|
|
|
@ -67,7 +67,6 @@ public:
|
|||
virtual void cleanup();
|
||||
virtual void render();
|
||||
virtual void checkFullScreen();
|
||||
virtual void renderMenu();
|
||||
virtual void clear();
|
||||
virtual bool changeRenderSize(int w, int h);
|
||||
virtual DISPLAY_TYPE getType() { return DIRECT_DRAW; };
|
||||
|
@ -534,12 +533,6 @@ void DirectDrawDisplay::clear()
|
|||
ddsPrimary->Flip(NULL, 0);
|
||||
}
|
||||
|
||||
void DirectDrawDisplay::renderMenu()
|
||||
{
|
||||
checkFullScreen();
|
||||
theApp.m_pMainWnd->DrawMenuBar();
|
||||
}
|
||||
|
||||
void DirectDrawDisplay::checkFullScreen()
|
||||
{
|
||||
if(theApp.tripleBuffering)
|
||||
|
|
|
@ -34,7 +34,6 @@ class IDisplay {
|
|||
virtual void cleanup() = 0;
|
||||
virtual void render() = 0;
|
||||
virtual void checkFullScreen() {};
|
||||
virtual void renderMenu() {};
|
||||
virtual void clear() = 0;
|
||||
virtual bool changeRenderSize(int w, int h) { return true; };
|
||||
virtual void resize(int w, int h) {};
|
||||
|
|
|
@ -86,7 +86,6 @@ public:
|
|||
virtual bool initialize();
|
||||
virtual void cleanup();
|
||||
virtual void render();
|
||||
virtual void renderMenu();
|
||||
virtual void clear();
|
||||
virtual bool changeRenderSize( int w, int h );
|
||||
virtual void resize( int w, int h );
|
||||
|
@ -245,14 +244,6 @@ void OpenGLDisplay::clear()
|
|||
}
|
||||
|
||||
|
||||
void OpenGLDisplay::renderMenu()
|
||||
{
|
||||
checkFullScreen();
|
||||
if( theApp.m_pMainWnd )
|
||||
theApp.m_pMainWnd->DrawMenuBar();
|
||||
}
|
||||
|
||||
|
||||
void OpenGLDisplay::render()
|
||||
{
|
||||
clear();
|
||||
|
|
Loading…
Reference in New Issue