Minor fixes.

--HG--
branch : dev-css
This commit is contained in:
Martín Lucas Golini
2019-03-22 23:50:37 -03:00
parent 3a1fbaec49
commit de4545b3a0
3 changed files with 6 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ class EE_API UIWindow : public UIWidget {
UIWindow * setSizeWithDecoration( const Sizef& size );
const Sizef& getSize();
const Sizef& getSize() const;
virtual void setTheme( UITheme * Theme );
@@ -229,7 +229,7 @@ class EE_API UIWindow : public UIWidget {
void fixTitleSize();
Uint32 onMouseDoubleClick( const Vector2i &position, const Uint32 flags );
Uint32 onMouseDoubleClick( const Vector2i &position, const Uint32& flags );
void checkShortcuts( const Uint32& KeyCode, const Uint32& Mod );

View File

@@ -11,12 +11,12 @@ APP_LDLIBS := -llog $(EE_GLES_LINK) -lm -lz -lOpenSLES -lEGL -landroid
#Debug Build
#APP_CFLAGS := -g -DDEBUG -DEE_DEBUG
#APP_CPPFLAGS := -std=c++11 -frtti -fexceptions
#APP_CPPFLAGS := -std=c++14 -frtti -fexceptions
#APP_OPTIM := debug
#Release Build
APP_CFLAGS := -fno-strict-aliasing -O3 -s -DNDEBUG -ffast-math
APP_CPPFLAGS := -std=c++11 -frtti -fexceptions
APP_CPPFLAGS := -std=c++14 -frtti -fexceptions
APP_PLATFORM := android-14
APP_MODULES := main

View File

@@ -585,7 +585,7 @@ UIWindow *UIWindow::setSizeWithDecoration( const Sizef & size ) {
return this;
}
const Sizef& UIWindow::getSize() {
const Sizef& UIWindow::getSize() const {
return UIWidget::getSize();
}
@@ -1124,7 +1124,7 @@ void UIWindow::maximize() {
}
}
Uint32 UIWindow::onMouseDoubleClick( const Vector2i &, const Uint32 Flags ) {
Uint32 UIWindow::onMouseDoubleClick( const Vector2i &, const Uint32 & Flags ) {
if ( isResizeable() && ( NULL != mButtonMaximize ) && ( Flags & EE_BUTTON_LMASK ) ) {
maximize();