From: <man...@us...> - 2015-06-01 09:40:46
|
Revision: 5225 http://sourceforge.net/p/modplug/code/5225 Author: manxorist Date: 2015-06-01 09:40:40 +0000 (Mon, 01 Jun 2015) Log Message: ----------- [Ref] Make splash screen functions local to Mptrack.cpp. Modified Paths: -------------- trunk/OpenMPT/mptrack/Mptrack.cpp trunk/OpenMPT/mptrack/Mptrack.h Modified: trunk/OpenMPT/mptrack/Mptrack.cpp =================================================================== --- trunk/OpenMPT/mptrack/Mptrack.cpp 2015-06-01 09:28:59 UTC (rev 5224) +++ trunk/OpenMPT/mptrack/Mptrack.cpp 2015-06-01 09:40:40 UTC (rev 5225) @@ -365,6 +365,12 @@ }; +// Splash Screen + +static void StartSplashScreen(); +static void StopSplashScreen(); + + ///////////////////////////////////////////////////////////////////////////// // Midi Library @@ -1428,12 +1434,12 @@ } -VOID CTrackApp::StartSplashScreen() -//--------------------------------- +static void StartSplashScreen() +//----------------------------- { if (!gpSplashScreen) { - gpSplashScreen = new CSplashScreen(m_pMainWnd); + gpSplashScreen = new CSplashScreen(theApp.m_pMainWnd); gpSplashScreen->ShowWindow(SW_SHOW); gpSplashScreen->UpdateWindow(); gpSplashScreen->BeginWaitCursor(); @@ -1441,8 +1447,8 @@ } -VOID CTrackApp::StopSplashScreen() -//-------------------------------- +static void StopSplashScreen() +//---------------------------- { if (gpSplashScreen) { Modified: trunk/OpenMPT/mptrack/Mptrack.h =================================================================== --- trunk/OpenMPT/mptrack/Mptrack.h 2015-06-01 09:28:59 UTC (rev 5224) +++ trunk/OpenMPT/mptrack/Mptrack.h 2015-06-01 09:40:40 UTC (rev 5225) @@ -289,11 +289,6 @@ static void OpenModulesDialog(std::vector<mpt::PathString> &files); -// Splash Screen -protected: - void StartSplashScreen(); - void StopSplashScreen(); - // Overrides public: // ClassWizard generated virtual function overrides This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |