1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 // splash_screen.cpp : implementation file
21 #include "splash_screen.h"
26 /////////////////////////////////////////////////////////////////////////////
27 // CSplashScreen dialog
30 CSplashScreen::CSplashScreen(CWnd
* pParent
/*=NULL*/)
31 : CDialog(CSplashScreen::IDD
, pParent
)
33 //{{AFX_DATA_INIT(CSplashScreen)
39 void CSplashScreen::DoDataExchange(CDataExchange
* pDX
)
41 CDialog::DoDataExchange(pDX
);
42 //{{AFX_DATA_MAP(CSplashScreen)
43 DDX_Text(pDX
, IDC_LOAD_GEORGES
, m_load_list
);
47 void CSplashScreen::addLine(std::string newLine
)
49 m_load_list
=m_load_list
+"\n"+newLine
.c_str();
54 void CSplashScreen::close()
59 void CSplashScreen::progress (float progressValue
)
62 while ( PeekMessage(&msg
,NULL
,0,0,PM_REMOVE
) )
64 TranslateMessage(&msg
);
65 DispatchMessage(&msg
);
70 BEGIN_MESSAGE_MAP(CSplashScreen
, CDialog
)
71 //{{AFX_MSG_MAP(CSplashScreen)
72 // NOTE: the ClassWizard will add message map macros here
76 /////////////////////////////////////////////////////////////////////////////
77 // CSplashScreen message handlers