35 explicit operator
bool() const;
41 void SetText(
int slot, std::string_view variable, std::string_view value);
43 void SetClass(
int slot, std::string_view elementId, std::string_view className,
bool on);
45 void SetHidden(
int slot, std::string_view elementId,
bool hidden);
50 void SetModifier(
int slot, std::string_view elementId, std::string_view block,
51 std::span<const std::string_view> names, std::string_view name);
The custom_hud_layout entity behind a Screen: spawning, removal, and every write.
void ShowCursor(int slot, bool shown)
void SetHidden(int slot, std::string_view elementId, bool hidden)
void SetModifier(int slot, std::string_view elementId, std::string_view block, std::span< const std::string_view > names, std::string_view name)
bool EnsureSpawned(int slot)
void SetClass(int slot, std::string_view elementId, std::string_view className, bool on)
friend class ScreenManager
void SetText(int slot, std::string_view variable, std::string_view value)
Screen(Screen &&) noexcept