mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-27 06:19:51 -05:00
Adapt the visibility settings for all properties
This commit is contained in:
@@ -55,26 +55,30 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
|
||||
"Enabled",
|
||||
"Is Enabled",
|
||||
"This setting determines whether this object will be visible or not"
|
||||
"This setting determines whether this object will be visible or not",
|
||||
openspace::properties::Property::Visibility::Developer
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo CollapsedInfo = {
|
||||
"Collapsed",
|
||||
"Is Collapsed",
|
||||
"This setting determines whether this window is collapsed or not"
|
||||
"This setting determines whether this window is collapsed or not",
|
||||
openspace::properties::Property::Visibility::Developer
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo ShowHelpInfo = {
|
||||
"ShowHelpText",
|
||||
"Show tooltip help",
|
||||
"If this value is enabled these kinds of tooltips are shown for most properties "
|
||||
"explaining what impact they have on the visuals"
|
||||
"explaining what impact they have on the visuals",
|
||||
openspace::properties::Property::Visibility::Developer
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo HelpTextDelayInfo = {
|
||||
"HelpTextDelay",
|
||||
"Tooltip Delay (in s)",
|
||||
"This value determines the delay in seconds after which the tooltip is shown"
|
||||
"This value determines the delay in seconds after which the tooltip is shown",
|
||||
openspace::properties::Property::Visibility::Developer
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
||||
@@ -28,13 +28,17 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
|
||||
"Enabled",
|
||||
"Is Enabled",
|
||||
"This setting determines whether this object will be visible or not"
|
||||
"This setting determines whether this object will be visible or not",
|
||||
// @VISIBILITY(3.4)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo CollapsedInfo = {
|
||||
"Collapsed",
|
||||
"Is Collapsed",
|
||||
"This setting determines whether this window is collapsed or not"
|
||||
"This setting determines whether this window is collapsed or not",
|
||||
// @VISIBILITY(3.4)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
||||
@@ -42,7 +42,9 @@ namespace {
|
||||
"Use Tree Layout",
|
||||
"If this value is checked, this component will display the properties using a "
|
||||
"tree layout, rather than using a flat map. This value should only be set on "
|
||||
"property windows that display SceneGraphNodes, or the application might crash"
|
||||
"property windows that display SceneGraphNodes, or the application might crash",
|
||||
// @VISIBILITY(3.67)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo OrderingInfo = {
|
||||
@@ -50,7 +52,9 @@ namespace {
|
||||
"Tree Ordering",
|
||||
"This list determines the order of the first tree layer if it is used. Elements "
|
||||
"present in this list will be shown first, with an alphabetical ordering for "
|
||||
"elements not listed"
|
||||
"elements not listed",
|
||||
// @VISIBILITY(3.67)
|
||||
openspace::properties::Property::Visibility::AdvancedUser
|
||||
};
|
||||
|
||||
int nVisibleProperties(const std::vector<openspace::properties::Property*>& props)
|
||||
|
||||
Reference in New Issue
Block a user