Luanti 5.19.0-dev
Loading...
Searching...
No Matches
IFormSource Class Referenceabstract

#include <guiFormSpecMenu.h>

Inheritance diagram for IFormSource:

Public Member Functions

virtual ~IFormSource ()=default
virtual const std::string & getForm () const =0
virtual std::string resolveText (const std::string &str)

Constructor & Destructor Documentation

◆ ~IFormSource()

virtual IFormSource::~IFormSource ( )
virtualdefault

Member Function Documentation

◆ getForm()

virtual const std::string & IFormSource::getForm ( ) const
pure virtual

Implemented in FormspecFormSource, NodeMetadataFormSource, and PlayerInventoryFormSource.

Referenced by GUIFormSpecMenu::drawMenu().

Here is the caller graph for this function:

◆ resolveText()

virtual std::string IFormSource::resolveText ( const std::string & str)
inlinevirtual

Reimplemented in NodeMetadataFormSource.

Referenced by GUIFormSpecMenu::parseHyperText(), GUIFormSpecMenu::parseHyperTip(), GUIFormSpecMenu::parseSimpleField(), and GUIFormSpecMenu::parseTextArea().

Here is the caller graph for this function:

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