91

GitHub - vlang/ui: Cross-platform UI library written in V

 4 years ago
source link: https://github.com/vlang/ui
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

V UI 0.0.1

Build Status 68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e742e7376673f75726c3d6874747073253341253246253246736869656c6473696f2d70617472656f6e2e6865726f6b756170702e636f6d253246766c616e67253246706c6564676573267374796c653d666f722d7468652d6261646765

screenshot.png

This is pre-alpha software.

V UI is a cross-platform UI toolkit written in V for Windows, macOS, Linux, and soon Android, iOS and the web (JS/WASM). V UI uses native widgets on Windows and macOS, on all other platforms the widgets are drawn by V UI. Right now only the non-native widgets are available.

This is a very early version of the library, lots of features are missing (layouts, certain widgets, etc), lots of things will change.

There will be a declarative version of the API, similar to SwiftUI.

V UI is licensed under GPL3. A commercial license will be available. Open-source projects will have access to the commercial license for free. Every single feature will be open-sourced right away and available under both licenses. At some point in the future the library will be relicensed under MIT.

Installation

v install ui

Running the examples

v run ~/.vmodules/ui/examples/users/users.v

Dependencies

Binaries built with V UI will have no dependencies.

But to develop with V UI you need to install V, glfw and freetype. glfw dependency will soon be removed.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK