Commit Graph

3550 Commits

Author SHA1 Message Date
David Capello
710e640174 Fix preview of transformations (PixelsMovement) 2015-06-25 14:54:06 -03:00
David Capello
f571e4ceb2 Add BrushPreview class to wrap all code related to brush preview/editor cursor 2015-06-25 12:44:47 -03:00
David Capello
ac82dcdd49 Fix several brush preview problems in Indexed images when fg color = transparent color
Now we don't need to change the extral cel mask color because we use
the new render::ExtraType::PATCH extra cel type.
2015-06-24 16:08:21 -03:00
David Capello
e0d1f77b0f Fix problem with brush preview on layers with opacity < 255 2015-06-24 15:14:11 -03:00
David Capello
b12e6c3398 Add ui::MenuSeparator widget 2015-06-24 13:14:41 -03:00
David Capello
e4df25f4df Merge ui::Widget::m_align with m_flags field
Here we remove Widget::setFlags() member function, as it's not used.
2015-06-24 12:06:33 -03:00
David Capello
e6d22e7e38 Reimplement Box resize algorithm 2015-06-23 22:46:05 -03:00
David Capello
a2538628c7 Convert ui::Widget::border_width/child_spacing to private fields 2015-06-23 19:20:49 -03:00
David Capello
1922a27b38 Make ui::Widget::flags field private 2015-06-23 16:07:41 -03:00
David Capello
7f2cd3b6a9 Rename ui::Widget::min/max_w/h fields to m_min/maxSize and make them private 2015-06-23 15:13:42 -03:00
David Capello
80a62f8ed5 Include config.h in ui/event.cpp 2015-06-23 14:40:54 -03:00
David Capello
325e9245bf Rename ui::Widget::type -> m_type and make it private 2015-06-23 14:37:22 -03:00
David Capello
0517cd1b98 Remove _ji_ prefix in some ui-lib functions 2015-06-23 14:14:06 -03:00
David Capello
f01b816fb5 Remove JI_ prefix from ui/base.h constants 2015-06-23 14:00:00 -03:00
David Capello
66330dc39a Remove unused libart library source code 2015-06-23 12:45:05 -03:00
David Capello
150afe4305 Merge branch 'mouse-callback' 2015-06-23 12:39:45 -03:00
David Capello
4bc8944e94 Minor format change 2015-06-23 11:32:18 -03:00
David Capello
b02a3bf955 Fix compilation warning about implicit int -> bool conversion 2015-06-23 11:32:15 -03:00
David Capello
c00f1e39c4 Fix compilation error on VS2013
As mouse_z is "volatile int", it looks like MSC cannot deduce the a
proper ctor for Point() (i.e. Point(const int&, const int&))
2015-06-23 11:32:11 -03:00
David Capello
a15dfb58bf Merge branch 'master' of https://github.com/farnold/aseprite into mouse-callback 2015-06-23 11:31:41 -03:00
David Capello
ffb6396acd Remove unused m_doc member from SaveAsCopyDelegate 2015-06-23 11:30:30 -03:00
David Capello
8abc486c85 Use doc:: namespace to access Rgb/IndexedTraits in render::OrderedDither 2015-06-23 11:27:05 -03:00
David Capello
c12a546c10 Remove unused variable in doc::Palette::resize() 2015-06-23 11:25:19 -03:00
David Capello
6a829727b7 Fix initialization order of LayerImage members 2015-06-23 11:25:00 -03:00
David Capello
7a6c9c3dde Fix clang compilation error in rotate.cpp 2015-06-23 11:24:10 -03:00
David Capello
b9e7e1b373 Replace std::array with a raw C array
The clang version we're using don't support this feature (from OS X 10.7)
2015-06-23 11:23:05 -03:00
David Capello
5d6bdf5462 Fix crash pressing keys when the program is closing 2015-06-23 09:50:04 -03:00
David Capello
70ea54aa20 Re-implement ordered dither in render library 2015-06-22 20:58:33 -03:00
David Capello
ae0bf75965 Fix creation of optimized palettes from RGB images
It's working again, now we create palettes with 256 colors (or less)
for RGB images.
2015-06-22 19:40:28 -03:00
David Capello
e283e0d00e Update Credits section in README.md
We have removed GIMP code in 826aafe2a4
2015-06-22 11:32:43 -03:00
David Capello
e98e2fe3e1 Use the generated widget from sprite_properties.xml in SpritePropertiesCommand 2015-06-22 11:20:10 -03:00
Fabio Arnold
43bfcda12e using mouse callback for more fine grained button press detection 2015-06-21 15:59:37 +02:00
David Capello
430b0ca637 Improve image_scale2x_tpl() performance with iterators for dst image 2015-06-20 02:23:41 -03:00
David Capello
77fefa8ec0 Reduce memory usage for RotSprite algorithm (fix #691) 2015-06-20 01:59:15 -03:00
David Capello
5b17f44526 Add basic scripting support to eval expression in --shell and DevConsole 2015-06-19 20:01:30 -03:00
David Capello
699d60b03f Change scripting engine from V8 to duktape 2015-06-19 13:06:47 -03:00
David Capello
401dd5362b Add option to change the "Stop" button behavior (fix #705) 2015-06-19 12:09:34 -03:00
David Capello
b70be3ccd4 Fix performance issues hiding/drawing brush preview w/certain quicktools
This fix a performance problem using the eyedropper (Alt modifier) when
the current tool uses a brush with huge boundaries (e.g. Eraser with
a 64px brush).
2015-06-19 09:45:58 -03:00
David Capello
cb6c7283f4 Change paste behavior to add more colors in the palette 2015-06-18 16:54:20 -03:00
David Capello
07f42d620d Change cut/clear behavior to remove palette entries 2015-06-18 16:20:42 -03:00
David Capello
f19e1dc477 Add ability to drop colors outside the palette range
Like in the timeline, now we can drop colors out of the palette bounds
to create more entries.
2015-06-18 15:50:00 -03:00
David Capello
a0de785843 Change timeline_drop_layer/frame_deco style 2015-06-18 15:39:26 -03:00
David Capello
89e0392daa Add support for palettes with more less (and more) than 256 colors (fix #668)
With this commit we've removed doc::Palette::MaxColors constant.
2015-06-18 12:50:33 -03:00
David Capello
312e3f9da0 Remove unused doc::Palette::make*Ramp() member functions 2015-06-17 17:02:43 -03:00
David Capello
1c84471e24 Add minor comments in tabs.cpp 2015-06-17 16:44:28 -03:00
David Capello
53bd21fc19 Fix animation for the first tab added in a recently created Tabs widget 2015-06-17 16:44:00 -03:00
David Capello
90f988d928 Add option to ignore grid limits in paint bucket or magic wand tools (fix 564) 2015-06-17 13:22:46 -03:00
David Capello
3c60136631 Move PI constant to base/pi.h file 2015-06-16 15:04:00 -03:00
David Capello
a11f8e2918 Update contributors link in README.md 2015-06-15 13:05:19 -03:00
David Capello
29c5580c9e Fix minor UI problem in tabs transitions/animations when we close a tab 2015-06-15 12:15:23 -03:00