add GraphicsWindow::GetHwnd

This commit is contained in:
Glenn Maynard
2005-02-07 09:09:29 +00:00
parent acceffb39a
commit 28241e30aa
2 changed files with 8 additions and 1 deletions
@@ -413,6 +413,11 @@ void GraphicsWindow::Update()
} }
} }
HWND GraphicsWindow::GetHwnd()
{
return g_hWndMain;
}
/* /*
* (c) 2004 Glenn Maynard * (c) 2004 Glenn Maynard
* All rights reserved. * All rights reserved.
@@ -16,7 +16,7 @@ namespace GraphicsWindow
void SetVideoModeParams( const RageDisplay::VideoModeParams &p ); void SetVideoModeParams( const RageDisplay::VideoModeParams &p );
CString SetScreenMode( const RageDisplay::VideoModeParams &p ); CString SetScreenMode( const RageDisplay::VideoModeParams &p );
void CreateGraphicsWindow( const RageDisplay::VideoModeParams &p ); void CreateGraphicsWindow( const RageDisplay::VideoModeParams &p );
void RecreateGraphicsWindow( const RageDisplay::VideoModeParams &p ); void RecreateGraphicsWindow( const RageDisplay::VideoModeParams &p );
void DestroyGraphicsWindow(); void DestroyGraphicsWindow();
void ConfigureGraphicsWindow( const RageDisplay::VideoModeParams &p ); void ConfigureGraphicsWindow( const RageDisplay::VideoModeParams &p );
@@ -25,6 +25,8 @@ void RecreateGraphicsWindow( const RageDisplay::VideoModeParams &p );
RageDisplay::VideoModeParams GetParams(); RageDisplay::VideoModeParams GetParams();
HDC GetHDC(); HDC GetHDC();
void Update(); void Update();
HWND GetHwnd();
}; };
#endif #endif