Class TooltipConfig
- Namespace
- MonkeyLoader.Resonite.UI.Tooltips
- Assembly
- MonkeyLoader.Resonite.Integration.dll
Contains settings for the tooltips displayed for buttons.
public sealed class TooltipConfig : SingletonConfigSection<TooltipConfig>, INestedIdentifiable<Config>, INestedIdentifiable, IIdentifiableOwner<ConfigSection, IDefiningConfigKey>, IIdentifiableOwner<IDefiningConfigKey>, IIdentifiable, IPrioritizable
- Inheritance
-
TooltipConfig
- Implements
- Inherited Members
- Extension Methods
Properties
BackgroundColor
Gets the background color for tooltips.
public colorX BackgroundColor { get; }
Property Value
- colorX
Description
Gets a description of the config items found in this section.
public override string Description { get; }
Property Value
EnableDebugButtonData
Gets whether debug data for missing button tooltips is logged.
public bool EnableDebugButtonData { get; }
Property Value
EnableDebugTooltipStay
Gets whether tooltips stick around after hovering off the button they're attached to.
public bool EnableDebugTooltipStay { get; }
Property Value
EnableNonLocalTooltips
Gets whether tooltips should use regular slots rather than local ones.
public bool EnableNonLocalTooltips { get; }
Property Value
HoverTime
Gets the time required hovering a button before a tooltip may be opened.
public float HoverTime { get; }
Property Value
- float
The time in seconds.
Id
Gets the mod-unique identifier of this section.
public override string Id { get; }
Property Value
ShowExtendedTooltipForHyperlinks
Gets whether a Hyperlink component's reason and URL are always shown in tooltips.
public bool ShowExtendedTooltipForHyperlinks { get; }
Property Value
TextColor
Gets the text color for tooltips.
public colorX TextColor { get; }
Property Value
- colorX
TextScale
Gets the text scale for tooltips.
public float TextScale { get; }
Property Value
Version
Gets the semantic version for this config section.
This is used to check if the defined and saved configs are compatible.
public override Version Version { get; }