Commit Graph

4530 Commits

Author SHA1 Message Date
David Capello
c0f402b945 Add she::Font::setAntialias() member function 2016-03-11 15:41:06 -03:00
David Capello
d020a19bd2 Add a simple cache mechanism to ft::Face (at the moment without cache) 2016-03-10 17:10:17 -03:00
David Capello
dfa6bcd16b Add a basic TrueType font impl to she library using FreeType library 2016-03-10 15:49:13 -03:00
David Capello
d33a2adb64 Add ft library (a freetype wrapper) 2016-03-10 11:21:03 -03:00
David Capello
64111bf991 Merge branch 'remove-locked-surface' into freetype-font
# Conflicts:
#	src/she/common/generic_surface.h
2016-03-09 12:31:42 -03:00
David Capello
0abe01c5f4 Merge she::LockedSurface/NonDisposableSurface with she::Surface 2016-03-09 11:00:17 -03:00
David Capello
0f60ca2e93 Fix #include in she/common/locked_surface.h 2016-03-08 18:41:02 -03:00
David Capello
d49d37302c Rename she::System::loadBitmapFont -> loadSpriteSheetFont 2016-03-07 17:48:35 -03:00
David Capello
97f1d0f895 Rename she::CommonFont to SpriteSheetFont 2016-03-07 17:39:02 -03:00
Gabriel Rauter
b64ba236d3 she/gtk: make use of aseprite thumbnail-generator
use the aseprite thumbnail generator for file preview
2016-03-07 18:59:15 +01:00
David Capello
a4159c0ddb Add educational license option 2016-03-07 11:46:46 -03:00
Gabriel Rauter
29eaaea1fd she/gtk: add a simple image preview
This adds a simple image preview for image formats supported by
Gdk::Pixbuf.
2016-03-07 15:46:08 +01:00
David Capello
f391be6824 Cache name and path in RecentFileItem
This is to avoid calling base.:get_file_name/path()
on each onPaint/SizeHint()
2016-03-04 17:30:12 -03:00
Gabriel Rauter
745fd180d4 Experimental native gtk3 file dialog
This pull request basicly adds the suport for gtk3 dialogs to she.
it is disabled by default and can be enabled with
cmake ... -DWITH_GTK_FILE_DIALOG_SUPPORT=ON ..
and needs the Experimental option "Use native file dialog"
enabled in aseprite enabled.
It is currently only available on *nix and has a external
dependencie on gtkmm >= 3.16 and glibmm >= 2.45

To have at least backwardcompatibility with ubuntu 15.10
the cmake option -D_WITH_DEPRECATED_GLIB_SUPPORT was added
to make use of a deprecated glibmm method.

