UI module refactoring.

--HG--
branch : dev
This commit is contained in:
Martí­n Lucas Golini
2017-02-18 05:00:15 -03:00
parent d6bf67128f
commit c7a5220c21
72 changed files with 1441 additions and 1438 deletions

View File

@@ -147,7 +147,7 @@ void UITextInput::resetWaitCursor() {
}
void UITextInput::alignFix() {
if ( FontHAlignGet( flags() ) == UI_HALIGN_LEFT ) {
if ( FontHAlignGet( getFlags() ) == UI_HALIGN_LEFT ) {
Uint32 NLPos = 0;
Uint32 LineNum = mTextBuffer.getCurPosLinePos( NLPos );
@@ -177,7 +177,7 @@ void UITextInput::setTheme( UITheme * Theme ) {
void UITextInput::autoSize() {
if ( mFlags & UI_AUTO_SIZE ) {
size( mSize.x, getSkinSize().getHeight() );
setSize( mSize.x, getSkinSize().getHeight() );
}
}