242 Commits

Author SHA1 Message Date
Jinhao
d528b5c94d fix an issue that caret doesn't move when moving the parent widget. 2015-06-23 00:11:47 +08:00
Jinhao
bdf928a9e8 fix an infinit loop issue when pressing tab key if all tabstop widgets are
invisible
2015-06-22 23:00:48 +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
qPCR4vir
7eece66df0 kainjow : "stoped" typo, should be "stopped" 2015-06-17 10:29:11 +02:00
Jinhao
5982f8c7bf fix a crash error when click on an empty category of listbox 2015-06-16 00:12:09 +08:00
Jinhao
7dae086162 fix caret and tab switch on invisible widgets(#62) 2015-06-15 22:31:03 +08:00
Jinhao
1822fafd79 construct the inline widget for listbox 2015-06-14 21:48:35 +08:00
Jinhao
80f71e98e8 Merge branch 'progressbar_with_stop' of https://github.com/qPCR4vir/nana into qPCR4vir-progressbar_with_stop 2015-06-10 07:31:01 +08:00
Jinhao
8ba39c7a75 Merge branch 'nana_exp_filesystem' of https://github.com/qPCR4vir/nana into qPCR4vir-nana_exp_filesystem 2015-06-10 07:03:11 +08:00
Jinhao
e8ae11e208 fix a refreshing issue
bad refreshing when a lite_widget is destroying if the lite_widget's
parent is also a type of lite_widget
2015-06-10 06:53:58 +08:00
Jinhao
331f19e679 fix menu image issue 2015-06-02 03:44:35 +08:00
Jinhao
36b3e6e6cc some minor changes 2015-05-30 22:09:44 +08:00
Jinhao
ee9d102f8d refactor toolbar 2015-05-30 16:55:03 +08:00
qPCR4vir
3157f5f056 progressbar with stop() 2015-05-29 15:39:59 +02:00
Jinhao
11d65763ce fix a crash when the size of a label is empty and '\t' is contained 2015-05-29 00:09:47 +08:00
qPCR4vir
895dbcbe7d FIX: compiling with VC2015 RC 2015-05-28 01:44:29 +02:00
beru
ff198063ce Merge branch 'develop' of https://github.com/cnjinhao/nana into develop 2015-05-25 02:49:28 +09:00
Jinhao
e04b0749e0 remove the internal signal manager of window_manager 2015-05-25 01:19:35 +08:00
beru
21dc2aa48c improve textbox's selection handling refs #19, #1 2015-05-24 23:25:39 +09:00
beru
2776365fdf Merge branch 'develop' of https://github.com/cnjinhao/nana into develop 2015-05-24 14:38:58 +09:00
beru
44553a02a6 change timing to set tabstop_focus_changed flag 2015-05-24 14:36:06 +09:00
Jinhao
ffe32e1bcb remove focus_changed flag 2015-05-23 08:47:12 +08:00
beru
8899cc870c Deselect textbox contents on mouse_down event.
Add the condition that textbox's content should be selected when it's focused with tabstop.
2015-05-21 04:15:20 +09:00
beru
9fc7d3e403 Textbox should select its contents when focus is set. the caret position is moved to end of a line in that case.
When textbox is not focused, its selection should not be drawn to make it look quiet.
2015-05-21 03:42:17 +09:00
Jinhao
8515fff8d0 stop changing focus when dbl clicks on form/panel background 2015-05-20 02:26:39 +08:00
beru
4289446216 Merge branch 'develop' of https://github.com/cnjinhao/nana into develop 2015-05-17 15:05:44 +09:00
beru
80da9007ef add functionality to associate label with other widget as a "for" attribute of HTML <label> element 2015-05-17 15:02:09 +09:00
Jinhao
aac94e238b input widgets keep focus when form/panel is clicked
see API::ignore_mouse_focus
2015-05-17 09:47:58 +08:00
beru
990de7867b add OFN_NOCHANGEDIR flag to OPENFILENAME::Flags in nana::filebox::show
http://blogs.msdn.com/b/oldnewthing/archive/2010/11/12/10089878.aspx
	setting OFN_NOCHANGEDIR flag to OPENFILENAME::Flags is effective for GetOpenFileName API on Windows7.
add const qualifier to nana::paint::graphics::save_as_file
add support for small icon on Windows.
	The system displays the large icon in the ALT+TAB dialog box, and the small icon in the window caption.
	https://msdn.microsoft.com/en-us/library/windows/desktop/ms632643%28v=vs.85%29.aspx
2015-05-16 21:10:20 +09: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
beru
2da65827a0 improve cursor move keys support in text editor refs refs #1 2015-05-05 14:13:16 +09:00
Jinhao
a4c3ee5b57 Merge branch 'group' of https://github.com/qPCR4vir/nana into qPCR4vir-group 2015-05-04 04:59:50 +08:00
Jinhao
c7e672cbca Merge branch 'hotfixes-1.0.1' into develop 2015-05-04 03:14:15 +08:00
Jinhao
d43c2fabc6 fix an issue that menu is closed unexpected if form is modal 2015-05-04 03:10:50 +08:00
Jinhao
5206cf042e Merge branch 'hotfixes-1.0.1' into develop 2015-05-03 23:19:10 +08:00
Jinhao
1b01493e9f fix API::exit issue 2015-05-03 23:12:18 +08:00
Jinhao
ad0dcc0bcf fix some MinGW compiling errors 2015-05-03 17:38:58 +08: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