40 Commits

Author SHA1 Message Date
Jinhao
d3e3e59812 open image file using file format signature instead of file extension 2020-04-18 02:59:12 +08:00
qPCR4vir
514ebaf426 FIX #469, #492 ? 2019-12-05 13:03:09 +01:00
Jinhao
f8604c06c8 improve jpeg check 2019-03-09 22:55:37 +08:00
Jinhao
2470848fba Merge branch 'hotfix-1.6.2' into develop-1.7 2019-03-09 21:54:57 +08:00
ErrorFlynn
845dda8c3e
corrected wrong offset for "Exif" bytes 2019-03-07 12:42:59 -05:00
Jinhao
fb7a16bc61 use std::filesystem instead of std::experimental::filesystem 2018-12-15 10:48:16 +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
abe2f0687f fix some compiler warnings and errors for GCC 2016-11-27 12:39:26 +08:00
dankan1890
afa9cffd51 Added multi platform support for ICOns files. 2016-10-18 00:32:58 +02:00
Jinhao
2f716cb83f Merge branch 'hotfix-1.3' into develop 2016-07-19 23:50:11 +08:00
qPCR4vir
4450ff9678 FIX crash in VS consistently using filesysten_ext 2016-06-24 23:48:53 +02:00
qPCR4vir
3b6718d67f using explicit namespaces 2016-06-24 14:22:04 +02:00
beru
7fcbcc1ff2 support loading an icon from memory only on Windows (for now) 2016-06-20 14:24:15 +09:00
beru
e7620ecaeb an update for image::open method : loading icon memory data 2016-06-20 14:17:59 +09: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
8ec21827a0 ignore warnings which are generated by -Weffc++ 2016-03-18 22:17:13 +08:00
Jinhao
6b6b527007 eliminate -Wextra and -pedantic warnings 2016-03-15 15:46:28 +08:00
Jinhao
397096f60e add contribution information 2016-01-31 22:38:39 +08:00
nabijaczleweli
8ea8322fc3
Fix different exception specifiers in image.cpp 2016-01-27 17:42:21 +01:00
Jinhao
3c8ee33ae8 open png/jpg image with memory buffer 2016-01-27 01:14:28 +08:00
Jinhao
920a1fe490 fix compile errors with GCC/Clang 2016-01-20 14:40:57 +08:00
Jinhao
ece696c3b5 update filesystem and remove fs_utility 2016-01-20 01:06:16 +08:00
Jinhao
7d7cce8d2a add path conversion functions 2016-01-05 01:11:15 +08:00
Jinhao
2ca11d4e25 fix compile errors under Linux 2015-12-16 01:21:44 +08:00
Jinhao
b35f293b9e replace string parameter of image's constructor with filesystem::path 2015-11-30 00:58:29 +08:00
Jinhao
c86a00bea5 remove macro STR 2015-11-29 22:38:22 +08:00
Jinhao
4f988a2223 remove marco PLATFORM_SPEC_HPP 2015-11-08 23:35:38 +08:00
Jinhao
9fd1a594cb add selection of text by using shift+mouse click 2015-11-02 00:33:22 +08:00
Jinhao
23ed986932 add support of JPEG by using libjpeg 2015-10-17 14:46:02 +08:00
Jinhao
7f4cc3f6d9 improve image and pixel_buffer 2015-10-17 14:42:07 +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
358c0f662e image::paste may make a graphics if the graphics object is empty 2015-07-19 14:29:59 +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
ce98ffa7b1 fix picture widget transparent image issue 2015-03-04 03:28:12 +08:00
cnjinhao
0a5c85d21b Fixed some syntax errors and clang compiling warnings
GCC/VS2013/Clang is tested
2015-01-03 22:04:06 +08:00
cnjinhao
d0a317bd45 first init of 0.9 2014-12-11 03:32:35 +08:00