173 Commits

Author SHA1 Message Date
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
beru
2da65827a0 improve cursor move keys support in text editor refs refs #1 2015-05-05 14:13:16 +09:00
Jinhao
e7c9708b4f fix some MinGW compiling errors 2015-05-04 03:42:16 +08:00
Jinhao
6c473f141f Merge branch 'hotfixes-1.0.1' into develop 2015-05-04 03:22:55 +08:00
Jinhao
6721b366f9 Merge branch 'hotfixes-1.0.1' of https://github.com/beru/nana into beru-hotfixes-1.0.1 2015-05-04 03:21:34 +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
beru
49cc9b1ff7 remove some warnings with VS2013
in time::time(unsigned hour, unsigned minute, unsigned second) constructor, add return statement if args are valid
2015-05-04 02:18:25 +09: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
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
Jinhao
a596516d51 Merge branch 'listbox_sortable' of https://github.com/beru/nana into beru-listbox_sortable 2015-05-02 03:04:27 +08:00
Jinhao
789501db40 Merge branch 'clipboard_set_bitmap' of https://github.com/beru/nana into beru-clipboard_set_bitmap 2015-05-02 02:49:57 +08:00
Jinhao
0267367f3f fix menu ESC issues 2015-05-02 02:25:04 +08:00
Jinhao
e720866a94 refactor class place 2015-05-01 18:01:32 +08:00
Jinhao
99564a9161 refactor functions 2015-05-01 16:45:05 +08:00
Jinhao
4154c8e132 rename API::is_focus_window to API::is_focus_ready 2015-05-01 16:36:12 +08:00
Jinhao
a64354900c fix a crash that caused by double-delete of a event handler 2015-05-01 16:29:51 +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
beru
575de13cc4 add nana::system::dataexch::set(const nana::paint::graphics& g) method 2015-04-26 15:40:58 +09:00
qPCR4vir
585732a497 simpler code 2015-04-26 02:32:46 +02:00
qPCR4vir
83fa73d11f listbox select all
Now  the programs user can "export" the whole list just by pressing ctrl+A-C and pasting into another application, like LibreOffice Calc, Excel, an editor, etc
2015-04-25 22:57:19 +02:00
qPCR4vir
ee744db1c5 Merge remote-tracking branch 'nana_jinhao/hotfixes-1.0.1' into hotfixes 2015-04-25 22:38:35 +02:00
qPCR4vir
db0591a5db allow programmatically export an arbitrary set of columns 2015-04-25 21:42:15 +02:00
qPCR4vir
49378469ab copy base on def export options 2015-04-25 21:42:01 +02:00
qPCR4vir
7fcd38816b to string take (uses) export options 2015-04-25 21:41:48 +02:00
qPCR4vir
2767fa75ca listbox have def_export_options(); 2015-04-25 21:41:38 +02:00
qPCR4vir
8fdbb0bf44 item to string in column order 2015-04-25 21:41:26 +02:00
qPCR4vir
01d212f59a columns_indexs all_headers( only_visibles) 2015-04-25 21:41:15 +02:00
Jinhao
f943673d3d update scroll.hpp 2015-04-26 00:50:28 +08:00
qPCR4vir
1fb363fb72 listbox override key_char to manage copy: Ctrl-C. 2015-04-25 10:27:59 +02:00