Luanti 5.17.0-dev
Loading...
Searching...
No Matches
GUIFormSpecMenu::HyperTipSpec Struct Reference
Collaboration diagram for GUIFormSpecMenu::HyperTipSpec:

Public Member Functions

 HyperTipSpec ()=default
 HyperTipSpec (const std::string &a_name, const std::string &a_parent_name, const std::string &a_text, const core::rect< s32 > &a_rect, v2s32 a_stpos, s32 a_width, bool a_floating)

Public Attributes

std::string name
std::string parent_name
std::string text
core::rect< s32 > hover_rect
v2s32 stpos
 static tooltip position
s32 width
 in pixels
bool floating
 whether the position is NON-static (i.e. ignore stpos)
bool bound = false
 whether it's cached

Constructor & Destructor Documentation

◆ HyperTipSpec() [1/2]

GUIFormSpecMenu::HyperTipSpec::HyperTipSpec ( )
default

◆ HyperTipSpec() [2/2]

GUIFormSpecMenu::HyperTipSpec::HyperTipSpec ( const std::string & a_name,
const std::string & a_parent_name,
const std::string & a_text,
const core::rect< s32 > & a_rect,
v2s32 a_stpos,
s32 a_width,
bool a_floating )
inline

Member Data Documentation

◆ bound

bool GUIFormSpecMenu::HyperTipSpec::bound = false

whether it's cached

◆ floating

bool GUIFormSpecMenu::HyperTipSpec::floating

whether the position is NON-static (i.e. ignore stpos)

Referenced by HyperTipSpec(), and GUIFormSpecMenu::showHyperTip().

◆ hover_rect

core::rect<s32> GUIFormSpecMenu::HyperTipSpec::hover_rect

Referenced by HyperTipSpec().

◆ name

std::string GUIFormSpecMenu::HyperTipSpec::name

Referenced by HyperTipSpec().

◆ parent_name

std::string GUIFormSpecMenu::HyperTipSpec::parent_name

Referenced by HyperTipSpec().

◆ stpos

v2s32 GUIFormSpecMenu::HyperTipSpec::stpos

static tooltip position

Referenced by HyperTipSpec(), and GUIFormSpecMenu::showHyperTip().

◆ text

std::string GUIFormSpecMenu::HyperTipSpec::text

Referenced by HyperTipSpec().

◆ width

s32 GUIFormSpecMenu::HyperTipSpec::width

in pixels

Referenced by HyperTipSpec(), and GUIFormSpecMenu::showHyperTip().


The documentation for this struct was generated from the following file: