2014-09-17 11:23:59 +08:00
|
|
|
|
|
|
|
if(WINDOWS AND NOT BUILD_STATIC)
|
|
|
|
ADD_DEFINITIONS (-D_USEGUIDLL)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(WINDOWS)
|
|
|
|
set(COCOS_UI_SPECIFIC_SRC
|
2014-09-18 10:22:24 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-win32.cpp)
|
2014-09-20 00:56:51 +08:00
|
|
|
else()#elseif(MACOSX)
|
|
|
|
#todo: fix mac UI edit box
|
|
|
|
#set(COCOS_UI_SPECIFIC_SRC
|
|
|
|
# ui/UIEditBox/UIEditBoxImpl-mac.mm)
|
|
|
|
#elseif(LINUX)
|
2014-09-17 11:23:59 +08:00
|
|
|
set(COCOS_UI_SPECIFIC_SRC
|
2014-09-18 10:22:24 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-stub.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
|
|
|
|
ui/UICheckBox.cpp
|
|
|
|
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
|
|
|
|
ui/UIRelativeBox.cpp
|
|
|
|
ui/UIRichText.cpp
|
|
|
|
ui/UIScale9Sprite.cpp
|
|
|
|
ui/UIScrollView.cpp
|
|
|
|
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
|
2014-09-17 11:23:59 +08:00
|
|
|
${COCOS_UI_SPECIFIC_SRC}
|
|
|
|
|
|
|
|
)
|