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()
|
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
|
2023-06-11 13:08:08 +08:00
|
|
|
ui/UIEditBox/Mac/UIPasswordTextField.h
|
|
|
|
ui/UIEditBox/Mac/UIMultilineTextField.h
|
|
|
|
ui/UIEditBox/Mac/UITextInput.h
|
|
|
|
ui/UIEditBox/Mac/UIEditBoxMac.h
|
|
|
|
ui/UIEditBox/Mac/UISingleLineTextField.h
|
|
|
|
ui/UIEditBox/Mac/UITextFieldFormatter.h
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
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
|
2023-06-11 13:08:08 +08:00
|
|
|
ui/UIEditBox/Mac/UIEditBoxMac.mm
|
|
|
|
ui/UIEditBox/Mac/UIMultilineTextField.m
|
|
|
|
ui/UIEditBox/Mac/UIPasswordTextField.m
|
|
|
|
ui/UIEditBox/Mac/UISingleLineTextField.m
|
|
|
|
ui/UIEditBox/Mac/UITextFieldFormatter.m
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
|
|
|
elseif(IOS)
|
2022-09-05 14:13:52 +08:00
|
|
|
if (TVOS)
|
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-ios.h
|
2023-06-11 13:08:08 +08:00
|
|
|
ui/UIEditBox/iOS/UIEditBoxIOS.h
|
|
|
|
ui/UIEditBox/iOS/UIMultilineTextField.h
|
|
|
|
ui/UIEditBox/iOS/UITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UITextView+UITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UITextField+UITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UISingleLineTextField.h
|
2022-09-05 14:13:52 +08:00
|
|
|
)
|
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-ios.mm
|
2023-06-11 13:08:08 +08:00
|
|
|
ui/UIEditBox/iOS/UIEditBoxIOS.mm
|
|
|
|
ui/UIEditBox/iOS/UIMultilineTextField.mm
|
|
|
|
ui/UIEditBox/iOS/UISingleLineTextField.mm
|
|
|
|
ui/UIEditBox/iOS/UITextField+UITextInput.mm
|
|
|
|
ui/UIEditBox/iOS/UITextView+UITextInput.mm
|
2022-09-05 14:13:52 +08:00
|
|
|
)
|
|
|
|
else()
|
|
|
|
set(_AX_UI_SPECIFIC_HEADER
|
|
|
|
ui/UIWebView/UIWebView.h
|
|
|
|
ui/UIWebView/UIWebViewImpl-ios.h
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-ios.h
|
2023-06-11 13:08:08 +08:00
|
|
|
ui/UIEditBox/iOS/UIEditBoxIOS.h
|
|
|
|
ui/UIEditBox/iOS/UIMultilineTextField.h
|
|
|
|
ui/UIEditBox/iOS/UITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UITextView+UITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UITextField+UITextInput.h
|
|
|
|
ui/UIEditBox/iOS/UISingleLineTextField.h
|
2022-09-05 14:13:52 +08:00
|
|
|
)
|
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
|
|
|
ui/UIWebView/UIWebView.mm
|
|
|
|
ui/UIWebView/UIWebViewImpl-ios.mm
|
|
|
|
ui/UIEditBox/UIEditBoxImpl-ios.mm
|
2023-06-11 13:08:08 +08:00
|
|
|
ui/UIEditBox/iOS/UIEditBoxIOS.mm
|
|
|
|
ui/UIEditBox/iOS/UIMultilineTextField.mm
|
|
|
|
ui/UIEditBox/iOS/UISingleLineTextField.mm
|
|
|
|
ui/UIEditBox/iOS/UITextField+UITextInput.mm
|
|
|
|
ui/UIEditBox/iOS/UITextView+UITextInput.mm
|
2022-09-05 14:13:52 +08:00
|
|
|
)
|
|
|
|
endif()
|
2019-11-23 20:27:39 +08:00
|
|
|
endif()
|
|
|
|
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
|
2024-06-13 22:49:59 +08:00
|
|
|
ui/UIWebView/UIWebView.h
|
|
|
|
ui/UIWebView/UIWebViewImpl-linux.h
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
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
|
2024-06-13 22:49:59 +08:00
|
|
|
ui/UIWebView/UIWebViewImpl-linux.cpp
|
|
|
|
ui/UIWebView/UIWebView.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
2023-09-01 16:31:14 +08:00
|
|
|
elseif(EMSCRIPTEN)
|
|
|
|
set(_AX_UI_SPECIFIC_SRC
|
2024-03-13 01:20:37 +08:00
|
|
|
ui/UIEditBox/UIEditBoxImpl-wasm.cpp
|
2023-09-01 16:31:14 +08:00
|
|
|
)
|
2019-11-23 20:27:39 +08:00
|
|
|
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
|
|
|
|
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
|
|
|
|
ui/UIWebView/UIWebViewImpl-android.cpp
|
|
|
|
# it's special for android, not a common file
|
|
|
|
ui/UIWebView/UIWebView.cpp
|
|
|
|
)
|
2024-08-15 12:14:02 +08:00
|
|
|
|
2024-04-24 22:28:59 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(AX_ENABLE_MEDIA)
|
|
|
|
set(_AX_UI_SPECIFIC_HEADER ui/UIMediaPlayer.h ${_AX_UI_SPECIFIC_HEADER})
|
|
|
|
set(_AX_UI_SPECIFIC_SRC ui/UIMediaPlayer.cpp ${_AX_UI_SPECIFIC_SRC})
|
2019-11-23 20:27:39 +08:00
|
|
|
endif()
|
|
|
|
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_HEADER
|
|
|
|
${_AX_UI_SPECIFIC_HEADER}
|
2023-06-12 09:14:23 +08:00
|
|
|
ui/axmol-ui.h
|
2019-11-23 20:27:39 +08:00
|
|
|
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
|
2024-05-11 00:21:38 +08:00
|
|
|
ui/UITextFieldEx.h
|
2019-11-23 20:27:39 +08:00
|
|
|
ui/UIVBox.h
|
|
|
|
ui/UIWidget.h
|
|
|
|
)
|
|
|
|
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_UI_SRC
|
|
|
|
${_AX_UI_SPECIFIC_SRC}
|
2023-06-12 09:14:23 +08:00
|
|
|
ui/axmol-ui.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
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
|
|
|
)
|