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
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
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
qPCR4vir
585732a497
simpler code
2015-04-26 02:32:46 +02:00
qPCR4vir
73e5d3fd8f
refine group
2015-04-26 00:32:22 +02:00
qPCR4vir
ae2a2aeec4
group with internal panel and place
...
Non tested
2015-04-26 00:32:04 +02:00
qPCR4vir
d13677f703
add empty group files
2015-04-26 00:30:03 +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