89 Commits

Author SHA1 Message Date
Jinhao
e89ee5d18b some improvements
improved resizing performance
removed frame widget
refactoring
2019-02-16 00:55:02 +08:00
Jinhao
f488df3e4c add support of refreshing a draw_through form 2019-01-17 07:10:16 +08:00
Jinhao
81d667dbd7 using C++17 emplace return type 2018-08-27 06:51:20 +08:00
Jinhao
5a4edd2fef fix bug that widgets may not draw correctly 2018-07-02 05:42:56 +08:00
Jinhao
c72d8e25b4 Merge branch 'feature-freebsd-posix' into develop 2018-05-08 04:52:13 +08:00
Jinhao
f6548acc84 add keyboard accelerator 2018-02-22 07:59:27 +08:00
unitrunker
f2baba7c77 More thread_t fixes (dont use a 32 bit type to hold a 64 bit handle). 2018-01-22 11:46:29 -06:00
unitrunker
c7434afed8 NANA_POSIX for bits common to Linux, MacOS and BSD. OSS sound as fall-back for POSIX. Cheat for detecting default browser on POSIX. 2018-01-21 23:41:52 -06:00
Jinhao
77f7bdb37c fix bug that a font lapse after widget resizes 2017-11-14 02:06:48 +08:00
Jinhao
24bbfc6493 small changes 2017-10-17 06:49:39 +08:00
Jinhao
d715c87d93 correct the process of failure of resizing a window 2017-09-28 08:29:19 +08:00
Jinhao
2cfc6ee8e6 release GDI object immediately when a widget is closing 2017-08-14 01:00:14 +08:00
Jinhao
886eac6be4 remove sync_child_root_display function
The display state of root widget(nested_form) now no longer depends on its
parent widget's visibility. Otherwise, the solution is complicated and
error-prone, it is impossible to maintain the correct state when the
visibility of root widget is changed directly by system API.
2017-08-06 09:48:06 +08:00
Jinhao
a87703d418 refactor functions 2017-05-31 22:36:56 +08:00
Jinhao
2ff8a1c729 add new platform_abstraction
add support of loading ttf file
2017-04-26 08:04:25 +08:00
Jinhao
970412a3db coe refine 2017-04-19 04:58:20 +08:00
Jinhao
8182d93b9a fix incorrect implementation of revertible_mutex 2017-03-31 03:23:18 +08:00
Jinhao
3fd5f77e09 fix bug of revertible mutex 2017-03-28 04:24:55 +08:00
Jinhao
cc24607a48 small change 2017-03-15 23:43:47 +08:00
Jinhao
f1a746ad4a fix an issue of visibility state of nested_form 2017-02-02 01:19:23 +08:00
Jinhao
3f5d2fa0c5 fix a deadlock
the deadlock occurs between internal_scope_guard and the mutex of
handle_manager
2017-01-27 01:50:09 +08:00
Jinhao
9ed5e81ca2 fix the revertable lock of window_manager 2016-10-19 02:58:49 +08:00
Jinhao
092ae97c66 fix transparent window bugs 2016-10-14 07:19:56 +08:00
Jinhao
7c36c27d46 fix group bgcolor issue 2016-10-11 02:53:41 +08:00
Jinhao
340c350fcb Merge branch 'hotfix-1.4' into develop 2016-09-24 09:58:44 +08:00
Jinhao
6eece91fce fix a crash that deleting a widget in its event handler 2016-09-02 07:49:55 +08:00
Jinhao
9b28c96e9b code refine 2016-08-11 02:26:47 +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
Jinhao
0a0fab679b fix some issues that are detected by PVS-studio team 2016-07-14 00:41:34 +08:00
Jinhao
59922e7b78 remove debug information 2016-06-26 05:33:38 +08:00
Jinhao
5294b4662d debug travis 2016-06-24 12:30:33 +08:00
Jinhao
dbd08c2aa7 debug crash for travis 2016-06-24 12:20:35 +08:00
Jinhao
880d0becf3 some improvements, deprecated frame widget 2016-06-24 00:25:26 +08:00
Jinhao
ceff7c0c27 throw right exception 2016-05-12 23:33:23 +08:00
Jinhao
c512b2dad5 improve window manager refresh process 2016-04-20 02:07:38 +08:00
Jinhao
116787072f Merge branch 'hotfix-1.3' into develop 2016-04-18 15:16:03 +08:00
Jinhao
afa253f924 capture_window is deprecated in favor of set_capture/release_capture 2016-04-17 06:06:33 +08:00
Jinhao
ca1fce932a minor changes 2016-04-12 22:17:07 +08:00
Jinhao
07b5b19545 improve stability of event 2016-04-10 15:23:44 +08:00
Jinhao
b063ce53fb fix bug that ignored API::update_window in drawer event. 2016-03-29 00:08:43 +08:00
Jinhao
8ec21827a0 ignore warnings which are generated by -Weffc++ 2016-03-18 22:17:13 +08:00
Jinhao
8f995ee2cf fix an issue that child display incorrect 2016-03-14 23:20:24 +08:00
Jinhao
569eb49a5c fix and improve the internal handle of focus change
enhanced textbox behavior of focus change
2016-02-27 02:02:29 +08:00
Jinhao
9bb0e8eb34 fix an issue of child root window(nested_form) 2015-12-22 00:41:58 +08:00
Jinhao
75800b2e78 fix a crash when setting focus if prev is null 2015-12-20 03:00:33 +08:00
Jinhao
1446849454 fix non-popup root window(nested_form) issues 2015-12-18 01:00:33 +08:00
qPCR4vir
221e9f6624 FIX MinGW workaround bring some macro small ? 2015-12-03 20:23:44 +01:00
Jinhao
94c10c8fba Merge branch 'macos' of https://github.com/BenjaminNavarro/nana into BenjaminNavarro-macos 2015-11-10 23:21:07 +08:00
Jinhao
fb3b1d51d4 code review 2015-10-22 00:02:27 +08:00
Jinhao
a9983101ab avoid double-copying a window while its parent is refreshing 2015-10-13 23:11:57 +08:00