Table of Contents

Interface ITooltipService

Namespace
BSGameLib.UI.Tooltips
Assembly
BSGameLib.UI.dll

A tooltip beside the pointer, drawn over every view and panel: what the game has to say about what the pointer rests on. One at a time; the game decides when it shows and goes, usually by HoverUnderPointer.

public interface ITooltipService

Properties

IsShowing

Lines are showing.

bool IsShowing { get; }

Property Value

bool

Style

How the tooltip looks.

TooltipStyle Style { get; set; }

Property Value

TooltipStyle

Methods

Hide()

Takes the tooltip down. Does nothing when none is showing.

void Hide()

Show(IReadOnlyList<TooltipLine>)

Shows these lines beside the pointer, in place of any showing; none hides it.

void Show(IReadOnlyList<TooltipLine> lines)

Parameters

lines IReadOnlyList<TooltipLine>