646 Commits

Author SHA1 Message Date
besh81
f20ef2dfb6 Added tab_click event to tabbar control
tab_click event is processed when a tab is clicked
2018-11-28 16:57:56 +01:00
besh81
bde0d16243 Added tabbar adding event
Fired when the add button of the tabbar is pressed.
Changing the value of arg.add to false the action can be vetoed.
The value arg.where indicates the position of the new item.
2018-10-26 17:12:22 +02: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
a41eb44714 fix bug that label uses all ram when its width is zero. 2018-09-17 07:48:23 +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
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
Jinhao
216cb786e7 various fixes
fixed compiler warnings
fixed bad overridings
fixed FreeBSD support
2018-05-22 14:22:58 +08:00
Jinhao
da70334459 Merge branch 'hotfix-1.5.6' into develop 2018-05-17 16:09:59 +08:00
Jinhao
4bb720a989 fix textbox highlight issue 2018-05-12 06:49:53 +08:00
Jinhao
9b39d8490b add select method for spinbox 2018-05-11 17:16:34 +08:00
Jinhao
0c7e8a8ca2 add scroll_operation_interface 2018-04-21 03:49:15 +08:00
Jinhao
2cf374705f Merge branch 'hotfix-1.5.6' into develop 2018-04-12 15:49:30 +08:00
Jinhao
9370f13a1b fix crash occurs when listbox is selecting item after pressing shift(#312) 2018-04-12 12:46:52 +08:00
Jinhao
794367f8f6 small improvements 2018-04-12 10:47:06 +08:00