44 Commits

Author SHA1 Message Date
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
381da12ba9 small fix 2018-05-05 22:03:37 +08:00
Jinhao
d715c87d93 correct the process of failure of resizing a window 2017-09-28 08:29:19 +08:00
Jinhao
2ff8a1c729 add new platform_abstraction
add support of loading ttf file
2017-04-26 08:04:25 +08:00
Jinhao
b1fe1ca412 fix bug where window can't load icon with ico(#192) 2017-03-24 05:30:47 +08:00
Jinhao
f11c54e513 fix position issue on Linux 2017-01-30 18:12:50 +08:00
Jinhao
369d506fdd eliminate GCC warnings 2016-06-21 04:37:05 +08:00
Jinhao
5ab0cfdd17 fix a notifier error that can't set icon from its exe file 2016-06-05 02:36:38 +08:00
Jinhao
5f870bcf69 enhance support for multi-threading environment 2016-04-08 23:10:00 +08:00
Jinhao
6b6b527007 eliminate -Wextra and -pedantic warnings 2016-03-15 15:46:28 +08:00
Jinhao
8d2ec2fbd1 update experimental::filesystem and remove file_iterator 2016-01-19 01:34:07 +08:00
Jinhao
0bb7c788d5 Merge branch 'develop' into prepare-utf8 2016-01-03 14:18:03 +08:00
Jinhao
3856543daf fix wrong position of sub menu 2015-12-22 23:47:56 +08:00
Jinhao
9bb0e8eb34 fix an issue of child root window(nested_form) 2015-12-22 00:41:58 +08:00
Jinhao
25743b14a9 add native_interface::set_parent 2015-12-18 00:57:46 +08:00
Jinhao
2ca11d4e25 fix compile errors under Linux 2015-12-16 01:21:44 +08:00
Jinhao
babcacd63d Merge branch 'hotfix-1.2' into prepare-utf8 2015-12-04 23:44:11 +08:00
qPCR4vir
3ad8f5a641 Simplify CMake file and config.h 2015-12-03 20:24:20 +01:00
Jinhao
e8266b5ae8 add native_string_type for internal use 2015-12-03 01:49:44 +08:00
Jinhao
c86a00bea5 remove macro STR 2015-11-29 22:38:22 +08:00
Jinhao
12358a5dc0 change some APIs for accepting utf8 2015-11-27 01:54:26 +08:00
Jinhao
4f988a2223 remove marco PLATFORM_SPEC_HPP 2015-11-08 23:35:38 +08:00
Jinhao
1b5aed2e5f code reviews 2015-10-13 01:38:53 +08:00
Jinhao
42443dcafd remove paint::gadget 2015-08-20 01:09:29 +08:00
Jinhao
e0ee42d184 merge beru's changes 2015-08-02 03:33:43 +08:00
Jinhao
7d868f2377 Merge branch 'develop' of https://github.com/beru/nana into beru-develop
Conflicts:
	source/gui/widgets/skeletons/text_editor.cpp
	source/gui/widgets/textbox.cpp
	source/paint/detail/image_bmp.hpp
	source/paint/detail/image_ico.hpp
2015-08-01 22:08:06 +08:00
Jinhao
be031e9b7f modify group methods, fix a compiling-error 2015-07-17 01:41:03 +08:00
Jinhao
28413b7f25 explicit conversion from point/size to rectangle 2015-06-22 11:30:14 +08:00
beru
990de7867b add OFN_NOCHANGEDIR flag to OPENFILENAME::Flags in nana::filebox::show
http://blogs.msdn.com/b/oldnewthing/archive/2010/11/12/10089878.aspx
	setting OFN_NOCHANGEDIR flag to OPENFILENAME::Flags is effective for GetOpenFileName API on Windows7.
add const qualifier to nana::paint::graphics::save_as_file
add support for small icon on Windows.
	The system displays the large icon in the ALT+TAB dialog box, and the small icon in the window caption.
	https://msdn.microsoft.com/en-us/library/windows/desktop/ms632643%28v=vs.85%29.aspx
2015-05-16 21:10:20 +09:00
Jinhao
99564a9161 refactor functions 2015-05-01 16:45:05 +08:00
Jinhao
3c4f8ae6d9 fix menubar behavior issue
no key_press and key_release after destroying caret under X11
missing some key_press events
menu text color issue
2015-04-21 22:33:18 +08:00
Jinhao
58b206cb93 add new outline size
API::window_outline_size changes the window size(not client area size) for
a native window
2015-03-24 12:12:36 +08:00
Jinhao
0f4786898a fix unexpected window size
unexpected window size when the size is equal to display area size or
display workarea size
2015-03-22 22:18:26 +08:00
cnjinhao
4bc00f3517 Merge branch 'hotfixes' into develop
Conflicts:
	include/nana/detail/linux_X11/platform_spec.hpp
	source/detail/linux_X11/platform_spec.cpp
	source/paint/detail/native_paint_interface.cpp
2015-01-02 23:54:55 +08:00
cnjinhao
b827e0aa82 multiple display monitors support
Added a new class screen
2015-01-02 13:25:46 +08:00
cnjinhao
aa12254844 Added listbox color scheme 2014-12-30 06:28:23 +08:00
cnjinhao
ecbf71b7e2 Color Schemes
textbox.scheme().selection = color(colors::red);
Set the text selection background color
2014-12-28 17:16:52 +08:00
cnjinhao
977a6c0e86 A fix for non-English input issue.
Extended ASCII characters input issue, window title bar issue.
2014-12-23 17:09:30 +08:00
cnjinhao
f62ad0aa9f Added some APIs to the widget class 2014-12-21 11:15:39 +08:00
cnjinhao
d0a317bd45 first init of 0.9 2014-12-11 03:32:35 +08:00