lmgl 1.0.0
A lightweight OpenGL graphics engine library written in C++
Loading...
Searching...
No Matches
text.hpp File Reference

Text UI element for rendering text strings. More...

#include "lmgl/renderer/shader.hpp"
#include "lmgl/renderer/vertex_array.hpp"
#include "lmgl/ui/font.hpp"
#include "lmgl/ui/ui_element.hpp"
#include <glm/glm.hpp>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  lmgl::ui::Text
 Text UI element for rendering strings. More...

Namespaces

namespace  lmgl
 Forward declarations for Assimp Material structure.
namespace  lmgl::ui

Enumerations

enum class  lmgl::ui::TextAlign { Left , Center , Right }
 Text alignment options.

Detailed Description

Text UI element for rendering text strings.

This header file contains the Text class which renders text using a loaded font with support for color, alignment, and wrapping.