mac bundle support for the config file and its path references

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1019 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2008-05-22 23:15:01 +00:00
parent 6332d446d0
commit 57ea251d39
8 changed files with 43 additions and 52 deletions

View File

@ -163,6 +163,7 @@ bool projectM::writeConfig(const std::string & configFile, const Settings & sett
void projectM::readConfig (const std::string & configFile )
{
std::cout << "configFile: " << configFile << std::endl;
ConfigFile config ( configFile );
_settings.meshX = config.read<int> ( "Mesh X", 32 );
_settings.meshY = config.read<int> ( "Mesh Y", 24 );