More refactor and fixes.

--HG--
branch : dev-font
This commit is contained in:
Martí­n Lucas Golini
2017-03-15 01:57:35 -03:00
parent b21163ecf5
commit 775eb656ca
78 changed files with 962 additions and 472 deletions

View File

@@ -11,6 +11,14 @@ UIRelativeLayout::UIRelativeLayout() :
{
}
Uint32 UIRelativeLayout::getType() const {
return UI_TYPE_RELATIVE_LAYOUT;
}
bool UIRelativeLayout::isType( const Uint32& type ) const {
return UIWidget::getType() == type ? true : UIWidget::isType( type );
}
UIRelativeLayout * UIRelativeLayout::add(UIWidget * widget) {
widget->setParent( this );
return this;