928 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
711dff56de add simple_dragdrop feature 2018-10-27 17:46:22 +08:00
Jinhao
f32f22f429 implement dragdrop for X11 2018-10-23 03:34:12 +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
7fea766f99 fix bug that causes dead-lock under Linux 2018-09-22 00:37:36 +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
ee4bba1bee Merge branch 'hotfix-1.6.2' into develop-1.7 2018-09-16 23:15:38 +08:00
Jinhao
2de08f8f9f add move-semantics and delete copy-ctor/assignment for animation 2018-09-13 07:27:50 +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
c440613d90 fix crash which occurs after calling widget::tooltip("")(#331) 2018-08-25 06:06:57 +08:00
Jinhao
74f060acbc x11_wait_for blocks execution in raspbian 2018-08-24 22:57:05 +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
9ff6567a03 fix bug that program stops if XMoveWindow doesn't generate ConfigureNotify 2018-08-18 07:21:03 +08:00
Jinhao
841fa0812c fix bug that nested_form mistakely renders sibling as its child 2018-08-15 23:07:38 +08:00
Jinhao
04e57771a4 eliminate GCC warings when -Wimplicit-fallthrough is enabled 2018-08-10 23:35:11 +08:00
Jinhao
30fba6e4a4 fix bug that wroing window position in X11 2018-08-09 07:56:32 +08:00
Jinhao
6ab867072d implement API::window_outline_size for X11 2018-08-09 07:54:26 +08:00
Jinhao
e91d3446eb fix GCC errors when -std=c++17 is specified 2018-08-09 07:50:56 +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
5a4edd2fef fix bug that widgets may not draw correctly 2018-07-02 05:42:56 +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