更新 'src/Viewer/splash.cxx'

next
zhongjin 2 years ago
parent d3acedd991
commit aa37834227

@ -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;

Loading…
Cancel
Save