Engine » UI » Ui-text-plugin module

Adds text element to UI.

Dependencies:

Files

file plugin.hpp
Plugin entry point.
file text.hpp
Component cubos::engine::UIText.
file text_stretch.hpp
Component cubos::engine::UITextStretch.

Classes

struct cubos::engine::UIText
Component used to draw text on the UI.
struct cubos::engine::UITextStretch
Component which makes a UI element fit the text it has.

Functions

auto uiTextPlugin(Cubos& cubos) -> CUBOS_ENGINE_API void
Plugin entry function.

Function documentation

CUBOS_ENGINE_API void uiTextPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class