libwtk-sdl2  0.0.1
Public Member Functions | Public Attributes | List of all members
paragraph Struct Reference

#include <label.hpp>

Public Member Functions

 paragraph (std::string text, int trailing_newlines, int font_idx)
 
 paragraph (std::string text, int trailing_newlines)
 
 paragraph (std::string text)
 

Public Attributes

std::string text
 
int trailing_newlines
 
int font_idx
 

Detailed Description

A type to pass a paragraph with trailing newlines to a label. A paragraph can use a different font and trailing newlines will use that fonts height.


The documentation for this struct was generated from the following file: