622 Commits

Author SHA1 Message Date
Jinhao
a21a5e940d fix comment 2017-08-06 09:47:01 +08:00
Jinhao
12843da679 improve listbox model_guard exception information 2017-08-02 00:14:39 +08:00
Jinhao
27e1d7aff5 add textbox::content_origin 2017-07-25 07:57:48 +08:00
Jinhao
7371bd0525 add comment 2017-07-23 22:57:01 +08:00
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
64dbd2100c fix bug that graphics::make({0, 0}) behaves differently between Windows
and Linux
2017-07-17 22:31:29 +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
Jinhao
d4fb5a226f fix issues that nuwen/TDM MinGW distro 2017-07-08 04:22:26 +08:00
Jinhao
50db6f81f0 fix bug that C++14 detection uses a wrong number 2017-07-07 22:50:41 +08:00
Jinhao
bd5e9fdc4a fix issues on different MinGW distro 2017-07-07 08:34:34 +08:00
Jinhao
735de4f032 fix logical error on detecting std::clamp feature 2017-07-02 22:58:31 +08:00
Jinhao
4bc03d038a code refined 2017-07-02 13:05:33 +08:00
Jinhao
9ff1ea4605 avoid introducing <algorithm> for MSVC 2017-07-02 13:01:53 +08:00
Jinhao
8b3589c493 Merge branch 'Red-Portal-patch-1' of https://github.com/Red-Portal/nana into Red-Portal-Red-Portal-patch-1 2017-07-02 04:58:03 +08:00
Jinhao
afd8225875 fix bugs that button renderer generated bad values if it zero-size 2017-07-01 07:32:45 +08:00
Ray Kim
4d2921e31b Fixed stdc++.hpp build error on gcc 7
included algorithm in c++defines.hpp
this fixes std::clamp's feature test which was not working.
2017-06-27 02:59:58 +09: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
a87703d418 refactor functions 2017-05-31 22:36:56 +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
df6c707356 add locale header 2017-05-12 07:42:17 +08:00
Jinhao
2281617aa1 Merge branch 'hotfix-1.5' into develop 2017-05-10 06:02:17 +08:00
Jinhao
abfde4e77c fix MinGW's compiler errors 2017-05-10 05:47: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