Commit Graph

5657 Commits

Author SHA1 Message Date
David Capello
7cd92041b3 Draw missing glyphs w/codepoint 128 when using sprite sheet fonts 2017-03-07 13:00:01 -03:00
David Capello
e4577665c3 Remove unused variable 2017-03-07 11:06:58 -03:00
David Capello
46974e3345 Fix compilation on Windows 2017-03-07 09:24:35 -03:00
David Capello
643cad5c97 Add basic implementation of slice tool (#721) to modify theme parts
It still need support to export to .aseprite-data as <slice> XML elements, and animation support.
2017-03-06 19:27:43 -03:00
David Capello
fa1b15a3f5 Fix font_path_*.cpp filename for Unix-like platforms 2017-02-25 01:10:06 -03:00
David Capello
8af1f1c9fa Add missing CMakeLists.txt file for harfbuzz 2017-02-24 19:43:54 -03:00
David Capello
21afd6d8c8 Merge branches 2017-02-24 19:13:13 -03:00
David Capello
a730912d90 Add matriax8c palette by Davit Masia 2017-02-24 19:10:35 -03:00
David Capello
867ab891bf Add way to mix spritesheet+truetype fonts 2017-02-24 17:56:57 -03:00
David Capello
776566463b Merge branch 'harfbuzz' into new-theme 2017-02-21 18:07:11 -03:00
David Capello
5d7b62e652 Fix ui::Entry to handle composed Unicode chars correctly 2017-02-21 18:05:23 -03:00
David Capello
f08757d9d2 Remove ui::Widget::textLength() member function 2017-02-21 10:48:25 -03:00
David Capello
c0ae4a5d18 Cache HarfBuzz font in HBFace 2017-02-20 17:46:46 -03:00
David Capello
24faae2ca5 Use HarfBuzz to render combining characters correctly 2017-02-20 17:14:41 -03:00
David Capello
44feaf6676 Move ft::ForEachGlyph to ft/algorithm.h 2017-02-20 09:34:07 -03:00
David Capello
84c4d1af93 Fix view borders 2017-02-17 18:26:08 -03:00
David Capello
921c5c8ad1 Move ui::Separator drawing code to new styles 2017-02-17 18:23:21 -03:00
David Capello
86f138a714 Move ui::Splitter painting code to new styles 2017-02-17 16:17:00 -03:00
David Capello
cc20f0a21e Remove Theme::paintDesktop() 2017-02-17 14:37:58 -03:00
David Capello
fad236ad22 Fix editor view background/scrollbar union 2017-02-17 14:23:01 -03:00
David Capello
a62f12ad09 Move all code to draw windows to ui-lib w/new styles 2017-02-17 14:18:47 -03:00
David Capello
2883a70e25 Fix Close button on About dialog 2017-02-17 13:59:17 -03:00
David Capello
7163673cba Fix keep_selection_after_clear tooltip in Preferences dialog 2017-02-17 13:45:36 -03:00
David Capello
235011e169 Add "const" to several Theme and Widget function members 2017-02-15 16:44:50 -03:00
David Capello
7cb41729ab Convert label and view into new styles
In this way the WidgetLoader looks for new styles only.
2017-02-14 14:55:45 -03:00
David Capello
17151cddcd Move mnemonic key as a property of ui::Widget
In this was we can process the text string just one time to remove the
character preceded by '&' that will be finally acts as a mnemonic. This
simplifies the rendering and text measure code too.
2017-02-14 14:16:37 -03:00
David Capello
bb4faca1d1 New Style class in "ui" layer to paint widgets (only button at this moment)
This new ui::Style should finally replace the old app::skin::SkinStyle
class. At this moment both implementations are working to avoid an
huge refactor in just one commit.

- Added new ui::Style property in ui::Widget.
- Removed old code to set the button "bevel" (removed
  app::setup_bevels() functions).
- Removed setup_look() function and Left/RightButtonLooks.
- Removed check_button_new() function.
- Removed ui::Theme::paintButton/ComboBoxButton() functions.
2017-02-13 18:34:23 -03:00
David Capello
75020d9405 Simplify window icons in theme definition 2017-02-10 18:38:08 -03:00
David Capello
97809952eb Remove some face colors from theme.xml using the center slide instead 2017-02-10 17:49:37 -03:00
David Capello
f7903a74de Add ui::Theme::drawSlices() member function 2017-02-09 17:01:43 -03:00
David Capello
e6fd892a40 Change themes folder from "data/skins" to "data/themes" 2017-02-09 13:18:44 -03:00
David Capello
7e6fc5a815 Move drawTextBox() function inside Theme class 2017-02-08 15:00:07 -03:00
David Capello
6c9c0066a0 Replace ui::CurrentTheme with ui::set/get_theme() 2017-02-08 14:50:58 -03:00
David Capello
d9817b888c Fix Move tool w/auto select when a range is selected in the Timeline 2017-02-08 00:28:46 -03:00
David Capello
7c57ec40fc Merge branches 2017-02-07 19:09:36 -03:00
David Capello
9016d8635b Fix problems on ui::Entry() with TrueType fonts
Fixed several problems drawing and selecting text with TrueType fonts.
2017-02-07 19:05:47 -03:00
David Capello
a4065d07ef Update information about compressed data in .ase file format specs 2017-02-07 19:00:48 -03:00
David Capello
b2762a7468 Update laf submodule 2017-02-07 11:03:45 -03:00
David Capello
47f3d540b7 Fix drawing UI text with TrueType fonts (related to #124) 2017-02-06 17:58:55 -03:00
David Capello
2edd582e4d Add link in README to onion skinning docs 2017-02-04 08:00:26 -03:00
David Capello
5e711690bf Fix crash with certain reference layers 2017-02-03 15:35:44 -03:00
David Capello
69b35b246b Add mail24 palette (contributed by https://twitter.com/Hyohnoo) 2017-02-03 10:06:41 -03:00
David Capello
d5b09d55b9 Remove pixly format (close #1402) 2017-02-02 16:59:05 -03:00
David Capello
8abd401a04 Add a checkbox to expand thumbnails options in Timeline popup 2017-02-01 13:47:16 -03:00
David Capello
2bac4d0313 Fix problem playing animation in the current editor and the preview window 2017-01-31 10:49:59 -03:00
David Capello
11187a8d4f Enable "Remove Layer" command if the layer is locked or hidden anyway 2017-01-31 10:20:45 -03:00
David Capello
f381cb972c Improve filters preview performance (fix #1400)
Now several filter steps are applied in a background thread and a UI
timer refresh several rows in screen at the same time (instead of one
row per time). (This is something in my personal to-do list from long
time ago too.)
2017-01-31 09:59:09 -03:00
David Capello
fbb0cdcbe2 Fix resetting default grid preferences (fix #1380) 2017-01-30 19:07:11 -03:00
David Capello
dd381131c7 Merge branch 'i18n' into master 2017-01-30 16:27:54 -03:00
David Capello
79f82cfbee Merge branch 'beta' into master
The next official release will be v1.2.
2017-01-30 16:02:21 -03:00