King_DuckZ
b5c69dc386
Use target_compile_definitions instead of add_definitions.
...
This allows macro definitions to be inherited. There might
be symbols that can be made private.
This is likely breaking the build on non-linux systems.
2017-11-10 00:10:11 +00:00
King_DuckZ
7f35b240b5
Remove the NANA_LINKS variable since it's not tracking what's really happening anymore.
2017-11-10 00:09:08 +00:00
King_DuckZ
bfba8fa233
Fix typo
2017-11-10 00:07:46 +00:00
King_DuckZ
872ed69519
Whitespace changes
2017-11-10 00:07:36 +00:00
King_DuckZ
a09d23210f
Use target_include_directories instead of include_directories.
...
Also change the linked libraries where necessary and link
to fontconfig, which fixes my build error.
2017-11-10 00:06:57 +00:00
King_DuckZ
00c923df8f
Use target_compile_features instead of setting CXX_STANDARD.
...
This allows child projects to just link to nana and automatically
inherit the -std=c++14 setting. Minimum cmake version for this
to work is 3.1.
2017-11-10 00:01:58 +00:00
Jinhao
a57c7ac409
Merge branch 'qPCR4vir-dev' into develop
2017-10-29 02:05:00 +08:00
qPCR4vir
708152ed78
FEATURE: use width and height instead of weight
2017-10-20 02:11:39 +02:00
qPCR4vir
97ca4ac3de
add h file into project for convenient IDE browsing
2017-10-20 02:10:31 +02:00
Jinhao
3ce374f010
Merge branch 'frostbane-feature/shared_library' into develop
2017-10-15 08:49:07 +08:00
Ac
b486823177
add cmake option for dynamic linking
2017-10-05 09:59:32 +09:00
Jinhao
9b8cc1018e
Merge branch 'frostbane-feature/gcc_std_thread' into develop
2017-10-04 19:22:22 +08:00
Ac
d86a8cfad2
use std::thread if gcc is compiled with c++11 threading support
...
NANA_CMAKE_ENABLE_MINGW_STD_THREADS_WITH_MEGANZ option must still be enabled but mingw.thread.h and mingw.mutex.h will be ignored if _GLIBCXX_HAS_GTHREADS is defined
2017-09-29 11:06:22 +09:00
Jinhao
a777447cfd
Merge branch 'wjiali6-master' into develop
2017-09-25 21:54:42 +08:00
Jinhao
ae6ca7a5f5
Merge branch 'master' of https://github.com/wjiali6/nana into wjiali6-master
2017-09-25 21:54:19 +08:00
Jinhao
a3ff2af4ab
Merge branch 'hotfix-1.5.5' into develop
2017-09-25 21:53:04 +08:00
Mexsut
dcb472cb06
add a native wstring version textbox::append
...
added a textbox::append which accepts texts in std::wstring
2017-09-25 15:20:38 +08:00
Jinhao
13761be5e9
fix crash where a menubar popups a menu and exits by shortcut( #261 )
2017-09-23 07:33:31 +08:00
Jinhao
eec7344c6d
fix issue that typing text for spinbox doesn't draw spin buttons border
2017-09-23 07:25:16 +08:00
cnjinhao
bb47cdc6c9
fix bug that DEL key is incorrect in key_press/key_release( #259 )
2017-09-22 15:47:12 +08:00
cnjinhao
f14fc9bf6d
Merge branch 'hotfix-1.5.5' of https://github.com/cnjinhao/nana into hotfix-1.5.5
2017-09-22 15:45:38 +08:00
cnjinhao
d918c53848
Merge https://github.com/cnjinhao/nana into hotfix-1.5.5
2017-09-22 15:42:57 +08:00
Jinhao
c1654f75ec
fix issue that typing text for spinbox doesn't draw spin buttons border
2017-09-18 23:46:02 +08:00
Jinhao
dbc9bc55ff
fix bug that fast clicking a spinbox doesn't change the value( #257 )
2017-09-18 23:36:40 +08:00
Jinhao
6e9296166f
fix bug that platform_spec_posix.cpp is missing in code::blocks project
2017-09-14 02:21:03 +08:00
Jinhao
c45f621eea
fix crash where text_editor enables the linewrap( #254 )
2017-09-13 04:58:05 +08:00
Jinhao
803acb13f0
fix move-ctor and move-assignement operator of graphics( #253 )
2017-09-12 08:15:22 +08:00
cnjinhao
b0a58ed62f
fix issue that filebox throws exception when permission denied( #251 )
2017-09-11 15:54:42 +08:00
cnjinhao
8cb29a1617
fix issue that filebox incorrectly loads folder tree on Linux
2017-09-11 14:42:20 +08:00
Jinhao
c348ec4009
fix bug that widgets are mistakenly drawn on nested_form( #252 )
2017-09-10 13:33:38 +08:00
Jinhao
b25949c9b3
Merge branch 'develop'
2017-09-06 03:31:05 +08:00
Jinhao
166abe52f3
fix some compiler warnings
2017-09-06 00:22:00 +08:00
Jinhao
905443eba1
Merge branch 'hotfix-1.5.4' into develop
2017-09-05 05:04:20 +08:00
Jinhao
dd5bb86514
refactor menubar
2017-09-05 04:57:35 +08:00
Jinhao
d36a7e684a
fix travis for new update
2017-09-02 21:25:30 +08:00
Jinhao
2974fe2137
add event filter contributed by A2Razor
2017-09-01 22:57:12 +08:00
Jinhao
2cf0adf777
small modification
2017-08-31 04:41:43 +08:00
Jinhao
29fc286ba3
fix bug that throws exception in listbox::column_at( #248 )
2017-08-31 04:36:09 +08:00
Jinhao
fba4097851
refactor menubar
2017-08-31 02:57:34 +08:00
Jinhao
64899a3d6a
add functions to menubar for auto-close when mouse leave
2017-08-28 21:09:04 +08:00
Jinhao
5c28e72320
fix bug that round_rectangle always draws black background( #246 )
2017-08-27 11:14:50 +08:00
Jinhao
ec9ec611b4
refactor drawing of shortkey underline
2017-08-27 10:32:56 +08:00
Jinhao
4e18d81f90
fix bug that listbox incorrect scrolls if content is sorted( #245 )
2017-08-24 05:49:19 +08:00
Jinhao
1be4b4e667
fix bug where textbox highlight fails
2017-08-24 05:26:44 +08:00
Jinhao
4e425d1d8d
fix crash where menubar hotkey isn't an ASCII character
2017-08-22 07:48:37 +08:00
Jinhao
65b1ee1e95
fix bug that inline-widgets positioned wrong column
2017-08-16 07:11:01 +08:00
Jinhao
2cfc6ee8e6
release GDI object immediately when a widget is closing
2017-08-14 01:00:14 +08:00
Jinhao
6da703c8fb
reduce GDI objects
2017-08-13 15:48:57 +08:00
Jinhao
c025f01f5e
refactor
2017-08-12 12:29:58 +08:00
Jinhao
d4a815c8cc
refactor
2017-08-11 22:50:44 +08:00