comparison DemoCube/src/DemoCubeAppView.cpp @ 5:f546bb5370c7 default tip

Added a readme and a TODO in the source code.
author Atul Varma <varmaa@toolness.com>
date Tue, 12 Feb 2008 19:09:21 -0600
parents 0a2b5a968ce7
children
comparison
equal deleted inserted replaced
4:65087f1432d6 5:f546bb5370c7
90 TDisplayMode displayMode = CEikonEnv::Static()->WsSession().GetDefModeMaxNumColors( color, gray ); 90 TDisplayMode displayMode = CEikonEnv::Static()->WsSession().GetDefModeMaxNumColors( color, gray );
91 91
92 iPicture = new (ELeave) CFbsBitmap; 92 iPicture = new (ELeave) CFbsBitmap;
93 if (iPicture) 93 if (iPicture)
94 iPicture->Create(iSize, displayMode); //EColor16MA 94 iPicture->Create(iSize, displayMode); //EColor16MA
95 // TODO: We're hard-coding the 'c' drive here, but the user
96 // could've installed the program to a different drive. Obtain
97 // the drive letter dynamically.
95 iLoader = CImageLoader::NewL( 'c' ); 98 iLoader = CImageLoader::NewL( 'c' );
96 iLoader->LoadImage( KPicture, iPicture ); 99 iLoader->LoadImage( KPicture, iPicture );
97 } 100 }
98 101
99 // ----------------------------------------------------------------------------- 102 // -----------------------------------------------------------------------------