NebulaMgr.cpp   NebulaMgr.cpp 
skipping to change at line 94 skipping to change at line 94
// 1. config file option (list of sets to load at startup) // 1. config file option (list of sets to load at startup)
// 2. load all // 2. load all
// 3. flag in nebula_textures.fab (yuk) // 3. flag in nebula_textures.fab (yuk)
// 4. info.ini file in each set containing a "load at startup" item // 4. info.ini file in each set containing a "load at startup" item
// For now (0.9.0), just load the default set // For now (0.9.0), just load the default set
loadNebulaSet("default"); loadNebulaSet("default");
QSettings* conf = StelApp::getInstance().getSettings(); QSettings* conf = StelApp::getInstance().getSettings();
Q_ASSERT(conf); Q_ASSERT(conf);
nebulaFont.setPixelSize(13); nebulaFont.setPixelSize(StelApp::getInstance().getSettings()->value( "gui/base_font_size", 13).toInt());
Nebula::texCircle = StelApp::getInstance().getTextureManager().creat eTexture("textures/neb.png"); // Load circle texture Nebula::texCircle = StelApp::getInstance().getTextureManager().creat eTexture("textures/neb.png"); // Load circle texture
Nebula::texOpenCluster = StelApp::getInstance().getTextureManager(). createTexture("textures/ocl.png"); // Load open clister marker texture Nebula::texOpenCluster = StelApp::getInstance().getTextureManager(). createTexture("textures/ocl.png"); // Load open clister marker texture
Nebula::texGlobularCluster = StelApp::getInstance().getTextureManage r().createTexture("textures/gcl.png"); // Load globular clister marker te xture Nebula::texGlobularCluster = StelApp::getInstance().getTextureManage r().createTexture("textures/gcl.png"); // Load globular clister marker te xture
Nebula::texPlanetNebula = StelApp::getInstance().getTextureManager() .createTexture("textures/pnb.png"); // Load planetary nebula marker textu re Nebula::texPlanetNebula = StelApp::getInstance().getTextureManager() .createTexture("textures/pnb.png"); // Load planetary nebula marker textu re
texPointer = StelApp::getInstance().getTextureManager().createTextur e("textures/pointeur5.png"); // Load pointer texture texPointer = StelApp::getInstance().getTextureManager().createTextur e("textures/pointeur5.png"); // Load pointer texture
setFlagShow(conf->value("astro/flag_nebula",true).toBool()); setFlagShow(conf->value("astro/flag_nebula",true).toBool());
setFlagHints(conf->value("astro/flag_nebula_name",false).toBool()); setFlagHints(conf->value("astro/flag_nebula_name",false).toBool());
setHintsAmount(conf->value("astro/nebula_hints_amount", 3).toFloat() ); setHintsAmount(conf->value("astro/nebula_hints_amount", 3).toFloat() );
setLabelsAmount(conf->value("astro/nebula_labels_amount", 3).toFloat ()); setLabelsAmount(conf->value("astro/nebula_labels_amount", 3).toFloat ());
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/