https://github.com/samlior/saui
基于cocos2d-x v3.17的简单UI库
https://github.com/samlior/saui
cocos2d-x cpp ui
Last synced: about 1 month ago
JSON representation
基于cocos2d-x v3.17的简单UI库
- Host: GitHub
- URL: https://github.com/samlior/saui
- Owner: samlior
- License: gpl-3.0
- Created: 2018-11-23T09:01:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-13T03:32:37.000Z (about 7 years ago)
- Last Synced: 2025-10-09T23:32:38.435Z (9 months ago)
- Topics: cocos2d-x, cpp, ui
- Language: C++
- Homepage:
- Size: 108 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SAUI
基于cocos2d-x v3.17的简单UI库
如有任何问题,请联系邮箱samlior@foxmail.com
# 主要控件
SAAdaptedBox 自适应框
SASelectedButton 包含选中,未选中状态的按钮
SAButton 只有未选中状态的按钮
SAComboBox 下拉菜单
SALoadingScene 加载场景
SAMessageBox 简单的对话框
SAQRCode 基于libqr的二维码节点(https://github.com/rsky/qrcode)
SASheet 一个简单的表格
SASlider 滑动条/进度条
SAGLViewImpl 提供关闭回调,窗口位置改变回调,结束回调(使用此类需要替换引擎源码)
# 宏说明
SA_USE_QRCODE 使用SAQRCode
SA_USE_GLVIEW_IMPL 使用SAGLViewImpl