CocosGUI.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /****************************************************************************
  2. Copyright (c) 2013-2016 Chukong Technologies Inc.
  3. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
  4. http://www.cocos2d-x.org
  5. Permission is hereby granted, free of charge, to any person obtaining a copy
  6. of this software and associated documentation files (the "Software"), to deal
  7. in the Software without restriction, including without limitation the rights
  8. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9. copies of the Software, and to permit persons to whom the Software is
  10. furnished to do so, subject to the following conditions:
  11. The above copyright notice and this permission notice shall be included in
  12. all copies or substantial portions of the Software.
  13. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19. THE SOFTWARE.
  20. ****************************************************************************/
  21. #ifndef __COCOSGUI_H__
  22. #define __COCOSGUI_H__
  23. #include "ui/UIWidget.h"
  24. #include "ui/UILayout.h"
  25. #include "ui/UIButton.h"
  26. #include "ui/UICheckBox.h"
  27. #include "ui/UIRadioButton.h"
  28. #include "ui/UIImageView.h"
  29. #include "ui/UIText.h"
  30. #include "ui/UITextAtlas.h"
  31. #include "ui/UILoadingBar.h"
  32. #include "ui/UIScrollView.h"
  33. #include "ui/UIListView.h"
  34. #include "ui/UISlider.h"
  35. #include "ui/UITextField.h"
  36. #include "ui/UITextBMFont.h"
  37. #include "ui/UIPageView.h"
  38. #include "ui/UIHelper.h"
  39. #include "ui/UIRichText.h"
  40. #include "ui/UIHBox.h"
  41. #include "ui/UIVBox.h"
  42. #include "ui/UIRelativeBox.h"
  43. #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN)
  44. #include "ui/UIVideoPlayer.h"
  45. #endif
  46. #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN || CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
  47. #include "ui/UIWebView.h"
  48. #endif
  49. #include "ui/UIDeprecated.h"
  50. #include "ui/GUIExport.h"
  51. #include "ui/UIScale9Sprite.h"
  52. #include "ui/UIEditBox/UIEditBox.h"
  53. #include "ui/UILayoutComponent.h"
  54. #include "ui/UITabControl.h"
  55. #include "editor-support/cocostudio/CocosStudioExtension.h"
  56. /**
  57. * @addtogroup ui
  58. * @{
  59. */
  60. NS_CC_BEGIN
  61. namespace ui {
  62. /**
  63. * Get current cocos GUI module version string.
  64. *@return A string representation of GUI module version number
  65. */
  66. CC_GUI_DLL const char* CocosGUIVersion();
  67. }
  68. NS_CC_END
  69. // end of ui group
  70. /// @}
  71. #endif /* defined(__CocosGUITest__Cocos__) */