diff --git a/include/eepp/math.hpp b/include/eepp/math.hpp index f707b1117..3757a2f7d 100644 --- a/include/eepp/math.hpp +++ b/include/eepp/math.hpp @@ -16,5 +16,6 @@ #include #include #include +#include #endif diff --git a/include/eepp/ui.hpp b/include/eepp/ui.hpp index b5c9ae835..adae93bcc 100644 --- a/include/eepp/ui.hpp +++ b/include/eepp/ui.hpp @@ -58,4 +58,11 @@ #include +#include +#include +#include +#include +#include +#include + #endif diff --git a/include/eepp/version.hpp b/include/eepp/version.hpp index da6fa7346..e635d4fd6 100644 --- a/include/eepp/version.hpp +++ b/include/eepp/version.hpp @@ -5,9 +5,9 @@ #include #define EEPP_MAJOR_VERSION 2 -#define EEPP_MINOR_VERSION 0 +#define EEPP_MINOR_VERSION 1 #define EEPP_PATCH_LEVEL 0 -#define EEPP_CODENAME "Lokuttara" +#define EEPP_CODENAME "Metta" /** The compiled version of the library */ #define EEPP_VERSION(x) \ diff --git a/src/eepp/ui/uiwidgetcreator.cpp b/src/eepp/ui/uiwidgetcreator.cpp index 57520c88c..cdfd0c30a 100644 --- a/src/eepp/ui/uiwidgetcreator.cpp +++ b/src/eepp/ui/uiwidgetcreator.cpp @@ -68,7 +68,7 @@ UIWidget * UIWidgetCreator::createFromName( std::string widgetName ) { else if ( widgetName == "selectbutton" ) return UISelectButton::New(); else if ( widgetName == "window" ) return UIWindow::New(); else if ( widgetName == "scrollview" ) return UIScrollView::New(); - else if ( widgetName == "textureregion" ) return UITextureRegion::New(); + else if ( widgetName == "textureregion" || widgetName == "subtexture" ) return UITextureRegion::New(); else if ( widgetName == "touchdragable" ) return UITouchDragableWidget::New(); else if ( widgetName == "gridlayout" ) return UIGridLayout::New();