672 Commits

Author SHA1 Message Date
Jinhao
fb2075651a Merge branch 'hotfix-1.6.2' of https://github.com/JamesBremner/nana into JamesBremner-hotfix-1.6.2 2019-01-17 07:36:46 +08:00
James Bremner
26c28ae4be Slider value handles -ve values by clipping to zero
see http://nanapro.org/en-us/forum/index.php?u=/topic/1092/ggslider-value-range
2019-01-16 16:43:05 -05:00
James Bremner
02d082959f Merge branch 'hotfix-1.6.2' of https://github.com/cnjinhao/nana into hotfix-1.6.2 2019-01-16 16:38:20 -05:00
besh81
4c3455648f spinbox: if not editable keep prefix and suffix when gain focus 2019-01-08 17:31:39 +01:00
Jinhao
96f62a7b08 fix bug that text_editor::text use \n\r as end of line 2019-01-06 08:29:43 +08:00
Jinhao
e963c29646 fix crash occurs when switch between radio button to checkbox(#375) 2019-01-04 21:58:48 +08:00
Jinhao
345d65f6c9 add caption background mode for group 2018-12-29 07:08:49 +08:00
Jinhao
bed829fa26 fix bug that line alorithm wrongly draws a line when fade_rate is zero 2018-12-29 06:38:46 +08:00
James Bremner
4a101c333a Merge remote-tracking branch 'upstream/hotfix-1.6.2' into hotfix-1.6.2 2018-12-18 17:09:16 -05:00
James Bremner
1d2c7f85f4 Partial implementation of missing nana::typeface() 2018-12-18 17:05:45 -05:00
besh81
36095c9190 fix disabled checkbox square
disabled checkbox square now looks like disabled textbox
In addition found an unused instruction in text_editor.cpp: could be replaced or removed (or left as it is :) )
2018-12-14 12:38:06 +01:00
Jinhao
7e1714f73f Merge branch 'hotfix-1.6.2' of https://github.com/JamesBremner/nana into JamesBremner-hotfix-1.6.2 2018-12-14 07:21:58 +08:00
Jinhao
93df609520 fix bug that label renders an additional endline(#365) 2018-12-14 07:14:04 +08:00
James Bremner
e7bc1405ec
Prevent slider adorn moving when slider disabled
Fix suggested be Error Flynn in http://nanapro.org/en-us/forum/index.php?u=/topic/1059/ggslider-appearance-when-disabled#post-2498
2018-12-09 16:01:32 -05:00
Jinhao
290dfa29b2 Merge branch 'tree_node_selected' of https://github.com/qPCR4vir/nana into qPCR4vir-tree_node_selected 2018-12-07 06:57:06 +08:00
Jinhao
6378c3bf3c add contribution information 2018-12-07 05:30:11 +08:00
Jinhao
c99e738339 Merge branch 'hotfix-1.6.2' of https://github.com/besh81/nana into besh81-hotfix-1.6.2 2018-12-06 22:57:28 +08:00
besh81
fc3478b220 updated button.icon
Now passing an empty image to button.icon() the previous image is erased from button
2018-12-06 09:03:51 +01:00
Jinhao
48d3f4f044 fix bug that scrollbar steals input focus(#344) 2018-12-06 07:41:02 +08:00
Jinhao
f4c71db98b refactor scroll 2018-12-05 06:36:40 +08:00
Jinhao
90464aec4f Merge branch 'hotfix-1.6.2' of https://github.com/besh81/nana into besh81-hotfix-1.6.2 2018-12-03 23:44:55 +08:00
Jinhao
6e401fe75e add scheme for checkbox square box 2018-12-02 05:13:20 +08:00
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
qPCR4vir
927c625a7d emit tree node selected only after mouse_down and checked
this avoid inconsistent drawing or too much redrawing
2018-11-07 16:03:50 +01: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
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
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