removed display::renderMenu function (was not used anymore)

This commit is contained in:
spacy51 2007-12-07 17:25:36 +00:00
parent 8dce4a7fc3
commit e53556f3f7
4 changed files with 0 additions and 27 deletions

View File

@ -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 ) {

View File

@ -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)

View File

@ -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) {};

View File

@ -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();