Lysa.ui  0.0
Lysa 3D Engine
Tooltip Class Referenceabstract

Detailed Description

A Popup displaying a short, non-interactive help text in a box hanging below its position, flipped above it when there is not enough room below.

Inherits from: Popup

Lua full name: lysa.ui.Tooltip

Public Member Functions

nil set_resources (res_box: string, res_text: string)
 Sets the resource strings of the background box and of the lines of text. More...
 

Properties

string text
 The displayed text, split into lines on newline characters.
 
number text_padding
 Space between the borders of the tooltip and its text.
 

Member Function Documentation

nil set_resources ( string  res_box,
string  res_text)

Sets the resource strings of the background box and of the lines of text.

Parameters
res_boxstring
res_textstring

Property Documentation

string text

The displayed text, split into lines on newline characters.

number text_padding

Space between the borders of the tooltip and its text.