| 94 | enum { GROW = 0 }; |
| 95 | |
| 96 | TextBox() : mAlign( LEFT ), mSize( GROW, GROW ), mFont( Font::getDefault() ), mInvalid( true ), mColor( 1, 1, 1, 1 ), mBackgroundColor( 0, 0, 0, 0 ), mPremultiplied( false ), mLigate( true ) {} |
| 97 | |
| 98 | TextBox& size( ivec2 sz ) { setSize( sz ); return *this; } |
| 99 | TextBox& size( int width, int height ) { setSize( ivec2( width, height ) ); return *this; } |
no outgoing calls