Enums


Public Member Functions

  • TextBox ()
  • size (ivec2 sz)
  • size (int width, int height)
  • ivec2
    getSize () const
  • setSize (ivec2 sz)
  • text (const std::string &t)
  • const std::string &
    getText () const
  • setText (const std::string &t)
  • appendText (const std::string &t)
  • font (const Font &f)
  • const Font &
    getFont () const
  • setFont (const Font &f)
  • alignment (Alignment align)
  • getAlignment () const
  • setAlignment (Alignment align)
  • color (ColorA color)
  • getColor () const
  • setColor (ColorA color)
  • backgroundColor (ColorA bgColor)
  • getBackgroundColor () const
  • setBackgroundColor (ColorA bgColor)
  • premultiplied (bool premult=true)
  • bool
    getPremultiplied () const
  • setPremultiplied (bool premult)
  • ligate (bool ligateText=true)
  • bool
    getLigate () const
  • setLigate (bool ligateText)
  • vec2
    measure () const
  • render (vec2 offset=vec2())

Protected Member Functions

  • createLines () const

Protected Attributes

  • mAlign
  • ivec2
    mSize
  • mText
  • mFont
  • mColor
  • mBackgroundColor
  • bool
    mPremultiplied
  • bool
    mLigate
  • bool
    mInvalid
  • vec2
    mCalculatedSize
  • std::vector< std::pair< std::shared_ptr< const __CTLine >, vec2 > >
    mLines