2214 Commits

Author SHA1 Message Date
qPCR4vir
ec4e7cf33e Merge remote-tracking branch 'cnjinhao/develop' into develop 2020-02-05 13:26:03 +01:00
qPCR4vir
81c979dff0 move include (CheckIncludeFileCXX) 2020-02-05 13:25:51 +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
Jinhao
c7332129b0 Merge branch 'call-me-void-hide-treebox-items' into develop 2020-01-28 17:18:41 +08:00
mixael
aa2bfaebaa treebox - allow treebox node to be hidden 2020-01-23 01:27:08 +03:00
Jinhao
e4d152706e Merge branch 'hotfix-1.7.2' into develop 2019-12-21 05:20:26 +08:00
Jinhao
e08a7a3531 add workaround of inline namespace for c++11 2019-12-21 05:18:28 +08:00
Jinhao
0b94dc80ae Merge branch 'qPCR4vir-minor_change' into develop 2019-12-14 06:02:02 +08:00
Jinhao
abf3952750 Merge branch 'minor_change' of https://github.com/qPCR4vir/nana into qPCR4vir-minor_change 2019-12-14 01:27:08 +08:00
qPCR4vir
25b5645d5a fix ctest: set correct working directory, and show output 2019-12-12 13:02:47 +01:00
qPCR4vir
d6f2831c7b back to run "manually" - better output 2019-12-12 12:47:14 +01:00
qPCR4vir
2118500394 travis test with ctest 2019-12-12 12:27:08 +01:00
qPCR4vir
c8535497b1 set back CMAKE_REQUIRED_FLAGS https://github.com/cnjinhao/nana/issues/497
https://github.com/cnjinhao/nana/issues/497#issuecomment-563471500
2019-12-09 23:41:09 +01:00
Jinhao
62e6d0dbe8 Merge branch 'qPCR4vir-minor_change' into develop 2019-12-10 03:58:34 +08:00
qPCR4vir
f0fa70d51c explicit fs tests, no c++ separate test 2019-12-08 18:32:47 +01:00
qPCR4vir
538c91ebcf comments 2019-12-08 11:34:01 +01:00
qPCR4vir
dd72ef8fbd Merge remote-tracking branch 'origin/minor_change' into minor_change 2019-12-06 01:30:48 +01:00
qPCR4vir
f88224766d doxy comments, void form::div(std::string div_text); 2019-12-06 01:27:58 +01:00
qPCR4vir
3c4848d31a deprecated example 2019-12-05 15:10:36 +01:00
qPCR4vir
357e8ccd73 travis run calculator 2+2=4 !! 2019-12-05 14:28:40 +01:00
qPCR4vir
5d147f6849 update travis run all? tests 2019-12-05 13:54:23 +01:00
qPCR4vir
08a1aba801 update travis just align 2019-12-05 13:53:18 +01:00
qPCR4vir
55c9ce790d update travis 2019-12-05 13:17:20 +01:00
qPCR4vir
514ebaf426 FIX #469, #492 ? 2019-12-05 13:03:09 +01:00
qPCR4vir
0345d503ba add parameter name 2019-12-05 00:28:35 +01:00
qPCR4vir
d362f031dd listbox header: ignore auto_draw ??
changing column visibility - too slow.
2019-12-05 00:28:08 +01:00
Jinhao
dbf6a7eeba Merge branch 'hotfix-1.7.2' into develop 2019-12-05 03:58:50 +08:00
Jinhao
8911e2d76a Merge branch 'qPCR4vir-hotfix-1.7.2' into hotfix-1.7.2 2019-12-05 03:58:08 +08:00
qPCR4vir
3d00b7c589 comments
(cherry picked from commit 3b57bd0a1f2375ec88e57298276242edaf611b9e)
2019-12-03 19:10:26 +01:00
qPCR4vir
4b7facebdf fix conditional compilations in filesystem 2019-12-03 19:10:07 +01:00
qPCR4vir
2fd8b28d4e update Readme 2019-12-03 19:09:36 +01:00
Jinhao
0ab4225262 Merge branch 'hotfix-1.7.2' into develop 2019-12-04 01:13:44 +08:00
Jinhao
beba9d29d5 Merge branch 'qPCR4vir-filesystem' into hotfix-1.7.2 2019-12-04 01:10:24 +08:00
Jinhao
d2ce5fafd2 Merge branch 'filesystem' of https://github.com/qPCR4vir/nana into qPCR4vir-filesystem 2019-12-04 01:09:55 +08:00
Jinhao
aaf837a94a Merge branch 'ppetraki-develop-bugfix' into develop 2019-12-04 00:49:03 +08:00
Jinhao
d78157efba Merge branch 'mihaizh-fix-tabbar-erase-refresh' into hotfix-1.7.2 2019-12-04 00:28:40 +08:00
Jinhao
139c884ea9 Merge branch 'fix-tabbar-erase-refresh' of https://github.com/mihaizh/nana into mihaizh-fix-tabbar-erase-refresh 2019-12-04 00:27:17 +08:00
Jinhao
948022e304 fix any forward inlude issue 2019-11-17 01:27:20 +08:00
Jinhao
36a17566ca Merge branch 'ErrorFlynn-hotfix-1.7' into hotfix-1.7.2 2019-11-17 01:24:19 +08: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
qPCR4vir
0e7261228c don't reuse variable! 2019-11-06 11:00:19 +01:00
qPCR4vir
5438b4ee28 using nana-demo hotfix 2019-11-05 21:33:29 +01:00
qPCR4vir
bd70254223 using std filesystem 2019-11-05 21:08:28 +01:00
qPCR4vir
a8b5e92947 using nana filesystem 2019-11-05 21:00:33 +01:00
qPCR4vir
3eee1f76b9 inline nana::filesystem 2019-11-05 19:43:01 +01:00
qPCR4vir
597f6c05cd inline boost::filesystem into std::filesystem 2019-11-05 19:29:30 +01:00
qPCR4vir
babcdb477d check_cxx_source_compiles FILESYSTEM 2019-11-05 19:25:14 +01:00
qPCR4vir
25353e4325 reorganize priorities 2019-11-05 19:23:50 +01:00
ErrorFlynn
6c547276ec
bug fix: nana::drawerbase::listbox::essence::where
This method incorrectly calculates the position of checkboxes in the listbox content area. It uses the formula `new_where.second * item_h + header_visible_px()` to calculate the number of pixels between the top of the viewport and a checkbox.

The problem is that when the first visible item is only partially visible, `new_where.second * item_h` produces an excess of pixels equal to the vertical segment of the first visible item that is not in the viewport. This excess value produces a downward displacement of the calculated checkbox position, so it must be accounted for in the aforementioned formula.

This problem occurs because at some point, the library switched from scrolling in item-sized increments to smooth scrolling (in older versions, it used to be that it was impossible for an item to be only partially visible).

Relevant thread: http://nanapro.org/en-us/forum/index.php?u=/topic/1227/ggnana-listbox-with-a-check-box-for-each-list-item#post-3359
2019-10-05 11:19:42 -04:00