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
Jinhao
ccc30265f5
code refine for button and category
2016-01-23 23:27:09 +08:00
Jinhao
325961a277
remove utf8_cast functions
2016-01-22 00:46:10 +08:00
Jinhao
ece696c3b5
update filesystem and remove fs_utility
2016-01-20 01:06:16 +08:00
Jinhao
8d2ec2fbd1
update experimental::filesystem and remove file_iterator
2016-01-19 01:34:07 +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
74690d1439
small modifications
2016-01-07 01:59:26 +08:00
Jinhao
57303d302c
add move-constructor and move-assignment for class dragger
2016-01-06 04:25:48 +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
a42ebe19b4
use UTF-8 for string representation
2015-12-31 01:09:52 +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
9bb0e8eb34
fix an issue of child root window(nested_form)
2015-12-22 00:41:58 +08:00
Jinhao
25743b14a9
add native_interface::set_parent
2015-12-18 00:57:46 +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
Jinhao
8fc84938bf
use UTF-8 for string representation
2015-12-14 00:30:03 +08:00
Jinhao
009e7e7647
change to_native_string into to_nstring
2015-12-10 00:36:58 +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
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
qPCR4vir
3ad8f5a641
Simplify CMake file and config.h
2015-12-03 20:24:20 +01:00
qPCR4vir
221e9f6624
FIX MinGW workaround bring some macro small ?
2015-12-03 20:23:44 +01: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
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
0eb7456128
fix a compile error with API::enum_widgets( #90 )
2015-11-23 22:25:32 +08:00
Jinhao
3a85835907
add support of speicifying default value for inputbox::text
2015-11-17 01:09: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
94c10c8fba
Merge branch 'macos' of https://github.com/BenjaminNavarro/nana into BenjaminNavarro-macos
2015-11-10 23:21:07 +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
Jinhao
408b4f408b
add an overloading function of listbox::scroll
...
clicking horizontal barre moves "one letter"
2015-11-05 23:47:48 +08:00
Jinhao
0ddee51568
swap the position of listbox::scorll's two parameters
2015-11-05 00:43:27 +08:00
Jinhao
9844792c54
add a listbox::scroll() to scroll the view to the top or bottom
2015-11-04 01:21:35 +08:00
Jinhao
67752172a0
fix tabbar flying-close issue
2015-11-02 23:39:32 +08:00
Jinhao
9fd1a594cb
add selection of text by using shift+mouse click
2015-11-02 00:33:22 +08:00
Jinhao
8da183cfab
add an abstract class scroll_interface
2015-10-30 07:43:42 +08:00
Jinhao
e46c5e46d7
fix leak of memory for class animation
2015-10-23 00:56:10 +08:00