Commit Graph

5464 Commits

Author SHA1 Message Date
David Capello
add0c81260 Add guides/slices options in preference dialog
Also moved guide/slice colors to global preferences (instead of pref per document).
2017-03-25 01:01:59 -03:00
David Capello
fb64d5406a Add some colors for cel edges/guides in doc pref 2017-03-23 20:23:25 -03:00
David Capello
37748c3783 Add automatic cel guides when Ctrl/Cmd is pressed 2017-03-23 00:57:21 -03:00
David Capello
dfcfab3bb3 New license for default font and theme
In this way it's easier to create derivated themes.
2017-03-22 23:54:33 -03:00
David Capello
abb31c1189 Remove unused file from default theme 2017-03-22 23:53:01 -03:00
David Capello
60970b8eae Remove unused code from ui::Button
Removed IButtonIcon interface and Button::m_drawType field.
2017-03-17 16:13:47 -03:00
David Capello
bc01f16a4e Move painting code for checkbox & radio button to theme styles 2017-03-17 15:43:42 -03:00
David Capello
b5e7ed2836 Show close button on ColorPopup
Fix regression introduced in 52375f3aa9
2017-03-17 09:13:51 -03:00
David Capello
618f2eeb44 Fix color bar view scrollbars style 2017-03-17 01:58:44 -03:00
David Capello
2d6279163b Configure FreeType fonts for Ubuntu port 2017-03-16 14:32:28 -03:00
David Capello
f01e5ad5f3 Add Move Slice tool 2017-03-16 12:08:56 -03:00
David Capello
347ccfbb78 Add --list-slices CLI option 2017-03-16 10:35:26 -03:00
David Capello
9f76136876 Use std::string instead of char* in several places
This is useful to avoid creation of std::strings from const char* several times when it's not really needed.
2017-03-15 23:59:19 -03:00
David Capello
23043b5bce Update laf version 2017-03-15 23:40:17 -03:00
David Capello
4d04b3f391 Remove travis build with shared libraries 2017-03-15 16:53:52 -03:00
David Capello
08ebdf8015 Don't use FT_INTERNAL_*_H macros
They work only when FT2_BUILD_LIBRARY is defined and not when we use the shared freetype version.
2017-03-15 16:19:56 -03:00
David Capello
1c47928ad5 Fix infinite recursion on get_font_dirs() 2017-03-15 15:55:01 -03:00
David Capello
e6f0e70034 Fix linking on gcc/Linux: harfbuzz depends on freetype 2017-03-15 15:47:48 -03:00
David Capello
2638440a8c std::queue<> doesn't have push_back() 2017-03-15 15:46:18 -03:00
David Capello
a8c33ecb26 Update laf library 2017-03-15 15:14:00 -03:00
David Capello
70f1df4d6b Avoid def variables that aren't used NDEBUG 2017-03-15 15:13:50 -03:00
David Capello
bf6a61e484 Include <cstring> needed by gcc to use strcmp() 2017-03-15 15:13:23 -03:00
David Capello
9585d75794 Include <limits> needed by gcc 2017-03-15 15:13:08 -03:00
David Capello
b6cf0f218c Add search field on Font Popup
Added support to set child visibility property to ListBox items.
2017-03-15 14:24:42 -03:00
David Capello
76485d1e8a Add more font extensions 2017-03-15 11:41:10 -03:00
David Capello
71653fcda8 Remove temporary TRACE() calls 2017-03-14 19:03:10 -03:00
David Capello
f7cf65b245 Move <cursors> to <parts> on theme.xml
For this the "pivot" property was added to doc::SliceKeys.
2017-03-14 19:00:24 -03:00
David Capello
c08f7705f3 Merge branch 'cmark' of https://github.com/winterheart/aseprite into winterheart-cmark 2017-03-14 08:55:34 -03:00
David Capello
66839529b3 Move <tools> to <parts> in theme.xml 2017-03-13 22:55:52 -03:00
David Capello
bc4f8ad3e1 Rename newStyles -> styles 2017-03-13 22:31:57 -03:00
David Capello
ffe2b07d0e Fix check_cxx_source_compiles -> check_c_source_compiles 2017-03-13 18:43:06 -03:00
David Capello
2e7dee0787 Add support for multithread harfbuzz with gcc 2017-03-13 18:35:29 -03:00
David Capello
1729e0e658 Merge branch 'new-theme-impl' 2017-03-13 18:19:11 -03:00
David Capello
87f715ee6b Remove css library
The css library was used for the old skin::Style property/painting code.
2017-03-13 18:17:00 -03:00
David Capello
be3c9c1bcc Convert timeline widget to new styles
And remove the old skin::Style.
2017-03-13 18:13:38 -03:00
David Capello
e2311392b8 Convert flag and warning_box to new styles 2017-03-13 14:14:29 -03:00
David Capello
ca2aae6349 Convert tabs painting code to new styles 2017-03-13 13:47:37 -03:00
David Capello
aabdb11779 Change scrollbar to new theme styles 2017-03-10 22:42:15 -03:00
David Capello
36ee5a39c8 Convert news items to new theme styles 2017-03-10 19:23:43 -03:00
David Capello
4b60806556 Fix mouse over state over recent file item & news item at the same time 2017-03-10 18:51:20 -03:00
David Capello
a4fb1ff34e Ignore .DS_Store files 2017-03-10 18:50:48 -03:00
David Capello
83874a4dd9 Fix size hint for recent list of files on home tab w/unicode filenames 2017-03-09 17:49:32 -03:00
David Capello
52375f3aa9 Fix clicking "Index" and "RGB" button on color selector
To avoid adding the m_titleLabel to the ColorPopup/PopupWindowPin().
2017-03-09 16:57:56 -03:00
David Capello
62db0c73a3 Fix clicking on a user data popup widgets
The textbox used in the tooltip was getting all clicks from the user. So on the user data popup we have to 1) don't set the title bar text, 2) if the title bar is not set the text box is hidden so will not eat all click messages.
2017-03-09 16:15:39 -03:00
David Capello
e2a94b094a Fix bug drawing box/grids bgcolor on tooltip windows 2017-03-09 15:12:39 -03:00
David Capello
3b2e76e745 Fix user data labels 2017-03-09 12:18:57 -03:00
David Capello
7ab2d114b7 Don't use Unicode chars on status bar to show colors
This avoid loading an Unicode font to show just the alpha letter.
2017-03-09 12:04:16 -03:00
David Capello
81bcc07457 Fix canvas size button set item borders
We must not activate HAS_TEXT flag on widgets without text on XML files processing the mnemonic character.
2017-03-09 12:00:32 -03:00
David Capello
4eab4cc6b6 Rename log prefix SKIN -> THEME 2017-03-08 19:25:03 -03:00
David Capello
0742dfad17 Fix some errors showing '&' char for the mnemonic text 2017-03-08 19:15:34 -03:00