更新 'src/Viewer/splash.cxx'

This commit is contained in:
zhongjin 2022-12-04 20:08:55 +08:00
parent d3acedd991
commit aa37834227

View File

@ -226,7 +226,7 @@ void SplashScreen::createNodes()
}
// add main title last so it is atop all.
//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);
addText(geode, osg::Vec2(0.025f, 0.04f), 0.08, "经纬航通飞行平台 2022"s , osgText::Text::LEFT_TOP);
///////////
@ -341,7 +341,7 @@ void SplashScreen::CreateTextFromNode(const SGPropertyNode_ptr& content, osg::Ge
dynamicValueNode,
content->getDoubleValue("max-width", -1.0),
osg::Vec4(content->getDoubleValue("color/r", 1), content->getDoubleValue("color/g", 1), content->getDoubleValue("color/b", 1), content->getDoubleValue("color/a", 1)),
content->getStringValue("font/face", "Fonts/LiberationFonts/LiberationSans-BoldItalic.ttf"));
content->getStringValue("font/face", "Fonts/LiberationFonts/msyh.ttf"));
textItem->condition = condition;