672 Commits

Author SHA1 Message Date
Jinhao
422f2c768b add a method to textbox
a method to get bounds of a text selection
2016-09-12 00:01:12 +08:00
Jinhao
d6cb631bc2 add a method to show caret for the uneditable textbox
When an uneditable textbox has a caret, user can select the text and copy
it.
2016-09-03 07:46:43 +08:00
Jinhao
cf99551924 fix bug when an invalid pos for textbox.move_caret 2016-08-27 09:40:49 +08:00
Jinhao
b13f0a4ce5 fix textbox caret_pos issue 2016-08-27 05:23:25 +08:00
Jinhao
560798a9cb Merge branch 'develop_2' of https://github.com/dankan1890/nana into dankan1890-develop_2 2016-08-23 07:50:10 +08:00
Jinhao
d66c4bafce code refine 2016-08-17 07:27:41 +08:00
dankan1890
236ba4356e Removed some useless static_cast. 2016-08-15 00:07:55 +02:00
dankan1890
cdba162897 Fixed some 'false' value implicitly cast to the integer type. 2016-08-14 23:48:42 +02:00
Jinhao
eed3ffd5b6 Merge branch 'hotfix-1.4' into develop 2016-08-11 02:27:45 +08:00
Jinhao
9b28c96e9b code refine 2016-08-11 02:26:47 +08:00
Jinhao
ebfa079f3f fix bug that text_editor throws an exception when undo a backspace 2016-08-11 02:15:19 +08:00
Jinhao
6e86b6ae6c refine code
fix bug that listbox may throw std::runtime when the modal is enabled
fix bug that textbox attachs a wrong event angent
2016-08-10 01:46:13 +08:00
dankan1890
6fbc4a7988 Fixed the behavior of disabled items in the menus when scrolling with the arrows keys. 2016-08-01 03:20:07 +02:00
Jinhao
df5a786965 fix a bug that listbox::cat_proxy::append<T> throws if model enabled 2016-07-31 04:11:39 +08:00
Jinhao
34cca34773 fix the behaviour of clicking menu disabled item 2016-07-26 07:32:50 +08:00
qPCR4vir
62d1d11817 Merge remote-tracking branch 'nana_jh/develop' into develop 2016-07-19 18:53:16 +02:00
qPCR4vir
f81b730c5c listbox stable_sort 2016-07-19 18:20:43 +02:00
Jinhao
2f716cb83f Merge branch 'hotfix-1.3' into develop 2016-07-19 23:50:11 +08:00
Jinhao
7229c76807 fix some compiler errors on x64 2016-07-18 04:21:05 +08:00
Jinhao
98483d3e40 fix crash in linux because of compiler bug(GCC 4.8) 2016-07-18 02:36:18 +08:00
Jinhao
56697b331a improve text_editor 2016-07-17 20:58:00 +08:00
Jinhao
29446b5ef0 fix crash when adding a header to a zero-size listbox(#147) 2016-07-17 10:23:20 +08:00
Jinhao
0a0fab679b fix some issues that are detected by PVS-studio team 2016-07-14 00:41:34 +08:00
Jinhao
31455aa165 fix listbox horiz scroll issue(#145) 2016-07-14 00:15:50 +08:00
Jinhao
9b91d3b55f listbox and place code refined 2016-07-13 23:00:03 +08:00
Jinhao
49dfaca1ef fix a crash when the listbox inserts an item. 2016-07-13 22:57:13 +08:00
Jinhao
02acc4c216 listbox code refined 2016-07-13 08:14:27 +08:00
Jinhao
5d5a808b2d remove overloading assignment operator of rectangle 2016-07-13 08:00:59 +08:00
Jinhao
8489e16d72 make listbox::index_pair constructor explicit 2016-07-11 04:12:04 +08:00
Jinhao
e73fc679f4 improve tabbar::attach 2016-07-07 07:57:48 +08:00
Jinhao
5340c4f670 fix mouse wheel step which is restored by merging listbox-model 2016-07-07 07:09:40 +08:00
Jinhao
d38c4839bc Merge branch 'listbox-model' into develop 2016-07-03 21:24:20 +08:00
Jinhao
8c7051566c optimize binary size 2016-07-01 23:43:48 +08:00
Jinhao
a8219fe760 modifiable mouse wheel scroll step 2016-06-27 10:36:08 +08:00
Jinhao
4a6331e625 fix missing ~other_tag, remove some warings 2016-06-25 06:00:40 +08:00
Jinhao
880d0becf3 some improvements, deprecated frame widget 2016-06-24 00:25:26 +08:00
Jinhao
369d506fdd eliminate GCC warnings 2016-06-21 04:37:05 +08:00
Jinhao
d0d5480a4c improve listbox ranged column width 2016-06-19 16:42:08 +08:00
Jinhao
3754d3f51e implement the listbox ranged column width 2016-06-19 15:12:41 +08:00
Jinhao
9795299447 add text align to listbox 2016-06-18 07:27:26 +08:00
Jinhao
8bcfc82580 fix bug that a listbox column can be a negative by moving splitter 2016-06-18 06:42:42 +08:00
Jinhao
5eba74fe0a code refine 2016-06-18 06:40:20 +08:00
Jinhao
ac477e7a85 eliminate the dependence on listbox essence's graph 2016-06-17 02:50:02 +08:00
Jinhao
fe76a303d8 add refresh to listbox column operations 2016-06-17 02:43:40 +08:00
Jinhao
dfc39fdb81 fix a bug of listbox's header column_from_point 2016-06-17 02:41:09 +08:00
Jinhao
4cda75f20d a compiler error of arg_listbox_category::block_operation 2016-06-15 01:19:16 +08:00
Jinhao
a087486452 modify listbox's arg_listbox and arg_listbox_category 2016-06-15 01:17:28 +08:00
Jinhao
4d279b8378 add visible() to listbox::column_interface 2016-06-14 19:29:48 +08:00
Jinhao
be59604a08 listbox header functions are deprecated, use column_interface 2016-06-13 06:21:58 +08:00
Jinhao
488f6ac88c remove essence_t::scroll_part::offset_x of listbox 2016-06-12 06:27:25 +08:00