2014-09-17 11:23:59 +08:00
|
|
|
|
2014-11-18 22:48:54 +08:00
|
|
|
if(WINDOWS AND BUILD_SHARED_LIBS)
|
2014-09-17 11:23:59 +08:00
|
|
|
ADD_DEFINITIONS (-D_USEGUIDLL)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(WINDOWS)
|
|
|
|
set(COCOS_UI_SPECIFIC_SRC
|
2014-11-10 21:31:46 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-win32.cpp
|
|
|
|
)
|
|
|
|
elseif(MACOSX)
|
2014-09-17 11:23:59 +08:00
|
|
|
set(COCOS_UI_SPECIFIC_SRC
|
2014-11-10 21:31:46 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-mac.mm
|
2016-03-01 05:53:00 +08:00
|
|
|
ui/UIEditBox/Mac/CCUIEditBoxMac.mm
|
|
|
|
ui/UIEditBox/Mac/CCUIMultilineTextField.m
|
|
|
|
ui/UIEditBox/Mac/CCUIPasswordTextField.m
|
|
|
|
ui/UIEditBox/Mac/CCUISingleLineTextField.m
|
|
|
|
ui/UIEditBox/Mac/CCUITextFieldFormatter.m
|
2014-11-10 21:31:46 +08:00
|
|
|
)
|
|
|
|
elseif(LINUX)
|
|
|
|
set(COCOS_UI_SPECIFIC_SRC
|
2015-06-06 14:20:16 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-linux.cpp
|
2014-11-10 21:31:46 +08:00
|
|
|
)
|
2016-03-03 08:51:54 +08:00
|
|
|
ELSEIF(ANDROID)
|
|
|
|
set(COCOS_UI_SPECIFIC_SRC
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-android.cpp
|
|
|
|
ui/UIVideoPlayer-android.cpp
|
|
|
|
ui/UIWebViewImpl-android.cpp
|
|
|
|
)
|
2014-09-17 11:23:59 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
#todo: android UIWebViewImpl and UIVideoPlayer
|
|
|
|
# will add when doing android support
|
|
|
|
|
|
|
|
set(COCOS_UI_SRC
|
|
|
|
|
|
|
|
ui/CocosGUI.cpp
|
|
|
|
ui/UIButton.cpp
|
2015-07-01 11:21:42 +08:00
|
|
|
ui/UIAbstractCheckButton.cpp
|
2014-09-17 11:23:59 +08:00
|
|
|
ui/UICheckBox.cpp
|
2015-07-01 11:21:42 +08:00
|
|
|
ui/UIRadioButton.cpp
|
2014-09-17 11:23:59 +08:00
|
|
|
ui/UIDeprecated.cpp
|
|
|
|
ui/UIHBox.cpp
|
|
|
|
ui/UIHelper.cpp
|
|
|
|
ui/UIImageView.cpp
|
|
|
|
ui/UILayout.cpp
|
|
|
|
ui/UILayoutManager.cpp
|
|
|
|
ui/UILayoutParameter.cpp
|
|
|
|
ui/UIListView.cpp
|
|
|
|
ui/UILoadingBar.cpp
|
|
|
|
ui/UIPageView.cpp
|
2015-09-22 19:23:15 +08:00
|
|
|
ui/UIPageViewIndicator.cpp
|
2014-09-17 11:23:59 +08:00
|
|
|
ui/UIRelativeBox.cpp
|
|
|
|
ui/UIRichText.cpp
|
|
|
|
ui/UIScale9Sprite.cpp
|
|
|
|
ui/UIScrollView.cpp
|
2015-07-01 11:42:24 +08:00
|
|
|
ui/UIScrollViewBar.cpp
|
2014-09-17 11:23:59 +08:00
|
|
|
ui/UISlider.cpp
|
|
|
|
ui/UIText.cpp
|
|
|
|
ui/UITextAtlas.cpp
|
|
|
|
ui/UITextBMFont.cpp
|
|
|
|
ui/UITextField.cpp
|
|
|
|
ui/UIVBox.cpp
|
|
|
|
ui/UIWebView.cpp
|
|
|
|
ui/UIWidget.cpp
|
|
|
|
ui/UIEditBox/UIEditBox.cpp
|
2014-10-12 20:21:32 +08:00
|
|
|
ui/UILayoutComponent.cpp
|
2016-03-01 05:53:00 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-common.cpp
|
2016-03-03 14:17:48 +08:00
|
|
|
ui/UITabControl.cpp
|
2014-09-17 11:23:59 +08:00
|
|
|
${COCOS_UI_SPECIFIC_SRC}
|
|
|
|
|
|
|
|
)
|