mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Minor fixes.
--HG-- branch : dev-css
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user