654 Commits

Author SHA1 Message Date
Jinhao
91675cb32d improve listbox methods
listbox::hovered() and listbox::insert_item()
2018-11-01 06:37:26 +08:00
Jinhao
943a9e444d init dragdrop
contains a new class simple_dragdrop and changes of listbox for dragdrop
2018-10-09 03:56:50 +08:00
Jinhao
f09e9bcf43 small changes 2018-10-01 11:47:33 +08:00
Jinhao
d925be809b Merge branch 'hotfix-1.6.2' into develop-1.7 2018-10-01 11:40:41 +08:00
Jinhao
b6028f8079 fix bug that font is missing when measure a zero-sized label 2018-10-01 07:43:57 +08:00
Jinhao
2c3d75c709 fix bug of C++ feature detection(#338) 2018-09-25 02:07:15 +08:00
Jinhao
bbe2aca483 fix bug that treebox.scroll_into_view() generated a wrong position 2018-09-21 01:47:34 +08:00
Jinhao
284a153be0 fix bug that treebox scroll_into_view wrongly calcuates a position 2018-09-19 22:37:24 +08:00
Jinhao
361bcbc81f Merge branch 'hotfix-1.6.2' into develop-1.7 2018-09-18 00:49:26 +08:00
Jinhao
a41eb44714 fix bug that label uses all ram when its width is zero. 2018-09-17 07:48:23 +08:00
Jinhao
4cca88e0f3 Merge branch 'hotfix-1.6.2' into develop-1.7 2018-09-11 07:48:16 +08:00
Jinhao
aac9ef525a fix crash when close owner window
window position issue makes popup menu at wrong position
2018-09-11 07:34:25 +08:00
Jinhao
074b96a05a add new overloading of scroll_into_view for treebox 2018-09-09 05:52:59 +08:00
Jinhao
c1b88c430a add new scroll_into_view() for treebox 2018-09-08 18:01:48 +08:00
Jinhao
986c635548 refactoring label 2018-09-02 07:49:43 +08:00
Jinhao
745a228dae refine the label 2018-08-31 06:27:47 +08:00
Jinhao
852aa698ed Merge branch 'hotfix-1.6.1' into develop 2018-08-28 07:36:51 +08:00
Jinhao
1145e3d5cd fix crash that occurs when rendering an empty label(#333) 2018-08-28 07:31:05 +08:00
Jinhao
81d667dbd7 using C++17 emplace return type 2018-08-27 06:51:20 +08:00
Jinhao
fe185e382b remove deprecated code 2018-08-26 17:45:24 +08:00
Jinhao
e1992fb0d4 fix crash when drawing in text_changed event with new line inserted(#332) 2018-08-26 16:42:53 +08:00
Jinhao
e8e7ad543c the default pool thread number is thread hw concurrency 2018-08-25 06:53:11 +08:00
Jinhao
e0ba1c7d8a disallows copying text from a masked text-editor. 2018-08-25 06:34:43 +08:00
Jinhao
52d814673b Merge branch 'hotfix-1.6.1' into develop 2018-08-19 15:24:05 +08:00
Jinhao
79c3439231 fix bug that label word wrap fails for Japanese(#330)
word break error
new unicode word break
reimplement label word wrap for significant design error
2018-08-19 05:53:08 +08:00
Jinhao
04e57771a4 eliminate GCC warings when -Wimplicit-fallthrough is enabled 2018-08-10 23:35:11 +08:00
Jinhao
1ff1c55592 fix bug that caused wrong window position in X11 2018-08-05 16:41:39 +08:00
Jinhao
1339658c4c fix bug that window_position returns the pos of WM reparenting frame 2018-08-01 07:31:02 +08:00
Jinhao
df5fda9096 fix listbox thread-safe issue(#329) 2018-07-28 09:34:08 +08:00
Jinhao
fa24b280c5 fix bug that listbox hovered is not working(#328) 2018-07-24 08:49:32 +08:00
Jinhao
fa45d7a252 fix bug that listbox unexpected sort is performed 2018-07-20 06:51:13 +08:00
Jinhao
fe6965c4d8 fix button and progress issues(#325,#327) 2018-07-17 00:57:05 +08:00
Jinhao
8e546695d7 fix bug that large listbox not scrolling correctly(#324) 2018-07-15 16:52:33 +08:00
rbrugo
e08bb0bfe1 New textbox::getline returning an optional<string> 2018-07-08 12:35:14 +02:00
Jinhao
6add8868da nana::listbox::scroll not scrolling to correct location(#322) 2018-07-04 21:47:47 +08:00
Jinhao
56a9647d56 use std::string_view 2018-07-02 04:31:41 +08:00
Jinhao
40a6584a75 fix bug that group draws gradual rectangle for caption at wrong position 2018-07-01 15:06:15 +08:00
Jinhao
a781a8790f remove deprecated code 2018-06-24 15:49:32 +08:00
Jinhao
03336210a5 Merge branch 'hotfix-1.6' into develop 2018-06-23 06:20:57 +08:00
Jinhao
5f703bff4c ensure click event consistency
the order of click events generated by mouse and keyboard are different
2018-06-23 06:16:19 +08:00
Jinhao
b5a9374f8f fix bug that listbox fit_content may not work 2018-06-20 00:40:22 +08:00
Jinhao
69e6f4c4a4 Merge branch 'hotfix-1.6' into develop 2018-06-13 23:46:12 +08:00
Jinhao
094830b8a7 fix a bug that listbox may not be drawn(#317)
it doesn't draw if the first column is wider than the width of listbox
2018-06-13 23:18:25 +08:00
Jinhao
8ba312d50e fix a crash error of improvement of group 2018-06-13 22:41:56 +08:00
Jinhao
e47f545b4d add scheme and caption alignment to group widget. 2018-06-12 03:03:40 +08:00
Jinhao
fc7743cbe2 std::string_view 2018-06-09 01:21:10 +08:00
Jinhao
ffee0e5a3b std::string_view 2018-06-07 18:02:40 +08:00
Jinhao
3427181405 std::string_view 2018-06-07 03:41:08 +08:00
Jinhao
a9f23e2503 Merge branch 'develop-c++17' into develop 2018-06-04 02:29:55 +08:00
Jinhao
48f759e007 remove deprecated code 2018-05-29 04:12:53 +08:00