Luanti 5.16.0-dev
Loading...
Searching...
No Matches
static_text.h File Reference
#include "IGUIStaticText.h"
#include <vector>
#include "util/enriched_string.h"
#include <IGUIEnvironment.h>
Include dependency graph for static_text.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gui::StaticText

Namespaces

namespace  gui

Functions

void setStaticText (gui::IGUIStaticText *static_text, const EnrichedString &text)
void setStaticText (gui::IGUIStaticText *static_text, std::wstring_view text)

Function Documentation

◆ setStaticText() [1/2]

void setStaticText ( gui::IGUIStaticText * static_text,
const EnrichedString & text )
inline

References EnrichedString::c_str(), and gui::StaticText::setText().

Referenced by GameUI::setChatText(), setStaticText(), GUIFormSpecMenu::showTooltip(), GameUI::update(), and GameUI::updateProfiler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStaticText() [2/2]

void setStaticText ( gui::IGUIStaticText * static_text,
std::wstring_view text )
inline

References setStaticText().

Here is the call graph for this function: