250 Commits

Author SHA1 Message Date
Jinhao
07a971c6ef add support XDND for X 2018-11-30 07:40:15 +08:00
Jinhao
f32f22f429 implement dragdrop for X11 2018-10-23 03:34:12 +08:00
Jinhao
943a9e444d init dragdrop
contains a new class simple_dragdrop and changes of listbox for dragdrop
2018-10-09 03:56:50 +08:00
Jinhao
7fea766f99 fix bug that causes dead-lock under Linux 2018-09-22 00:37:36 +08:00
Jinhao
aac9ef525a fix crash when close owner window
window position issue makes popup menu at wrong position
2018-09-11 07:34:25 +08:00
Jinhao
81d667dbd7 using C++17 emplace return type 2018-08-27 06:51:20 +08:00
Jinhao
fe185e382b remove deprecated code 2018-08-26 17:45:24 +08:00
Jinhao
74f060acbc x11_wait_for blocks execution in raspbian 2018-08-24 22:57:05 +08:00
Jinhao
9ff6567a03 fix bug that program stops if XMoveWindow doesn't generate ConfigureNotify 2018-08-18 07:21:03 +08:00
Jinhao
841fa0812c fix bug that nested_form mistakely renders sibling as its child 2018-08-15 23:07:38 +08:00
Jinhao
04e57771a4 eliminate GCC warings when -Wimplicit-fallthrough is enabled 2018-08-10 23:35:11 +08:00
Jinhao
30fba6e4a4 fix bug that wroing window position in X11 2018-08-09 07:56:32 +08:00
Jinhao
6ab867072d implement API::window_outline_size for X11 2018-08-09 07:54:26 +08:00
Jinhao
e91d3446eb fix GCC errors when -std=c++17 is specified 2018-08-09 07:50:56 +08:00
Jinhao
1ff1c55592 fix bug that caused wrong window position in X11 2018-08-05 16:41:39 +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
5a4edd2fef fix bug that widgets may not draw correctly 2018-07-02 05:42:56 +08:00
Jinhao
5f703bff4c ensure click event consistency
the order of click events generated by mouse and keyboard are different
2018-06-23 06:16:19 +08:00
Jinhao
d5f8f8b305 improve support of opengl for Linux 2018-05-29 05:45:57 +08:00
Jinhao
48f759e007 remove deprecated code 2018-05-29 04:12:53 +08:00
Jinhao
734479562e update project information 2018-05-11 16:29:15 +08:00
Jinhao
c72d8e25b4 Merge branch 'feature-freebsd-posix' into develop 2018-05-08 04:52:13 +08:00
Jinhao
381da12ba9 small fix 2018-05-05 22:03:37 +08:00
Jinhao
bdc480953e small improve 2018-03-07 11:27:31 +08:00
Jinhao
457d86aa39 implement keyboard accelerators for linux 2018-02-24 06:13:46 +08:00
Jinhao
244416088f add member alt for arg_keyboard 2018-02-24 06:10:43 +08:00
Jinhao
2ba4b612f1 implement bedrock::delete_platform_assoc for linux 2018-02-22 08:53:44 +08:00
Jinhao
f6548acc84 add keyboard accelerator 2018-02-22 07:59:27 +08:00
Jinhao
9bd3dc7e58 fix bug that nested_form draws incompletely 2018-01-28 13:57:07 +08:00
unitrunker
bf0228487b Deal with possible BOM (dont assume BOM always there). 2018-01-22 14:52:10 -06: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
e9c381e1de Unicode fix for using iconv on little-endian machines. 2018-01-21 23:53:09 -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
58b7bdf2f7 fix a stackoverflow error 2018-01-03 07:32:21 +08:00
Jinhao
77f7bdb37c fix bug that a font lapse after widget resizes 2017-11-14 02:06:48 +08:00
Jinhao
74f5a8f40b fix caret issue 2017-11-02 16:36:23 +08:00
Jinhao
24bbfc6493 small changes 2017-10-17 06:49:39 +08:00
Jinhao
a3cd37b9d5 fix a GCC compiler error 2017-09-28 08:42:11 +08:00
Jinhao
d715c87d93 correct the process of failure of resizing a window 2017-09-28 08:29:19 +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
Jinhao
c348ec4009 fix bug that widgets are mistakenly drawn on nested_form(#252) 2017-09-10 13:33:38 +08:00
Jinhao
2974fe2137 add event filter contributed by A2Razor 2017-09-01 22:57:12 +08:00
Jinhao
2cfc6ee8e6 release GDI object immediately when a widget is closing 2017-08-14 01:00:14 +08:00
Jinhao
bb7fc29986 fix bug that incorrect visual rect if parent is nested_form 2017-08-07 01:00:54 +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
887554b1b9 fix bug that _m_paste_children wouldn't work well in refresh_tree
added contributor information
2017-07-15 11:53:06 +08:00
Jinhao
afd8225875 fix bugs that button renderer generated bad values if it zero-size 2017-07-01 07:32:45 +08:00
Jinhao
a87703d418 refactor functions 2017-05-31 22:36:56 +08:00
Jinhao
aab3686037 fix issue that basic_window may be leaked 2017-05-04 04:00:19 +08:00
Jinhao
9548b87f54 fix memory leak that widgets wouldn't be deleted 2017-04-28 04:18:39 +08:00