更新 'src/Viewer/splash.cxx'
This commit is contained in:
parent
405ed1fb02
commit
89d46f3966
@ -64,7 +64,7 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
|
|
||||||
static const char* LICENSE_URL_TEXT = "CASS ";
|
static const char* LICENSE_URL_TEXT = "Licensed under the GNU GPL. See https://www.flightgear.org for more information";
|
||||||
|
|
||||||
using namespace std::string_literals;
|
using namespace std::string_literals;
|
||||||
using namespace simgear;
|
using namespace simgear;
|
||||||
@ -225,8 +225,7 @@ void SplashScreen::createNodes()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// add main title last so it is atop all.
|
// add main title last so it is atop all.
|
||||||
//addText(geode, osg::Vec2(0.025f, 0.02f), 0.08, "JingweiHT "s + fgGetString("/sim/version/flightgear"), osgText::Text::LEFT_TOP);
|
addText(geode, osg::Vec2(0.025f, 0.02f), 0.08, "FlightGear "s + fgGetString("/sim/version/flightgear"), osgText::Text::LEFT_TOP);
|
||||||
addText(geode, osg::Vec2(0.025f, 0.02f), 0.08, "JingweiHT 2022"s , osgText::Text::LEFT_TOP);
|
|
||||||
|
|
||||||
///////////
|
///////////
|
||||||
|
|
||||||
@ -914,4 +913,4 @@ void fgSplashProgress( const char *identifier, unsigned int percent )
|
|||||||
|
|
||||||
SG_LOG( SG_VIEW, SG_INFO, "Splash screen progress " << identifier );
|
SG_LOG( SG_VIEW, SG_INFO, "Splash screen progress " << identifier );
|
||||||
fgSetString("/sim/startup/splash-progress-text", text);
|
fgSetString("/sim/startup/splash-progress-text", text);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user