665 Commits

Author SHA1 Message Date
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
Jinhao
12358a5dc0 change some APIs for accepting utf8 2015-11-27 01:54:26 +08:00
Jinhao
a55b94299c change arg_click for holding mouse information(#89) 2015-11-25 00:45:39 +08:00
Jinhao
a4258d3884 fix a selection text issue of text_editor with pressing shift 2015-11-16 01:20:59 +08:00
Jinhao
1e6360843e fix input issues on Linux(#87) 2015-11-16 00:38:03 +08:00
Jinhao
94c10c8fba Merge branch 'macos' of https://github.com/BenjaminNavarro/nana into BenjaminNavarro-macos 2015-11-10 23:21:07 +08:00
Jinhao
4f988a2223 remove marco PLATFORM_SPEC_HPP 2015-11-08 23:35:38 +08:00
Jinhao
e3e861eec8 a modification for leobackes's pull request 2015-11-08 03:30:17 +08:00
Leonardo Backes Vargas
1c729f1d92 Fix listbox for auto_draw+inline_factory+item_proxy::value.
When calling templated append() overload on a shown listbox, auto_draw
caused an early redraw, which issued the inline widget set() member
function before the value() and value_ptr() were actually set.
2015-11-05 23:59:27 -02:00