273 Commits

Author SHA1 Message Date
Jinhao
a27a85d0c9 add listbox model feature 2016-04-09 04:13:22 +08:00
Jinhao
6b6b527007 eliminate -Wextra and -pedantic warnings 2016-03-15 15:46:28 +08:00
qPCR4vir
799b1206a1 group convenient return a reference to checkbox option
see widget_show2 for an example of convenience
2016-02-15 19:59:55 +01:00
Jinhao
e7cae6d17a emit click event by pressing spacebar 2016-02-07 00:49:29 +08:00
Jinhao
397096f60e add contribution information 2016-01-31 22:38:39 +08:00
Jinhao
780805484e Merge branch 'hotfix-1.2.2' into develop 2016-01-31 22:07:08 +08:00
Jinhao
fd2a15b05a Merge branch 'develop' of https://github.com/kmribti/nana into kmribti-develop 2016-01-31 10:38:33 +08:00
Jinhao
5a960ed88c a standard experimental class any 2016-01-25 23:56:05 +08:00
kmribti
f20c73129f Update toolbar.cpp 2016-01-25 08:26:27 +01:00
Karim Mribti
bfc775c5e0 more toolbar improvement. 2016-01-24 15:04:36 +01:00
Karim Mribti
c20eb357af Toolbar widget improvement.
This patch has 2 new features:

1- new option at constructor to enable creation of detached toolbar from
his parent, this enable the use of toolbar anywhere and the size can be
controlled by a layout manager.

2- add a new option in order to enable to place buttons at right part,
the widget has a new method go_right() after calling it, every new
button is right aligned.

Both changes don't break compatibility with old code.
2016-01-24 13:52:14 +01:00
Jinhao
64d81143e6 Merge branch 'develop' of https://github.com/leobackes/nana into leobackes-develop 2016-01-24 12:05:54 +08:00
kmribti
90b8e23674 Fix for menu images
Stretch menu image (icons) only when don't fit, center it otherwise.
2016-01-23 18:50:02 +01:00
Jinhao
da6ad460c5 fix interface issues of image_png and image_jpeg 2016-01-24 01:23:42 +08:00
Jinhao
d06deb7e44 fix an issue of categorize 2016-01-23 23:53:32 +08:00
Jinhao
ccc30265f5 code refine for button and category 2016-01-23 23:27:09 +08:00
Jinhao
818136a18a remove useless included headers in textbox.cpp 2016-01-22 00:55:23 +08:00
Jinhao
325961a277 remove utf8_cast functions 2016-01-22 00:46:10 +08:00
Jinhao
920a1fe490 fix compile errors with GCC/Clang 2016-01-20 14:40:57 +08:00
Jinhao
ece696c3b5 update filesystem and remove fs_utility 2016-01-20 01:06:16 +08:00
Leonardo Backes Vargas
4609bfc458 Merge cnjinhao/develop 2016-01-11 23:28:20 -02:00
Leonardo Backes Vargas
3f1991ba1a Implements double click event on items, allowing to block the category expansion change. 2016-01-11 23:23:22 -02:00
Jinhao
13669f7591 fix a textbox line-wrap issue that only clears first line 2016-01-12 02:26:11 +08:00
Jinhao
a2a7d1fc37 remove deprecated components 2016-01-03 17:50:10 +08:00
Jinhao
0bb7c788d5 Merge branch 'develop' into prepare-utf8 2016-01-03 14:18:03 +08:00
Jinhao
cd5a0bf554 Merge branch 'hotfix-1.2.2' into develop 2016-01-02 16:52:31 +08:00
Jinhao
0a4f04267e add a namespace nana::utf for UTF-8 character processing 2016-01-01 12:30:18 +08:00
Jinhao
a42ebe19b4 use UTF-8 for string representation 2015-12-31 01:09:52 +08:00
Jinhao
0a396c12c2 remove filesystem::file_attrib() function 2015-12-30 01:11:07 +08:00
Jinhao
48254b6555 use UTF-8 for string representation 2015-12-29 01:26:19 +08:00
Jinhao
7cc173022a use UTF-8 for string representation 2015-12-28 01:30:26 +08:00
Jinhao
3856543daf fix wrong position of sub menu 2015-12-22 23:47:56 +08:00
Jinhao
2ca11d4e25 fix compile errors under Linux 2015-12-16 01:21:44 +08:00
Jinhao
c260eebbc3 use UTF-8 for string representation 2015-12-15 21:46:24 +08:00
qPCR4vir
d5721fbe30 STD_make_unique_NOT_SUPPORTED "Add support for make_unique<>()." 2015-12-14 01:44:22 +01:00
Jinhao
8fc84938bf use UTF-8 for string representation 2015-12-14 00:30:03 +08:00
Jinhao
112deadd16 elimiate nana::string for listbox 2015-12-10 00:24:31 +08:00
Jinhao
049a36e1f7 Merge branch 'develop' into prepare-utf8 2015-12-09 00:32:23 +08:00
Jinhao
2ac3b8128d fix a listbox issue occurs when resizing without adjusting item offset 2015-12-09 00:19:28 +08:00
Jinhao
9ca02afe61 fix a issue that listbox draws string outside a column 2015-12-08 23:53:56 +08:00
Jinhao
871ddd25af fix issues of tabbar::relate and tabbar::append 2015-12-08 22:54:27 +08:00
Jinhao
689738acb1 Merge branch 'hotfix-1.2' into prepare-utf8 2015-12-08 01:57:44 +08:00
Jinhao
8a243ad0d7 add detection of clang 2015-12-07 02:52:30 +08:00
Jinhao
babcacd63d Merge branch 'hotfix-1.2' into prepare-utf8 2015-12-04 23:44:11 +08:00
Jinhao
faa33817e2 add insert/append/erase methods to template class tabbar 2015-12-04 00:20:29 +08:00
Jinhao
e8266b5ae8 add native_string_type for internal use 2015-12-03 01:49:44 +08:00
Jinhao
ed4d2af7dd add various overlodings for widget::caption() 2015-12-01 01:17:06 +08:00
Jinhao
83161a3843 remove nana::is_complete 2015-11-30 01:38:15 +08:00
Jinhao
b35f293b9e replace string parameter of image's constructor with filesystem::path 2015-11-30 00:58:29 +08:00
Jinhao
c86a00bea5 remove macro STR 2015-11-29 22:38:22 +08:00