79 Commits

Author SHA1 Message Date
Jinhao
25fe4506fd fix some GCC compilation issues 2020-03-14 01:31:52 +08:00
besh81
add0af843e added treebox use_entire_line mode
Added new interaction/display mode to treebox control.
Enabling use_entire_line the entire line of the treebox/child is used for mouse interactions and display purposes.
2020-02-07 13:06:34 +01:00
Jinhao
1a91511d64 refactor
make it more readable
2020-01-29 01:29:42 +08:00
Jinhao
462aadcc26 hide treebox node expander if no visible children
improve the new feature based on PR#500
2020-01-28 23:29:10 +08:00
mixael
aa2bfaebaa treebox - allow treebox node to be hidden 2020-01-23 01:27:08 +03:00
Jinhao
6353a1909b Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7 2019-11-17 01:23:50 +08:00
ErrorFlynn
59d3a68485
item_proxy bug fix: postfix increment operator
The behavior of the postfix increment operator is not consistent with the increment operator concept (currently just returns the next sibling node).
2019-09-20 23:38:09 -04:00
ErrorFlynn
69e559f657
fixed a bug in trigger::dbl_click()
impl_->set_expanded() was called unconditionally, even if the node had no children. This caused the node icon to change to the "expanded" icon if the node had an icon scheme, even when the node didn't have children.
2019-08-11 20:27:16 -04:00
Jinhao
a08e274088 Merge branch 'hotfix-1.7' into develop 2019-04-22 01:08:49 +08:00
Jinhao
5320ead6bd add treebox.horvered method 2019-04-19 04:40:49 +08:00
Jinhao
f274ff4c4c Merge branch 'develop' of https://github.com/beru/nana into beru-develop 2019-04-16 23:39:40 +08:00
Jinhao
fd120c6425 Merge branch 'hotfix-1.7' into develop 2019-04-16 04:01:44 +08:00
Jinhao
f697f4c338 uses std::chrono 2019-04-16 03:54:16 +08:00
beru
a596c7f64e fix typos 2019-04-14 14:49:01 +09:00
Jinhao
7ba93f2164 add contribution description 2019-03-14 06:31:52 +08:00
ErrorFlynn
68d01ffe70
fix: tooltip window doesn't have tree scheme & typeface (issue #405)
The treebox tooltip window is not initialized with the treebox scheme, which causes a crash in color_proxy::operator color(). Additionally, the tooltip window also uses a default font.
2019-03-12 15:58:01 -04:00
Jinhao
bbc39906c0 remove deprecated code and debug code 2019-02-15 06:27:17 +08:00
Jinhao
85c2bdbd75 small changes 2019-02-02 00:31:56 +08:00
Jinhao
fb8ade6557 some modifications to #357 and #383 2019-01-31 07:08:45 +08:00
besh81
91dfaa5d7e added treebox scheme 2019-01-21 11:37:35 +01:00
besh81
a71e02b5f2 adding treebox scheme 2019-01-19 15:04:19 +01:00
Jinhao
186b76e765 improve filebox appearance on Linux 2018-12-13 06:43:11 +08:00
Jinhao
648b460faa Merge branch 'hotfix-1.6.2' into develop-1.7 2018-12-07 06:58:11 +08:00
Jinhao
07a971c6ef add support XDND for X 2018-11-30 07:40:15 +08: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
f09e9bcf43 small changes 2018-10-01 11:47:33 +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
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
1339658c4c fix bug that window_position returns the pos of WM reparenting frame 2018-08-01 07:31:02 +08:00
Jinhao
3427181405 std::string_view 2018-06-07 03:41:08 +08:00
Jinhao
216cb786e7 various fixes
fixed compiler warnings
fixed bad overridings
fixed FreeBSD support
2018-05-22 14:22:58 +08:00
Jinhao
0c7e8a8ca2 add scroll_operation_interface 2018-04-21 03:49:15 +08:00
Jinhao
335305c97c fix bug that treebox::item_proxy::size returns the depth of the node 2018-04-01 00:11:19 +08:00
cnjinhao
8cb29a1617 fix issue that filebox incorrectly loads folder tree on Linux 2017-09-11 14:42:20 +08:00
Jinhao
cb6191cc88 fix crash error when operate a closed treebox 2017-07-17 00:37:30 +08:00
Jinhao
0b4dc1904b fix compiler errors/warnings for clang 5.0 2017-06-11 11:33:52 +08:00
Jinhao
4e9646cf64 unify semantics of the blend methods 2017-04-15 11:30:16 +08:00
Jinhao
6cbf721f9d improve all widgets for bground effects 2017-04-11 07:06:43 +08:00
Jinhao
431f0af893 fix syntax errors and warnings 2017-03-17 07:29:34 +08:00
Jinhao
66be23c920 fix issues that occur when expands/shrinks treebox 2017-02-20 03:41:04 +08:00
Jinhao
9fa0bc2db9 remove some duplicated functions of treebox 2017-02-19 21:09:06 +08:00
Jinhao
c1113cf41d fix crash that could occur when clearing treebox 2017-02-19 13:11:13 +08:00
Jinhao
9f366ab008 new treebox::item_proxy::clear() method 2017-02-13 07:21:10 +08:00
Jinhao
eb7ae0d635 fix bug that treebox.clear only rm the 1st node 2017-02-13 07:18:39 +08:00
Jinhao
26ec27b4c4 fix issue that incorrect treebox selection 2017-02-11 10:44:50 +08:00
Jinhao
6c3ba75f6f treebox refined 2017-01-21 05:03:50 +08:00
Jinhao
281e92eb59 add clear() to treebox 2016-12-27 03:52:39 +08:00
Jinhao
6e86b6ae6c refine code
fix bug that listbox may throw std::runtime when the modal is enabled
fix bug that textbox attachs a wrong event angent
2016-08-10 01:46:13 +08:00