2019-11-23 20:27:39 +08:00
|
|
|
if(WINDOWS)
|
2023-03-11 22:10:18 +08:00
|
|
|
if(NOT WINRT)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
2021-12-31 12:12:40 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-win32.h
|
|
|
|
)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
2021-12-31 12:12:40 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-win32.cpp
|
|
|
|
)
|
|
|
|
else()
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
2023-03-11 22:10:18 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-winrt.h
|
2021-12-31 12:12:40 +08:00
|
|
|
)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
2023-03-11 22:10:18 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-winrt.cpp
|
2021-12-31 12:12:40 +08:00
|
|
|
)
|
2022-02-24 17:57:08 +08:00
|
|
|
endif()
|
2022-09-05 14:13:52 +08:00
|
|
|
|
2023-03-11 22:10:18 +08:00
|
|
|
if(AX_ENABLE_MSEDGE_WEBVIEW2)
|
|
|
|
list(APPEND _AX_UI_SPECIFIC_HEADER ui/UIWebView/UIWebViewImpl-win32.h ui/UIWebView/UIWebView.h)
|
|
|
|
list(APPEND _AX_UI_SPECIFIC_SRC ui/UIWebView/UIWebViewImpl-win32.cpp ui/UIWebView/UIWebView.cpp)
|
|
|
|
endif()
|
|
|
|
|
2022-02-24 17:57:08 +08:00
|
|
|
if (AX_ENABLE_MFMEDIA)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_HEADER ${_AX_UI_SPECIFIC_HEADER}
|
2023-04-02 01:51:36 +08:00
|
|
|
ui/UIVideoPlayer.h
|
2022-02-24 17:57:08 +08:00
|
|
|
)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_SRC ${_AX_UI_SPECIFIC_SRC}
|
2023-04-02 01:51:36 +08:00
|
|
|
ui/UIVideoPlayer.cpp
|
2022-02-24 17:57:08 +08:00
|
|
|
)
|
2021-12-31 12:12:40 +08:00
|
|
|
endif()
|
2019-11-23 20:27:39 +08:00
|
|
|
elseif(APPLE)
|
|
|
|
if(MACOSX)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-mac.h
|
|
|
|
ui/UIEditBox/Mac/CCUIPasswordTextField.h
|
|
|
|
ui/UIEditBox/Mac/CCUIMultilineTextField.h
|
|
|
|
ui/UIEditBox/Mac/CCUITextInput.h
|
|
|
|
ui/UIEditBox/Mac/CCUIEditBoxMac.h
|
|
|
|
ui/UIEditBox/Mac/CCUISingleLineTextField.h
|
|
|
|
ui/UIEditBox/Mac/CCUITextFieldFormatter.h
|
|
|
|
)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-mac.mm
|
|
|
|
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
|
|
|
|
)
|
|
|
|
elseif(IOS)
|
2022-09-05 14:13:52 +08:00
|
|
|
if (TVOS)
|
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-ios.h
|
|
|
|
ui/UIEditBox/iOS/CCUIEditBoxIOS.h
|
|
|
|
ui/UIEditBox/iOS/CCUIMultilineTextField.h
|
|
|
|
ui/UIEditBox/iOS/CCUITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UITextView+CCUITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UITextField+CCUITextInput.h
|
|
|
|
ui/UIEditBox/iOS/CCUISingleLineTextField.h
|
|
|
|
)
|
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-ios.mm
|
|
|
|
ui/UIEditBox/iOS/CCUIEditBoxIOS.mm
|
|
|
|
ui/UIEditBox/iOS/CCUIMultilineTextField.mm
|
|
|
|
ui/UIEditBox/iOS/CCUISingleLineTextField.mm
|
|
|
|
ui/UIEditBox/iOS/UITextField+CCUITextInput.mm
|
|
|
|
ui/UIEditBox/iOS/UITextView+CCUITextInput.mm
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
|
|
|
ui/UIWebView/UIWebView.h
|
|
|
|
ui/UIWebView/UIWebViewImpl-ios.h
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-ios.h
|
|
|
|
ui/UIEditBox/iOS/CCUIEditBoxIOS.h
|
|
|
|
ui/UIEditBox/iOS/CCUIMultilineTextField.h
|
|
|
|
ui/UIEditBox/iOS/CCUITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UITextView+CCUITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UITextField+CCUITextInput.h
|
|
|
|
ui/UIEditBox/iOS/CCUISingleLineTextField.h
|
|
|
|
)
|
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
|
|
|
ui/UIWebView/UIWebView.mm
|
2023-04-02 01:51:36 +08:00
|
|
|
ui/UIVideoPlayer-ios.mm
|
2022-09-05 14:13:52 +08:00
|
|
|
ui/UIWebView/UIWebViewImpl-ios.mm
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-ios.mm
|
|
|
|
ui/UIEditBox/iOS/CCUIEditBoxIOS.mm
|
|
|
|
ui/UIEditBox/iOS/CCUIMultilineTextField.mm
|
|
|
|
ui/UIEditBox/iOS/CCUISingleLineTextField.mm
|
|
|
|
ui/UIEditBox/iOS/UITextField+CCUITextInput.mm
|
|
|
|
ui/UIEditBox/iOS/UITextView+CCUITextInput.mm
|
|
|
|
)
|
|
|
|
endif()
|
2019-11-23 20:27:39 +08:00
|
|
|
endif()
|
2023-04-02 01:51:36 +08:00
|
|
|
set(_AX_UI_SPECIFIC_HEADER ui/UIVideoPlayer.h ${_AX_UI_SPECIFIC_HEADER})
|
|
|
|
set(_AX_UI_SPECIFIC_SRC ui/UIVideoPlayer.cpp ${_AX_UI_SPECIFIC_SRC})
|
2019-11-23 20:27:39 +08:00
|
|
|
elseif(LINUX)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-linux.h
|
|
|
|
)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-linux.cpp
|
|
|
|
)
|
|
|
|
elseif(ANDROID)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIWebView/UIWebView.h
|
2023-04-02 01:51:36 +08:00
|
|
|
ui/UIVideoPlayer.h
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIWebView/UIWebViewImpl-android.h
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-android.h
|
|
|
|
)
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-android.cpp
|
2023-04-02 01:51:36 +08:00
|
|
|
ui/UIVideoPlayer-android.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIWebView/UIWebViewImpl-android.cpp
|
|
|
|
# it's special for android, not a common file
|
|
|
|
ui/UIWebView/UIWebView.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_HEADER
|
|
|
|
${_AX_UI_SPECIFIC_HEADER}
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/CocosGUI.h
|
|
|
|
ui/GUIDefine.h
|
|
|
|
ui/GUIExport.h
|
|
|
|
ui/UIAbstractCheckButton.h
|
|
|
|
ui/UIButton.h
|
|
|
|
ui/UICheckBox.h
|
2020-08-26 12:46:41 +08:00
|
|
|
ui/LayoutHelper.h
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIHBox.h
|
|
|
|
ui/UIHelper.h
|
|
|
|
ui/UIImageView.h
|
|
|
|
ui/UILayout.h
|
|
|
|
ui/UILayoutComponent.h
|
|
|
|
ui/UILayoutManager.h
|
|
|
|
ui/UILayoutParameter.h
|
|
|
|
ui/UIListView.h
|
|
|
|
ui/UILoadingBar.h
|
|
|
|
ui/UIPageView.h
|
|
|
|
ui/UIPageViewIndicator.h
|
|
|
|
ui/UIRadioButton.h
|
|
|
|
ui/UIRelativeBox.h
|
|
|
|
ui/UIRichText.h
|
|
|
|
ui/UIScale9Sprite.h
|
|
|
|
ui/UIScrollView.h
|
|
|
|
ui/UIScrollViewBar.h
|
|
|
|
ui/UISlider.h
|
|
|
|
ui/UITabControl.h
|
|
|
|
ui/UIText.h
|
|
|
|
ui/UITextAtlas.h
|
|
|
|
ui/UITextBMFont.h
|
|
|
|
ui/UITextField.h
|
|
|
|
ui/UIVBox.h
|
|
|
|
ui/UIWidget.h
|
|
|
|
)
|
|
|
|
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SRC
|
|
|
|
${_AX_UI_SPECIFIC_SRC}
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/CocosGUI.cpp
|
|
|
|
ui/UIButton.cpp
|
|
|
|
ui/UIAbstractCheckButton.cpp
|
|
|
|
ui/UICheckBox.cpp
|
|
|
|
ui/UIRadioButton.cpp
|
2020-08-26 12:46:41 +08:00
|
|
|
ui/LayoutHelper.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
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/UIPageViewIndicator.cpp
|
|
|
|
ui/UIRelativeBox.cpp
|
|
|
|
ui/UIRichText.cpp
|
|
|
|
ui/UIScale9Sprite.cpp
|
|
|
|
ui/UIScrollView.cpp
|
|
|
|
ui/UIScrollViewBar.cpp
|
|
|
|
ui/UISlider.cpp
|
|
|
|
ui/UIText.cpp
|
|
|
|
ui/UITextAtlas.cpp
|
|
|
|
ui/UITextBMFont.cpp
|
|
|
|
ui/UITextField.cpp
|
|
|
|
ui/UIVBox.cpp
|
|
|
|
ui/UIWidget.cpp
|
|
|
|
ui/UIEditBox/UIEditBox.cpp
|
|
|
|
ui/UILayoutComponent.cpp
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-common.cpp
|
|
|
|
ui/UITabControl.cpp
|
2020-08-04 00:14:35 +08:00
|
|
|
ui/UITextFieldEx.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|