189 Commits

Author SHA1 Message Date
Jinhao
c86a00bea5 remove macro STR 2015-11-29 22:38:22 +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
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
b160e5e833 fix a listbox inline widget issue 2015-10-14 22:16:07 +08:00
Jinhao
1b5aed2e5f code reviews 2015-10-13 01:38:53 +08:00
Benjamin Navarro
a09d5c3c95 Mac OS X support 2015-10-11 18:31:30 +02:00
Jinhao
573a5bee86 code review 2015-10-07 18:01:46 +08:00
Jinhao
1ea2028233 code review of listbox 2015-10-01 03:34:24 +08:00
Jinhao
4cfe366758 code review of listbox 2015-10-01 02:51:30 +08:00
Jinhao
1d94948887 fix an listbox updating vert scrollbar issue 2015-09-30 18:26:31 +08:00
Jinhao
7cb27951e0 fix 2 listbox issues
inline widget modifies a wrong item when the listbox is sorted
a crash issue when erasing the last item if the listbox is sorted
2015-09-30 17:09:55 +08:00
Jinhao
16c93537c9 code review 2015-08-23 03:42:11 +08:00
Jinhao
0e5c88f121 code review 2015-07-24 00:44:35 +08:00
Jinhao
5bc1568f3e change parameter type of click event from arg_mouse to arg_click 2015-07-21 01:14:23 +08:00
Jinhao
b1ed1f0452 Merge branch 'hotfixes-1.0.2' into develop
Conflicts:
	include/nana/gui/detail/basic_window.hpp
	include/nana/gui/widgets/listbox.hpp
	source/gui/detail/linux_X11/bedrock.cpp
	source/gui/detail/win32/bedrock.cpp
	source/gui/detail/window_layout.cpp
	source/gui/detail/window_manager.cpp
	source/gui/widgets/listbox.cpp
	source/gui/widgets/toolbar.cpp
2015-07-11 13:35:22 +08:00
Jinhao
59f3554632 fix listbox auto-redraw issue 2015-07-06 22:23:05 +08:00
Jinhao
a6455bcbe0 inline widget for listbox is ready to launch 2015-07-06 03:27:41 +08:00
Jinhao
6c554ceab2 inline widget for listbox is ready 2015-06-24 02:14:36 +08:00
Jinhao
76ebf52739 add whether_to_draw to determine draw widget background 2015-06-23 02:25:59 +08:00
Jinhao
28413b7f25 explicit conversion from point/size to rectangle 2015-06-22 11:30:14 +08:00
Jinhao
1bb9a09a8a develop inline widgets for listbox 2015-06-21 04:44:49 +08:00
Jinhao
c761aced03 fix inline widget position issue 2015-06-18 01:45:45 +08:00
Jinhao
5982f8c7bf fix a crash error when click on an empty category of listbox 2015-06-16 00:12:09 +08:00
Jinhao
1822fafd79 construct the inline widget for listbox 2015-06-14 21:48:35 +08:00
Jinhao
36b3e6e6cc some minor changes 2015-05-30 22:09:44 +08:00
qPCR4vir
e696fff779 implement double click to auto resize a column in listbox 2015-05-08 00:35:53 +02:00
qPCR4vir
371633f23f listbox auto_width set the column width to fit the current longest text 2015-05-08 00:35:43 +02:00
qPCR4vir
444449dfaa let listbox append_header return the pos of the new header 2015-05-08 00:35:32 +02:00
qPCR4vir
6fd15140a9 introduce cat_proxy::select(bool sel) 2015-05-05 14:56:36 +02:00
qPCR4vir
7863dcdba6 FIX: crash in page down and home of a listbox with categories, trying to create an item_proxy {cat, npos} and select it 2015-05-05 14:03:11 +02:00
qPCR4vir
d4d1a79af8 FIX: a +1 error during navigation of listbox with categories 2015-05-05 14:02:58 +02:00
qPCR4vir
bcb2d5b6fc FIX: crash if finding pos of cat 2015-05-05 14:02:49 +02:00
qPCR4vir
65ebdccd90 FIX: let check this 0,0 is good 2015-05-05 14:02:35 +02:00
qPCR4vir
31639cb34d to find the first item or cat 2015-05-05 14:02:26 +02:00
qPCR4vir
52d040a95d FIX: trace the whole cat when selected, not just the last item 2015-05-05 14:02:13 +02:00
Jinhao
766b9a1e24 Merge branch 'hotfixes-1.0.1' into develop 2015-05-03 17:05:58 +08:00
Jinhao
e449cd5a24 fix a weird behavior of textbox(#52)
and some other GCC compiling errors
2015-05-03 16:59:22 +08:00
Jinhao
08e860a7e7 Merge branch 'hotfixes-1.0.1' into develop
Conflicts:
	.gitignore
	include/nana/deploy.hpp
	source/deploy.cpp
	source/gui/widgets/listbox.cpp
2015-05-03 03:08:26 +08:00
Jinhao
706b923c9b Merge branch 'hotfixes' of https://github.com/qPCR4vir/nana into qPCR4vir-hotfixes 2015-05-02 03:10:54 +08:00
qPCR4vir
c6df0c4293 FIX: a draw problem with item in listbox 2015-04-29 23:05:57 +02:00
qPCR4vir
97db67b2a4 FIX: a crash when clear an empty listbox 2015-04-29 12:46:37 +02:00
qPCR4vir
4fcd2edd54 FIX: crash when clear an ordered listbox 2015-04-29 12:46:16 +02:00
qPCR4vir
611d295fc8 comment key use 2015-04-27 14:19:09 +02:00
qPCR4vir
4b4843bb7f fix necessary copy, add comments and code review 2015-04-27 01:00:55 +02:00
beru
77c039be42 add methods to get/set sortability of listbox 2015-04-27 06:18:28 +09:00