mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 20:50:59 -05:00
Declare PropertyInfo as constexpr, rather than const
This commit is contained in:
@@ -67,25 +67,25 @@ namespace {
|
||||
constexpr const char* sequenceTypeHybrid = "hybrid";
|
||||
constexpr const char* sequenceTypeInstrumentTimes = "instrument-times";
|
||||
|
||||
const char* placeholderFile = "${DATA}/placeholder.png";
|
||||
constexpr const char* placeholderFile = "${DATA}/placeholder.png";
|
||||
|
||||
constexpr const char* _loggerCat = "ProjectionComponent";
|
||||
|
||||
const openspace::properties::Property::PropertyInfo ProjectionInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo ProjectionInfo = {
|
||||
"PerformProjection",
|
||||
"Perform Projections",
|
||||
"If this value is enabled, this ProjectionComponent will perform projections. If "
|
||||
"it is disabled, projections will be ignored."
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo ClearProjectionInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo ClearProjectionInfo = {
|
||||
"ClearAllProjections",
|
||||
"Clear Projections",
|
||||
"If this property is triggered, it will remove all the projections that have "
|
||||
"already been applied."
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo FadingInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo FadingInfo = {
|
||||
"ProjectionFading",
|
||||
"Projection Fading",
|
||||
"This value fades the previously performed projections in or out. If this value "
|
||||
@@ -93,7 +93,7 @@ namespace {
|
||||
"'0', the performed projections are completely invisible."
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo TextureSizeInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo TextureSizeInfo = {
|
||||
"TextureSize",
|
||||
"Texture Size",
|
||||
"This value determines the size of the texture into which the images are "
|
||||
@@ -102,7 +102,7 @@ namespace {
|
||||
"updated, but triggering the 'ApplyTextureSize' property is required."
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo ApplyTextureSizeInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo ApplyTextureSizeInfo = {
|
||||
"ApplyTextureSize",
|
||||
"Apply Texture Size",
|
||||
"Triggering this property applies a new size to the underlying projection "
|
||||
|
||||
Reference in New Issue
Block a user