100 Commits

Author SHA1 Message Date
Jinhao
e449cd5a24 fix a weird behavior of textbox(#52)
and some other GCC compiling errors
2015-05-03 16:59:22 +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
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
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
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
qPCR4vir
063968a803 working on listbox export to string CSV: listbox, header, dummy list 2015-04-25 10:27:31 +02:00
qPCR4vir
0d736db479 FIX: PageDown select last item in page not first 2015-04-24 17:25:27 +02:00
qPCR4vir
8d0e48bd1e FIX: Listbox doesn't handle Home, End. OK in windows 2015-04-24 16:47:03 +02:00
qPCR4vir
c3bf16554c FIX: navigate ordered listbox with keyboard up/down, FEATURE: page up/down, and multi selection with shift + up/down
Comments and code review.
Original from branch page_scroll
unfortunately included code already merged by Jinhao (header_width, etc)
2015-04-23 00:32:47 +02:00
Jinhao
281fea01d1 Merge branch 'hotfixes-1.0.1' of https://github.com/beru/nana into beru-hotfixes-1.0.1
Conflicts:
	source/gui/widgets/menubar.cpp
2015-04-22 00:01:29 +08:00
Jinhao
3c4f8ae6d9 fix menubar behavior issue
no key_press and key_release after destroying caret under X11
missing some key_press events
menu text color issue
2015-04-21 22:33:18 +08:00
beru
3ffbf62958 fixes #14 2015-04-18 13:52:53 +09:00
Jinhao
f11e5efe80 fix the issue of restoring focus(#37) 2015-04-15 22:36:24 +08:00
Jinhao
53c36b7363 fix mask textbox highlight with mask 2015-04-13 23:41:42 +08:00
Jinhao
ed462870e0 update contributor info 2015-04-12 03:31:07 +08:00
Jinhao
34e2c6b143 fix issues of textbox and filebox
no refresh when calling textbox line_wrapped
add filebox overwrite prompt for saving file
the first non-* filter to be set default extentsion for filebox
2015-03-31 06:08:43 +08:00
Jinhao
dcead38544 fix wrong positions of menu and tooltip
caused by implicit int to unsigned type conversion when a screen starts a
neg point
2015-03-30 21:42:22 +08:00
qPCR4vir
47695b0503 FIX: find only first keyword in line 2015-03-25 11:07:19 +01:00
Jinhao
6a0fd78595 fix no response of Delete 2015-03-25 01:56:48 +08:00
Jinhao
9a5dfe7f88 fix no response of Delete key 2015-03-25 01:44:56 +08:00
Jinhao
82ee570691 compare between signed and unsigned 2015-03-22 22:23:18 +08:00
Jinhao
a3c69418ea Merge branch 'hotfixes-1.0.1' of https://github.com/qPCR4vir/nana into qPCR4vir-hotfixes-1.0.1 2015-03-22 11:37:45 +08:00
Jinhao
e4382239e5 refactor the class screen 2015-03-22 11:19:27 +08:00
qPCR4vir
974e47d59e FIX ? : select - unselect item with click in single selection listbox 2015-03-22 03:12:55 +01:00
qPCR4vir
0cbe4534ff FIX: unselect item with ctrl-click in ordered listbox 2015-03-22 03:07:21 +01:00
qPCR4vir
bde6015d73 FIX: select range of items with shift and mouse when list is ordered 2015-03-22 02:57:50 +01:00
qPCR4vir
835b3ce145 FIX: return self pos (= *i ) 2015-03-22 02:56:03 +01:00
qPCR4vir
f93c71ed80 FIX: minor problem erasing excess text of last cell in selected listbox item 2015-03-22 02:54:18 +01:00
qPCR4vir
10f35de8f7 fix: make checkbox and label have the same bgcolor as the owner 2015-03-21 18:17:50 +01:00
qPCR4vir
aa14b38008 fix: make panel and label have the same bgcolor as the owner 2015-03-20 12:12:29 +01:00
Jinhao
e99ebc6e2e fix a crash error
it occurs when deleting a window in its certain event
2015-03-20 14:55:17 +08:00
qPCR4vir
5d404774e6 fix a few minor inconsistencies in item listbox drawing 2015-03-20 00:15:39 +01:00