Update some property names for more consistent capitalization

This commit is contained in:
Emma Broman
2022-05-03 15:29:03 +02:00
parent 5362c58db6
commit 7a05c44ce1
3 changed files with 9 additions and 9 deletions

View File

@@ -76,13 +76,13 @@ namespace {
constexpr const openspace::properties::Property::PropertyInfo BrowserSpeedInfo = {
"BrowserAnimationSpeed",
"Field Of View Animation Speed",
"Field of View Animation Speed",
"This determines the speed of the animation of the field of view in the browser."
};
constexpr const openspace::properties::Property::PropertyInfo HideWithGuiInfo = {
"HideTargetsBrowsersWithGui",
"Hide Targets And Browsers With GUI",
"Hide Targets and Browsers with GUI",
"If checked, the targets and browsers will be disabled when the sky browser "
"panel is minimized."
};
@@ -152,7 +152,7 @@ SkyBrowserModule::SkyBrowserModule()
, _hideTargetsBrowsersWithGui(HideWithGuiInfo, false)
, _inverseZoomDirection(InverseZoomInfo, false)
, _spaceCraftAnimationTime(SpaceCraftTimeInfo, 2.0, 0.0, 10.0)
, _wwtImageCollectionUrl(ImageCollectionInfo,
, _wwtImageCollectionUrl(ImageCollectionInfo,
"https://data.openspaceproject.com/wwt/1/imagecollection.wtml")
{
addProperty(_enabled);

View File

@@ -50,7 +50,7 @@ namespace {
constexpr const openspace::properties::Property::PropertyInfo RenderCopyInfo = {
"RenderCopy",
"Position Of A Copy Of The Sky Browser",
"Position of a Copy of the Sky Browser",
"Render a copy of this sky browser at an additional position. This copy will not "
"be interactive. The position is in RAE (Radius, Azimuth, Elevation) coordinates "
"or Cartesian, depending on if the browser uses RAE or Cartesian coordinates."
@@ -64,7 +64,7 @@ namespace {
constexpr const openspace::properties::Property::PropertyInfo IsHiddenInfo = {
"IsHidden",
"Is hidden",
"Is Hidden",
"If checked, the browser will be not be displayed. If it is not checked, it will "
"be."
};
@@ -252,7 +252,7 @@ ScreenSpaceSkyBrowser::renderCopies() const
}
std::vector<std::pair<std::string, bool>>
ScreenSpaceSkyBrowser::showRenderCopies() const
ScreenSpaceSkyBrowser::showRenderCopies() const
{
std::vector<std::pair<std::string, bool>> vec;
using boolProperty = std::unique_ptr<properties::BoolProperty>;

View File

@@ -73,7 +73,7 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo CartesianPositionInfo = {
"CartesianPosition",
"Cartesian coordinates",
"Cartesian Coordinates",
"This value determines the position of this screen space plane in Cartesian "
"three-dimensional coordinates (meters)."
};
@@ -88,7 +88,7 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo ScaleInfo = {
"Scale",
"Scale value",
"Scale Value",
"This value determines a scale factor for the plane. The default size of a plane "
"is determined by the concrete instance and reflects, for example, the size of "
"the image being displayed."
@@ -96,7 +96,7 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo LocalRotationInfo = {
"Rotation",
"Local rotation",
"Local Rotation",
"An euler rotation (x, y, z) to apply to the plane."
};