Further testing ist need to see how far this backward
compatibility works, as of now ubuntu 12.04 does not seem to work.
But as ubuntu 12.04 will reach its end of support this summer and
ubuntu 15.04 having passed its end of life in february the question
is how far back this support is aimed for. Please enter the commit message for your changes. Lines starting
2016-03-04 21:22:44 +01:00
David Capello
75203037e2 Merge branch 'master' 2016-03-04 15:44:04 -03:00
David Capello
962928a609 Add the possibility to assign a keyboard shortcut to color quantization (#999) 2016-03-04 15:41:32 -03:00
David Capello
ac67cb9e49 Remove unused graphics from skin 2016-03-04 15:09:50 -03:00
David Capello
36eb38a5e7 Merge pull request #997 from Kirozen/patch-1
Add support for MinGW in base/fstream_path.h
2016-03-04 11:36:00 -03:00
Etienne Faisant
c7968d4f2d Update fstream_path.h
Fix build on Windows with MinGW
2016-03-04 15:03:46 +01:00
David Capello
451bf02b82 Remove unused variable from replace_image_colors() 2016-03-03 23:41:46 -03:00
David Capello
1ee3efd91d doc/image_buffer.h needs uint8_t definition 2016-03-03 23:25:49 -03:00
David Capello
51f58fda5f base/24bits.h needs uint8_t definition 2016-03-03 22:43:10 -03:00
David Capello
0a5e108ce1 Include base/ints.h in median_filter.h because it's needed for uint8_t 2016-03-03 22:30:13 -03:00
David Capello
368f64d5dc Include base/ints.h from convolution_matrix_filter.h 2016-03-03 21:22:17 -03:00
David Capello
093c5e1e0e Fix base/buffer.h so we include base/ints.h to define uint8_t 2016-03-03 20:33:53 -03:00
David Capello
458fa98138 Merge branch 'without-have-config-h' 2016-03-03 19:30:32 -03:00
David Capello
03951fd347 Minor change in INSTALL.md to create a link to issue #913 2016-03-03 19:29:54 -03:00
David Capello
d33b8f7064 Set default path (MODP_B64_DIR) to find modp_b64 from base library 2016-03-03 19:28:29 -03:00
David Capello
9784721a67 she/system.h needs gfx::Size 2016-03-03 19:27:43 -03:00
David Capello
a14a81a2c0 Undefine ERROR macro in base/log.h if it's defined 2016-03-03 19:27:09 -03:00
David Capello
260f597cc4 Define PACKAGE/VERSION/UPDATE_URL if they are undefined 2016-03-03 19:26:46 -03:00
David Capello
285deb603e Define _CRT_SECURE_NO_WARNINGS on sub-libraries that need it 2016-03-03 19:22:52 -03:00
David Capello
7b06b74715 Include base/log.h on files that use LOG() macro 2016-03-03 19:21:53 -03:00
David Capello
8c9d9eb84c Replace NULL with nullptr on files that don't include base/base.h 2016-03-03 19:20:57 -03:00
David Capello
9a7ffab5a0 Move stdints to base/ints.h file 2016-03-03 19:20:00 -03:00
David Capello
5f97e66a8b Include base/base.h on files that use MIN/MID/MAX 2016-03-03 19:18:46 -03:00
David Capello
4f6a7a7742 Include base/debug.h on files that use ASSERT or TRACE 2016-03-03 19:17:07 -03:00
David Capello
f9238cd77b Merge branch 'sirblackheart-add-win-key-modifier' 2016-03-02 12:34:06 -03:00
David Capello
645486f435 Add tooltip to "Super" key checkbox in shortcut dialog 2016-03-02 12:33:05 -03:00
David Capello
cb86fb4c8f Rename ui::winKeyName to ui::kWinKeyName 2016-03-02 10:31:39 -03:00
David Capello
321eb36f52 Fix getting lwin/rwin key state on Windows 2016-03-02 10:07:45 -03:00
David Capello
cd8dabb3d2 Merge branch 'add-win-key-modifier' of https://github.com/sirblackheart/aseprite into sirblackheart-add-win-key-modifier 2016-03-02 09:38:06 -03:00
David Capello
cfb9487d7e Merge pull request #994 from sirblackheart/fix-#956-new-onionskin-config-icon
replace onion settings icon fixes #956
2016-03-02 08:53:31 -03:00
Gabriel Rauter
b01a8626f1 replace onion settings icon fixes #956 2016-03-02 12:18:34 +01:00
Gabriel Rauter
cb92b781eb Change Windows Modifier Name to Win for Windows and Super for Linux/BSD 2016-03-01 23:52:36 +01:00
Gabriel Rauter
e22332144a Add Windows Key as possible Modifier in Keyboard Shortcuts on Windows and Linux as a step to fix #796 2016-03-01 20:14:32 +01:00
David Capello
e887328624 Fix check to know if dl library was found 2016-03-01 14:52:41 -03:00
David Capello
a22039cd16 Check dl library existence (fix #990)
As FreeBSD includes dl functions in libc, dl library doesn't exist.
(dlfcn.h header file must exist anyway.)
2016-03-01 09:16:19 -03:00
David Capello
1d7184dd37 Fix problem setting default screen scaling factor on non-Windows platforms 2016-02-29 22:21:59 -03:00
David Capello
78da4a40a1 Avoid warning on Graphics::drawUIString() 2016-02-29 22:21:21 -03:00