Show All |
Enums
Public Member Functions
-
TextBox ()
-
TextBox &size (ivec2 sz)
-
TextBox &size (int width, int height)
-
ivec2getSize () const
-
voidsetSize (ivec2 sz)
-
TextBox &text (const std::string &t)
-
const std::string &getText () const
-
voidsetText (const std::string &t)
-
voidappendText (const std::string &t)
-
TextBox &font (const Font &f)
-
const Font &getFont () const
-
voidsetFont (const Font &f)
-
TextBox &alignment (Alignment align)
-
getAlignment () const
-
voidsetAlignment (Alignment align)
-
TextBox &color (ColorA color)
-
getColor () const
-
voidsetColor (ColorA color)
-
TextBox &backgroundColor (ColorA bgColor)
-
getBackgroundColor () const
-
voidsetBackgroundColor (ColorA bgColor)
-
TextBox &premultiplied (bool premult=true)
-
boolgetPremultiplied () const
-
voidsetPremultiplied (bool premult)
-
TextBox &ligate (bool ligateText=true)
-
boolgetLigate () const
-
voidsetLigate (bool ligateText)
-
vec2measure () const
-
render (vec2 offset=vec2())