add GraphicsWindow::GetHwnd
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user