665 Commits

Author SHA1 Message Date
Jinhao
54cfd3075d add methods for listbox visible range 2018-12-02 06:44:11 +08:00
Jinhao
07a971c6ef add support XDND for X 2018-11-30 07:40:15 +08:00
Jinhao
18481b97ee Merge branch 'hotfix-1.6.2' into develop-1.7 2018-11-16 07:42:03 +08:00
Jinhao
b3eacfddd0 add column_resizable and column_movable to listbox 2018-11-07 06:18:56 +08:00
Jinhao
3855200faa Merge branch 'hotfix-1.6.2' of https://github.com/dudztroyer/nana into dudztroyer-hotfix-1.6.2 2018-11-05 02:49:40 +08:00
Jinhao
ee419c8885 refactoring of listbox 2018-11-05 01:33:36 +08:00
Jinhao
b87d17cac1 bug fix and improvement of listbox 2018-11-04 13:50:12 +08:00
Eduardo Roeder
64bd9b7491 Improve the "double click word selection" method of textbox to follow some other rules other than white space. 2018-11-03 15:43:08 -03:00
Eduardo Roeder
7651b430eb Added select_points method 2018-11-03 14:58:53 -03:00
Jinhao
72f779b4bd fix bug that content_view doesn't work correctly with dnd 2018-11-02 04:19:46 +08:00
Jinhao
91675cb32d improve listbox methods
listbox::hovered() and listbox::insert_item()
2018-11-01 06:37:26 +08: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
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