58 Commits

Author SHA1 Message Date
Jinhao
d715c87d93 correct the process of failure of resizing a window 2017-09-28 08:29:19 +08:00
Jinhao
8d9351e051 graphics::make throws std::bad_alloc when it fails 2017-09-27 08:13:55 +08:00
Jinhao
803acb13f0 fix move-ctor and move-assignement operator of graphics(#253) 2017-09-12 08:15:22 +08:00
Jinhao
5c28e72320 fix bug that round_rectangle always draws black background(#246) 2017-08-27 11:14:50 +08:00
Jinhao
6da703c8fb reduce GDI objects 2017-08-13 15:48:57 +08:00
Jinhao
64dbd2100c fix bug that graphics::make({0, 0}) behaves differently between Windows
and Linux
2017-07-17 22:31:29 +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
3cefaa3506 Merge branch 'hotfix-1.5.1' into develop 2017-06-08 21:40:32 +08:00
Jinhao
d384a6a8e7 fix issue that graphics::gradual_rectangle modifies fgcolor unexpectedly 2017-06-04 05:47:57 +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
4e9646cf64 unify semantics of the blend methods 2017-04-15 11:30:16 +08:00
Jinhao
6cbf721f9d improve all widgets for bground effects 2017-04-11 07:06:43 +08:00
Jinhao
cb2c8d6d7d fix issue in graphics::paste
that would show the window when graphics::paste to the invisible window
2017-01-05 04:38:29 +08:00
Jinhao
edc8304c22 Merge branch 'hotfix-1.4' of https://github.com/PeterAddy960/nana into PeterAddy960-hotfix-1.4 2016-10-31 06:13:41 +08:00
PeterAddy960
eeaaf07f4c Added methods to font object to get if font has underline and strikeout. 2016-08-31 20:29:34 -05:00
Jinhao
fbdd5224b2 fix a cast 2016-08-23 08:01:04 +08:00
dankan1890
236ba4356e Removed some useless static_cast. 2016-08-15 00:07:55 +02:00
dankan1890
cdba162897 Fixed some 'false' value implicitly cast to the integer type. 2016-08-14 23:48:42 +02:00
Jinhao
eed3ffd5b6 Merge branch 'hotfix-1.4' into develop 2016-08-11 02:27:45 +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
34cca34773 fix the behaviour of clicking menu disabled item 2016-07-26 07:32:50 +08:00
Jinhao
6217232a31 add a new member function of pixel_buffer for rotating image 2016-05-22 02:51:30 +08:00
Jinhao
6b6b527007 eliminate -Wextra and -pedantic warnings 2016-03-15 15:46:28 +08:00
Jinhao
5a960ed88c a standard experimental class any 2016-01-25 23:56:05 +08:00
Jinhao
325961a277 remove utf8_cast functions 2016-01-22 00:46:10 +08:00
Jinhao
a2a7d1fc37 remove deprecated components 2016-01-03 17:50:10 +08:00
Jinhao
a42ebe19b4 use UTF-8 for string representation 2015-12-31 01:09:52 +08:00
Jinhao
48254b6555 use UTF-8 for string representation 2015-12-29 01:26:19 +08:00
Jinhao
8fc84938bf use UTF-8 for string representation 2015-12-14 00:30:03 +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
94c10c8fba Merge branch 'macos' of https://github.com/BenjaminNavarro/nana into BenjaminNavarro-macos 2015-11-10 23:21:07 +08:00
Jinhao
4f988a2223 remove marco PLATFORM_SPEC_HPP 2015-11-08 23:35:38 +08:00
Jinhao
84f071dc95 fix some compiler errors(clang) 2015-10-13 23:16:25 +08:00
Benjamin Navarro
a09d5c3c95 Mac OS X support 2015-10-11 18:31:30 +02:00
Jinhao
de96ff2cab Merge branch 'hotfix-1.1.3' into feature-docker-place 2015-09-14 01:53:07 +08:00
Jinhao
e97d2cb20f fix color issues 2015-09-14 01:48:30 +08:00
Jinhao
42443dcafd remove paint::gadget 2015-08-20 01:09:29 +08:00
Jinhao
c1e9ea3daf Merge branch 'hotfixes-1.1.1' into feature-docker-place 2015-08-16 09:17:23 +08:00
Jinhao
9f2d830cc5 Merge branch 'hotfixes-1.1.1' into develop 2015-08-16 09:16:42 +08:00
Jinhao
42dd27b68f add a new tabbar_lite widget 2015-08-14 01:38:23 +08:00
Jinhao
3bf9a60563 fix an issue of bitmap 4-byte alignment format(#71)
contributed by beru
2015-08-10 23:09:16 +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
1eb76307e4 image::paste throws exception if graphics or image is empty 2015-07-13 00:23:54 +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
723dea218d improve nana::picture 2015-02-23 01:43:23 +08:00
cnjinhao
fd5ff571a7 get ready for Linux 2015-02-04 10:26:08 +08:00