89 Commits

Author SHA1 Message Date
dankan1890
d7b7a4d45f listbox:
Added header_fgcolor and item_highlighted to color scheme.
menu:
Added change_text function.
2016-10-14 01:14:55 +02:00
Jinhao
7f45ae4342 add a param to listbox::item_proxy's check/select
this new parameter is used to indicate whether to scroll the view to the
item if the item is not displayed on screen.
2016-10-03 09:07:37 +08:00
Jinhao
340c350fcb Merge branch 'hotfix-1.4' into develop 2016-09-24 09:58:44 +08:00
Jinhao
d9fb3b3ff9 add notify_status for listbox inline widget 2016-09-17 03:56:23 +08:00
Jinhao
6e86b6ae6c refine code
fix bug that listbox may throw std::runtime when the modal is enabled
fix bug that textbox attachs a wrong event angent
2016-08-10 01:46:13 +08:00
Jinhao
02acc4c216 listbox code refined 2016-07-13 08:14:27 +08:00
Jinhao
8489e16d72 make listbox::index_pair constructor explicit 2016-07-11 04:12:04 +08:00
Jinhao
d38c4839bc Merge branch 'listbox-model' into develop 2016-07-03 21:24:20 +08:00
Jinhao
a8219fe760 modifiable mouse wheel scroll step 2016-06-27 10:36:08 +08:00
Jinhao
fe8819529c code refine 2016-06-18 06:38:57 +08:00
Jinhao
a087486452 modify listbox's arg_listbox and arg_listbox_category 2016-06-15 01:17:28 +08:00
Jinhao
4d279b8378 add visible() to listbox::column_interface 2016-06-14 19:29:48 +08:00
Jinhao
cfcb776350 use tabs 2016-06-13 06:42:25 +08:00
Jinhao
be59604a08 listbox header functions are deprecated, use column_interface 2016-06-13 06:21:58 +08:00
Jinhao
488f6ac88c remove essence_t::scroll_part::offset_x of listbox 2016-06-12 06:27:25 +08:00
Jinhao
2f9056cc7a Merge branch 'hotfix-1.3' into develop 2016-06-10 17:08:48 +08:00
Jinhao
47e7bedfcf Merge branch 'master' of https://github.com/besh81/nana into besh81-master 2016-06-10 16:27:31 +08:00
Jinhao
5fdaeb6f45 remove deprecated code 2016-06-10 16:04:22 +08:00
Jinhao
5b1891c186 listbox associative category access 2016-06-03 08:00:19 +08:00
Jinhao
32d988e1a7 minor changes 2016-06-02 01:01:03 +08:00
Jinhao
50b982eca7 add scheme to slider
rename widget_colors to widget_geometrics
2016-05-22 18:00:05 +08:00
Jinhao
116787072f Merge branch 'hotfix-1.3' into develop 2016-04-18 15:16:03 +08:00
Jinhao
e4adb22fa2 fix a GCC compiler error 2016-04-09 05:06:30 +08:00
Jinhao
a27a85d0c9 add listbox model feature 2016-04-09 04:13:22 +08:00
qPCR4vir
a2990b49bb reset defaults and debug 2016-03-28 03:47:23 +02:00
qPCR4vir
e84f611761 original default values 2016-03-28 03:16:38 +02:00
qPCR4vir
feb26995da debug 2016-03-27 21:03:40 +02:00
qPCR4vir
e7b8e603e4 using geometric_scheme 2016-03-27 21:02:40 +02:00
qPCR4vir
5779b979f7 implement some geometrical parameters ?? 2016-03-26 16:32:45 +01:00
qPCR4vir
8ab30d7457 doxy docs 2016-03-26 16:25:56 +01:00
qPCR4vir
d2b08d0f26 Merge remote-tracking branch 'cnjinhao/hotfix-1.3' into hotfix-1.3 2016-03-18 22:25:43 +01:00
qPCR4vir
a580237e05 to retrieve a modifiable object from a list item 2016-03-18 16:50:44 +01:00
Jinhao
8ec21827a0 ignore warnings which are generated by -Weffc++ 2016-03-18 22:17:13 +08:00
Jinhao
7aa9d9e373 arg_category is renamed arg_listbox_category 2016-02-15 01:15:40 +08:00
Jinhao
397096f60e add contribution information 2016-01-31 22:38:39 +08:00
Jinhao
5a960ed88c a standard experimental class any 2016-01-25 23:56:05 +08:00
Jinhao
64d81143e6 Merge branch 'develop' of https://github.com/leobackes/nana into leobackes-develop 2016-01-24 12:05:54 +08:00
Jinhao
325961a277 remove utf8_cast functions 2016-01-22 00:46:10 +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
a42ebe19b4 use UTF-8 for string representation 2015-12-31 01:09:52 +08:00
Jinhao
112deadd16 elimiate nana::string for listbox 2015-12-10 00:24:31 +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
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
1b5aed2e5f code reviews 2015-10-13 01:38:53 +08:00