Jinhao
46b5e423b5
remove unused class
2019-07-01 07:31:33 +08:00
Jinhao
363a80e935
refactor
...
remove typedef-name core_window_t
remove get_color and get_text_color of the internal class drawable
2019-06-30 11:56:16 +08:00
Jinhao
01bd43f960
refactoring
2019-06-28 06:32:34 +08:00
Jinhao
065e6f3081
remove iconv code
2019-06-27 07:47:36 +08:00
Jinhao
975993ff33
refactor types( #450 )
2019-06-26 05:05:05 +08:00
Jinhao
8a0475c98c
refactor text_renderer
2019-06-20 04:35:29 +08:00
Jinhao
ad4c3a3fc3
Merge branch 'hotfix-1.7.1' into develop
2019-06-20 01:23:18 +08:00
Jinhao
39c3f85627
fix bug that click event is triggered by pressing space on disabled button
2019-06-19 23:42:50 +08:00
Jinhao
e5a935ab83
fix bug that filebox single selection fails on Linux
2019-06-18 08:23:54 +08:00
Jinhao
a8c269d108
refactor text_renderer
2019-06-17 07:36:33 +08:00
Jinhao
363953be20
improve compatability with old compiler
2019-06-14 05:34:28 +08:00
Jinhao
80b3566e9b
Merge branch 'qPCR4vir-develop' into develop
2019-06-12 23:13:56 +08:00
Jinhao
41d37f5b0c
Merge branch 'develop' of https://github.com/qPCR4vir/nana into qPCR4vir-develop
2019-06-12 23:10:59 +08:00
Jinhao
7d27f152f4
Merge branch 'hotfix-1.7.1' into develop
2019-06-12 23:10:12 +08:00
qPCR4vir
6a46ec4f52
-static-libgcc ?
2019-06-12 16:13:37 +02:00
qPCR4vir
4818da59a8
use nana-demo develop
2019-06-12 13:37:49 +02:00
qPCR4vir
9a9399130b
DNANA_CMAKE_INSTALL=OFF
2019-06-12 13:37:16 +02:00
qPCR4vir
cea2f01388
Visual Studio 2017 ?
2019-06-12 13:27:14 +02:00
qPCR4vir
0233af0ba8
use vc2017 in CI
2019-06-12 12:45:29 +02:00
qPCR4vir
76d5138f55
nana cmake version 1.7.1
2019-06-12 12:44:52 +02:00
qPCR4vir
ceb81a0876
eliminate debug info in release, size of executable is 1/10
2019-06-12 12:44:01 +02:00
qPCR4vir
17240f5a51
NANA_CMAKE_INSTALL=ON, but now normal users need to set OFF or EXCLUDE_FROM_ALL
2019-06-12 12:39:31 +02:00
qPCR4vir
4ba692a6a0
Merge remote-tracking branch 'cnjinhao/hotfix-1.7.1' into develop
2019-06-12 10:16:39 +02:00
Jinhao
ce2d738a56
Merge branch 'ErrorFlynn-hotfix-1.7' into hotfix-1.7.1
2019-06-11 01:17:44 +08:00
Jinhao
1f23a78a0a
Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7
2019-06-11 01:15:52 +08:00
Jinhao
4c874f0bd3
Merge branch 'Xeverous-patch-1' into develop
2019-06-11 01:12:25 +08:00
Jinhao
162889d553
Merge branch 'patch-1' of https://github.com/Xeverous/nana into Xeverous-patch-1
2019-06-10 23:46:55 +08:00
Jinhao
3533b97092
XFT code incorrectly enabled under Windows
2019-06-04 08:45:39 +08:00
ErrorFlynn
417071e4b5
fix for selection bug described in issue #448
2019-06-03 17:51:21 -04:00
Jinhao
f57e824431
add support of multi-language under Linux( #439 )
...
also fix the font style issue under Linux
2019-06-01 03:15:59 +08:00
Xeverous
b0ae6425ca
add alias nana::nana in CMakeLists.txt
...
This commit adds the alias to allow the use of nana::nana in other projects as per guideline https://gist.github.com/mbinna/c61dbb39bca0e4fb7d1f73b0d66a4fd1#using-a-library-defined-in-the-same-cmake-tree-should-look-the-same-as-using-an-external-library .
This change should not break anything, it only adds an alternative name
2019-05-30 10:59:45 +02:00
Jinhao
0cce667005
Merge branch 'wpp2014-ad_textbox_text_function' into develop
2019-05-24 08:53:41 +08:00
Jinhao
913801244d
Merge branch 'ad_textbox_text_function' of https://github.com/wpp2014/nana into wpp2014-ad_textbox_text_function
2019-05-24 08:52:01 +08:00
Jinhao
eb4b8d4b89
Merge branch 'qPCR4vir-develop' into develop
2019-05-24 02:14:21 +08:00
Jinhao
6f30307a63
Merge branch 'develop' of https://github.com/qPCR4vir/nana into qPCR4vir-develop
2019-05-24 02:13:57 +08:00
Jinhao
742cde9779
Merge branch 'glavangeorge-hotfix-1.7.1' into hotfix-1.7.1
2019-05-23 23:34:52 +08:00
Gheorghe Florian GLAVAN
0e8328eba3
fix for #440 (unicode_bidi aletter always true)
2019-05-23 12:17:30 +03:00
Jinhao
396319ea28
add new method listbox;:set_deselect
...
set a predicate that decides to deselect selected items in mouse_up event.
2019-05-23 00:49:56 +08:00
Jinhao
a21d58a5fe
Merge branch 'hotfix-1.7.1' into develop
2019-05-16 23:23:11 +08:00
qPCR4vir
6fe009961f
fix comments: Boost as workaround
2019-05-15 14:08:53 +02:00
qPCR4vir
c6b0a7093d
use target_link_libraries
2019-05-15 13:44:32 +02:00
qPCR4vir
fbffbcd75d
target_compile_options(nana PUBLIC -static -static-libstdc++) for MINGW too
2019-05-15 13:05:19 +02:00
PearlWang
037ef43594
add text() function to class textbox
2019-05-15 09:25:37 +08:00
Jinhao
5575a9f2b8
fix bug that transparent widget may not be updated in event handler( #431 )
2019-05-13 04:28:30 +08:00
Jinhao
d96efd11a6
Merge branch 'besh81-develop' into develop
2019-05-10 04:33:42 +08:00
Jinhao
44cbb18a50
Merge branch 'develop' of https://github.com/besh81/nana into besh81-develop
2019-05-10 04:33:25 +08:00
besh81
67f5d1743f
toolbar: show text inside the button
...
Added function/method both to toolbar and item_proxy:
void textout(size_type index, bool show); ///< Show/Hide the text inside the button
Before: button without image weren't display
Now: button without image is display as empty square. In case the textout is on the text is show
2019-05-09 09:44:37 +02:00
besh81
5422c43002
toolbar : added toggle button
...
Following functions/methods have been add both to toolbar and item_proxy:
bool istoggle() const; ///< Returns true if the tool style is toggle.
bool toggle() const; ///< Gets the tool toggle state (only if tool style is toggle).
item_proxy& toggle(bool toggle_state); ///< Sets the tool toggle state (only if tool style is toggle).
std::string toggle_group() const; ///< Returns the toggle group associated with the tool (only if tool style is toggle).
item_proxy& toggle_group(const ::std::string& group); ///< Adds the tool to a toggle group (only if tool style is toggle).
2019-05-08 18:11:21 +02:00
Jinhao
5c19c9a9c3
Merge branch 'ErrorFlynn-hotfix-1.7' into hotfix-1.7.1
2019-05-07 00:29:47 +08:00
Jinhao
dfc3cf0cbd
Merge branch 'hotfix-1.7' of https://github.com/ErrorFlynn/nana into ErrorFlynn-hotfix-1.7
2019-05-07 00:29:04 +08:00