MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / SelectLibrary

Method SelectLibrary

Editor/BaseLibraryDialog.cpp:289–307  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

287
288//////////////////////////////////////////////////////////////////////////
289void CBaseLibraryDialog::SelectLibrary( const CString &library )
290{
291 CWaitCursor wait;
292 if (m_selectedLib != library)
293 {
294 SelectItem(0);
295 m_pLibrary = FindLibrary( library );
296 if (m_pLibrary)
297 {
298 m_selectedLib = library;
299 }
300 else
301 {
302 m_selectedLib = "";
303 }
304 ReloadItems();
305 }
306 m_libraryCtrl.SelectString( -1,m_selectedLib );
307}
308
309//////////////////////////////////////////////////////////////////////////
310void CBaseLibraryDialog::OnChangedLibrary()

Callers

nothing calls this directly

Calls 1

SelectStringMethod · 0.80

Tested by

no test coverage detected