1 Star 0 Fork 0

策马啸西风 / skui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Introduction

UI framework that uses Skia as a low-level drawing toolkit. It uses the newest features of the C++ Standard library (currently targetting C++17).

Status

SkUI is in a pre-release development phase, and the API is definitely not stable.

Build Status Build status codecov Codacy Badge

Operating System Compiler Supported Notes
Windows Visual Studio 2019 :heavy_check_mark:
Windows VS 2019 CLang/LLVM 8.0+ :heavy_check_mark:
Windows Visual Studio 2017 :heavy_check_mark:
Windows VS 2017 Clang/LLVM 6.0+ :heavy_check_mark:
Windows MinGW-w64 GCC 7.3+ :heavy_check_mark: Requires usable std::filesystem implementation.
Windows MinGW-w64 Clang 5.0+ :heavy_check_mark: Requires usable std::filesystem implementation.
Windows Intel C++ 19+ :x: Lacks required C++17 features.
Linux GCC 7.3+ :heavy_check_mark:
Linux Clang 5.0+ :heavy_check_mark:
Linux Intel C++ 19+ :x: Lacks required C++17 features.
Mac OS X 10.13+ XCode 9.4+ Clang :soon: Requires LLVM libc++ build. Missing implementation of core window/application classes.
Mac OS X 10.13+ Homebrew GCC 7.3+ :soon: Missing implementation of core window/application classes.
Mac OS X 10.13+ Homebrew Clang 6.0+ :soon: Missing implementation of core window/application classes.

Components

SkUI is subdivided in several modules which can depend on other modules but shouldn't become a dependency mess:

  • Core: basic functionality, including signals, properties, strings, paths, application, os abstraction...
  • CSS: CSS parser built on top of Boost.Spirit X3.
  • Graphics: graphical functionality such as canvases, contexts, shapes, text, ...
  • GUI: abstraction of platform-specific UI code, including event loops, windows, input, ...
  • OpenGL: abstraction of platform-specific OpenGL initialization code, header differences, ...
  • ...
  • Examples: example programs showing SkUI features
  • Tests: unit tests for various components to ensure correct and expected behaviour now and in the future.

This list will grow (and change) as the library's design takes shape.

How to get started

Clone this repository

git clone https://github.com/skui-org/skui.git

After cloning this repository, make sure the submodules are up to date

cd skui
git submodule update --init --recursive

Create and navigate to a seperate build directory, e.g.

mkdir ../skui-build
cd ../skui-build

Run CMake (here, the ninja build system is used, but any generator should work fine)

cmake ../skui -G Ninja

This step should inform you of any missing dependencies. Then build

cmake --build .

And run the tests to ensure nothing is wrong

ctest

Roadmap

0.0.x

  • establish a logical basis for UI functionality, including:
    • signals, properties, strings
    • basic drawing functionality
    • event handling
    • basic UI controls and layout engine
    • Application window and event abstraction
      • Windows
      • Linux
      • OS X
      • ...

0.1.x

  • OS Notification system implementation
    • taskbar icon
    • notifications
    • ...
  • Improve core logic and functionality.
  • OS theming of all controls and windows

0.x.x

  • More application logic (model/views, ...)
  • process handling
  • advanced drawing
  • advanced UI controls, including:
    • scrollbars
    • tables, lists, etc.
  • File I/O systems?
  • Add missing unit tests
  • Add missing documentation
  • ...

1.x.x

  • Stability and features of a basic UI framework
  • Improve platform support
  • Solve all them bugs.
  • Correct all them documentation typos.

x.x.x

  • Supreme world domination through superiour benevolent A.I.
MIT License Copyright © 2017-2020 Ruben Van Boxem Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/DFX1314/skui.git
git@gitee.com:DFX1314/skui.git
DFX1314
skui
skui
master

搜索帮助