mirror of https://github.com/axmolengine/axmol.git
fix tizen compile issue (#17002)
* fix tizen compile issue * fix linux compile issue
This commit is contained in:
parent
edca6862b9
commit
3302781dae
|
@ -1,3 +1,6 @@
|
|||
/SA_Report
|
||||
/Emulator
|
||||
/res
|
||||
/Debug
|
||||
/Debug
|
||||
/Debug
|
||||
|
|
|
@ -64,6 +64,7 @@ public:
|
|||
virtual void setInputMode(EditBox::InputMode inputMode);
|
||||
virtual void setInputFlag(EditBox::InputFlag inputFlag);
|
||||
virtual void setMaxLength(int maxLength);
|
||||
virtual void setTextHorizontalAlignment(cocos2d::TextHAlignment alignment) { };
|
||||
virtual int getMaxLength();
|
||||
virtual void setReturnType(EditBox::KeyboardReturnType returnType);
|
||||
virtual bool isEditing();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "WindowTest.h"
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_LINUX)
|
||||
USING_NS_CC;
|
||||
|
||||
WindowTests::WindowTests() {
|
||||
|
@ -52,3 +53,5 @@ void WindowTestFullscreen2::onEnter() {
|
|||
std::string WindowTestFullscreen2::subtitle() const {
|
||||
return "Fullscreen Monitor 2 (if present)";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef __WINDOWTEST_H__
|
||||
#define __WINDOWTEST_H__
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_MAC || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_LINUX)
|
||||
#include "../BaseTest.h"
|
||||
|
||||
DEFINE_TEST_SUITE(WindowTests);
|
||||
|
@ -44,3 +45,5 @@ public:
|
|||
};
|
||||
|
||||
#endif /* __WINDOWTEST_H__ */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue