更新 'src/Viewer/splash.cxx'
This commit is contained in:
@@ -226,7 +226,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, "FlightGear "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);
|
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,
|
dynamicValueNode,
|
||||||
content->getDoubleValue("max-width", -1.0),
|
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)),
|
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;
|
textItem->condition = condition;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user