Lysa UI  0.0
Lysa UI —UI components for the Lysa Engine
RichTextArea::Chunk Struct Reference

Detailed Description

A piece of a line of text drawn in one call

Public Attributes

std::string text
 
std::shared_ptr< Font > font
 
float4 color {0.0f}
 
float fontScale {1.0f}
 
float x {0.0f}
 
float width {0.0f}
 
float height {0.0f}
 
bool underline {false}
 
bool strike {false}
 
std::string link
 

Member Data Documentation

float4 color {0.0f}
std::shared_ptr<Font> font
float fontScale {1.0f}
float height {0.0f}
std::string link
bool strike {false}
std::string text
bool underline {false}
float width {0.0f}
float x {0.0f}