Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cnjinhao/nana
a modern C++ GUI library
https://github.com/cnjinhao/nana
c-plus-plus-11 c-plus-plus-14 c-plus-plus-17 cross-platform gui-toolkit modern-cpp template-metaprogramming
Last synced: about 1 month ago
JSON representation
a modern C++ GUI library
- Host: GitHub
- URL: https://github.com/cnjinhao/nana
- Owner: cnjinhao
- License: bsl-1.0
- Created: 2011-12-07T07:12:03.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T16:07:19.000Z (6 months ago)
- Last Synced: 2024-05-22T13:55:34.971Z (6 months ago)
- Topics: c-plus-plus-11, c-plus-plus-14, c-plus-plus-17, cross-platform, gui-toolkit, modern-cpp, template-metaprogramming
- Language: C++
- Homepage: https://nana.acemind.cn
- Size: 7.67 MB
- Stars: 2,262
- Watchers: 135
- Forks: 332
- Open Issues: 95
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-game-engine-dev - Nana - Cross-platform gui library in modern C++. (Libraries / C++)
- awesome-list - Nana - A modern C++ GUI library. (Desktop App Development / C++/C Toolkit)
- AwesomeCppGameDev - nana
README
# Nana C++ Library
[![Licence](https://img.shields.io/badge/license-BSL-blue.svg?style=flat)](LICENSE)
Nana is a C++ standard-like GUI library designed to allow developers to easily create cross-platform GUI applications with modern C++ style. Currently it is regularly tested on Linux(X11) and Windows, and experimentally on macOS and FreeBSD. The [nana repository](https://github.com/cnjinhao/nana) contains the entire source of the library. You can browse the source code and submit your pull request for contributing.
## License
Nana is licensed under the [Boost Software License](http://www.boost.org/LICENSE_1_0.txt)
## Members
Jinhao, [Ariel Viña Rodríguez].
[Ariel Viña Rodríguez]: http://qpcr4vir.github.io/
## Documentation
The best way to get help with Nana library is by visiting https://nana.acemind.cn/documentation
## Examples
Here are some examples to give you an idea how to use the Nana C++ Library.
### Create a window
The `form` class provides methods to manipulating a window.
```C++
#includeint main()
{
nana::form fm;
fm.show();
nana::exec();
}
```## Sending a Pull Request ?
This project encourage you to contribute through sending a pull request! There is a simple rule: please **don't** directly commit your contributions to the **master** branch. According to your commits, please choose the **hotfixes** branch or the **develop** branch. Thank you!
## Introduction to the Repository
There are two main branches with an infinite lifetime:
* **master** is the main branch and it is marked as every version release.
* **develop** is also another main branch where the source code reflects a state with the lastest delivered developement changes for the next release.Other branches:
* **features** are used to develop new features for the upcoming or a distant future release. Feature branches are named as 'feature-FEATURENAME'.
* **hotfix** is meant to prepare for a new release, and fixes some bugs from the corresponding tag on the master branch.