Nana C++ Library 1.7.2 Available Now

Nana 1.7.2 brings several updates – including enhanced performance and stability, usability and numerous other bug fixes and improvements. Many thanks to all the developers who interacted with us on Github and forum.

You can find a release note using this link.

Please visit homepage to see who’ve contributed to this release.

BREAKING CHANGES

1, The header file <nana/gui/wvl.hpp> is removed, please use <nana/gui.hpp> instead.

2, listbox.scheme().suspension_width is removed

This value should not be modified from outside of listbox, it depends on the listbox’s font. Please use listbox.suspension_width() instead.

3, arg_elapse.id in favor of arg_elapse.sender

arg_elapse.sender directly points to the timer which emits the notification, while the arg_elapse.id is more confusing.

NEW FEATURE

There is a new API to enable a program to support multiple languages under Linux.

//Chinese, Japanese, Korean are rendered correctly.
nana::API::font_languages("zh,ja,ko");

It’s a fallback font system. When a string contains a character which is a different language to the chosen font, then nana uses a fallback font to render the character. This API does nothing under Windows, because Windows supports multiple languages.

Leave a Reply