539 Commits

Author SHA1 Message Date
Jinhao
a4f7d46eee add new features to listbox
a method to enable/disable the number of items
methods about expanding category
methods about category icons
2017-07-22 23:04:43 +08:00
Jinhao
0cfd06b23f add new inputbox::boolean
other fixes for width of inputbox's elements
2017-07-20 23:46:20 +08:00
Jinhao
cb6191cc88 fix crash error when operate a closed treebox 2017-07-17 00:37:30 +08:00
Jinhao
822a762804 fix bug that textbox::caret_pos() doesn't move the caret 2017-07-16 21:42:24 +08:00
Jinhao
887554b1b9 fix bug that _m_paste_children wouldn't work well in refresh_tree
added contributor information
2017-07-15 11:53:06 +08:00
Jinhao
fc36efce0c Merge branch 'double-click' of https://github.com/os12/nana into os12-double-click 2017-07-15 01:30:11 +08:00
Oleg Smolsky
e8755e6283 Added Windows-style mouse double-click to the textbox
- the word under cursor is selected with double-click now
 - tested in both editable and read-only modes

This addresses #226.
2017-07-12 10:46:45 -07:00
Jinhao
d1d03c9c0a code refined 2017-07-11 23:27:45 +08:00
Ray Kim
03642b8e3f Fixed build error
compiler didn't understand std::function
include ```<functional>```
2017-06-26 03:05:23 +09:00
Jinhao
cbb42259bd Merge branch 'hotfix-1.5.1' into develop 2017-06-21 22:52:47 +08:00
Jinhao
ad55c51a3e small fixes 2017-06-21 22:42:22 +08:00
Jinhao
74dedb9506 add noexcept 2017-06-18 10:10:30 +08:00
Jinhao
b5db21567f add new methods to textbox for line count 2017-06-18 05:08:51 +08:00
Jinhao
0b4dc1904b fix compiler errors/warnings for clang 5.0 2017-06-11 11:33:52 +08:00
Jinhao
3cefaa3506 Merge branch 'hotfix-1.5.1' into develop 2017-06-08 21:40:32 +08:00
Jinhao
2f21c33392 remove deprecated code 2017-05-30 04:50:10 +08:00
Leonardo Backes Vargas
a92b3e4274 Fix constness on const functions with nana::any and related casts. 2017-05-28 12:16:26 -03:00
Jinhao
56e7f5ea4d remove deprecated code 2017-05-27 00:40:17 +08:00
Jinhao
e25b41396e Merge branch 'hotfix-1.5.1' into develop 2017-05-23 05:50:13 +08:00
Jinhao
a4f15f7bb0 refactor text_editor
fix issues that caret works incorrectly in line-wrapped mode.
2017-05-23 04:22:08 +08:00
Jinhao
582df4c5d4 fix issue of listbox header margin 2017-05-19 06:19:42 +08:00
Jinhao
601debc420 Merge branch 'hotfix-1.5' into develop 2017-05-09 04:50:04 +08:00
Jinhao
8d4a734272 small changes 2017-05-09 04:49:11 +08:00
Jinhao
e7e7b5336d fix issue of menu::item_proxy::checked
menu::item_proxy::checked has different behavior with menu::checked
2017-05-07 17:45:06 +08:00
Jinhao
cbf76a312a refactor menu for menu::insert that would break internal states 2017-05-06 07:24:21 +08:00
Jinhao
bbaf599272 remove member type menu::item_type 2017-05-04 06:10:54 +08:00
Jinhao
3657be8f7d refacter tooltip
remove compiler warnings
remove deprecated code
2017-05-01 16:57:26 +08:00
Jinhao
855694e8c7 fix text_editor line color issue 2017-04-30 04:32:23 +08:00
Jinhao
2c318e2d33 small fixes 2017-04-29 01:48:13 +08:00
Jinhao
9548b87f54 fix memory leak that widgets wouldn't be deleted 2017-04-28 04:18:39 +08:00
Jinhao
54537f35f5 fix font_size issue that would cause crash 2017-04-27 03:39:50 +08:00
Jinhao
2ff8a1c729 add new platform_abstraction
add support of loading ttf file
2017-04-26 08:04:25 +08:00
Jinhao
4aba8e8c7f fix memory leak for spinbox 2017-04-26 05:26:39 +08:00
Jinhao
970412a3db coe refine 2017-04-19 04:58:20 +08:00
Jinhao
f261fa296e highlight certain lines in a textbox(#194) 2017-04-15 11:13:32 +08:00
Jinhao
94bb4103f8 add new method for place.splitter renderer 2017-04-15 11:08:13 +08:00
Jinhao
74898dcc01 Merge branch 'hotfix-1.4.1' into develop 2017-04-12 07:35:05 +08:00
Jinhao
0e94346fc1 add query of range for spinbox 2017-04-12 06:40:06 +08:00
Jinhao
6cbf721f9d improve all widgets for bground effects 2017-04-11 07:06:43 +08:00
Jinhao
17153b991f improve text_editor
improve user experience
2017-03-30 03:08:36 +08:00
Jinhao
5917b1eb36 refactor 2017-03-29 04:43:00 +08:00
Jinhao
afc97ab230 Merge branch 'hotfix-1.4.1' into develop 2017-03-20 06:39:24 +08:00
Jinhao
dcdeba7d2e fix issue that filebox may throw exception(#191) 2017-03-20 06:33:37 +08:00
Jinhao
3b2a8551e3 fix a compiler error of API::enum_widgets 2017-03-20 06:24:31 +08:00
Jinhao
b890f2fad7 fix some listbox bugs 2017-03-19 22:53:40 +08:00
Jinhao
33424f0c75 Merge branch 'hotfix-1.4.1' into develop 2017-03-16 02:07:37 +08:00
Jinhao
57ae7822c8 update for fit-content 2017-03-16 01:48:49 +08:00
Jinhao
f0dc62cc21 new vfit/hfit for place
added fit-content support for button/picture/combox/label
2017-03-15 23:39:39 +08:00
Jinhao
3e5c4133ce finish basic work of fit-content 2017-02-25 02:49:57 +08:00
Jinhao
4820aba1e2 add graph_reference to measure interface 2017-02-24 21:15:02 +08:00