David Capello
f4d82ad2c0
Add "Link Cels" command in Timeline popup
...
From a comment in issue #746
2015-08-13 09:59:44 -03:00
David Capello
8ca323492e
Don't show warning icon for Mask color
2015-08-12 19:12:10 -03:00
David Capello
72d6aebbda
Show transparent color in indexed transparent layers as the mask color
2015-08-12 19:11:59 -03:00
David Capello
b75b9a6f1b
Don't redraw brush preview area in other editors if they aren't in the current frame
2015-08-12 17:32:17 -03:00
David Capello
1b930d4d42
Draw document's extra cel (brush preview) in the current frame only
2015-08-12 17:24:48 -03:00
David Capello
436866c128
Fix ColorSliders preferred size when guiscale() > 1
2015-08-12 17:09:15 -03:00
David Capello
bb8c238423
Move scrollbar size to skin.xml
2015-08-12 16:56:19 -03:00
David Capello
d323b4affc
Remove public variable members from ui::Theme class
2015-08-12 16:48:40 -03:00
David Capello
77d8024026
Fix bug with save/load progress bar: cannot be edited now
...
The ui::Alert slider to show progress is read-only now.
2015-08-12 16:10:20 -03:00
David Capello
a24864b2c8
Fix bug clearing the first image in a new Indexed sprite
...
The color/index was being searched in the current palette (of the
unrelated current sprite) instead of the sprite default palette.
2015-08-12 15:40:44 -03:00
David Capello
4302d12cb4
Move "New Sprite" preferences from raw get/set_config_*() to pref.xml
2015-08-12 15:35:46 -03:00
David Capello
2eb757995d
Catch exception if we cannot change the selection transparent color
...
We have a memory crash dump where wasn't possible to change the
selection transparent color because the data recovery thread was creating
the sprite backup.
2015-08-12 15:26:49 -03:00
David Capello
847fc58a01
Fix UI problem navigating FileSelector using autocomplete and keyboard
...
With this fix, when the list of possible completions for a filename
is regenerated, we deselect the previously selected item. So the new
list appears without any item selected by default.
2015-08-12 15:17:53 -03:00
David Capello
c9ed7bf868
Fix brush boundaries glitches in extreme cases
...
We this commit we don't share saved pixels information between
different BrushPreview instances.
If we pressed E key to swich to the eraser tool, and kept it pressed,
moving the mouse cursor over different editors produced invalid restored
pixels.
2015-08-12 15:07:32 -03:00
David Capello
4c54c62644
Fix internal rows' focused style in a ButtonSet
2015-08-12 14:37:58 -03:00
David Capello
61879652cf
Use Allegro callbacks to generate key up/down events
2015-08-12 13:33:04 -03:00
David Capello
6b9c4c53ae
Add icons in "New Sprite" dialog
...
Some changes needed to do this:
* Added support to show icon+text in ButtonSet items
* Added an extra parameter in Graphics::drawUIString() to avoid drawing
the underscore
* Fixed expansion of ButtonSet items when the grid is resized
* Added support for Alt+mnemonic shortcuts in ButtonSet items
2015-08-12 12:38:07 -03:00
David Capello
48c6228df0
Generate thumbnails on RGB images
2015-08-12 10:18:34 -03:00
David Capello
72015c092a
Add logic to displace points in PointByPointController
...
In this change we've added a new MoveOrirginCapability class to share
the Space bar logic to move all points in several controllers
(TwoPointsController, PointByPointController, and FourPointsController).
Related to #741
2015-08-12 10:15:39 -03:00
David Capello
045f11bf68
Add support to scroll points in FourPointsController with spacebar
...
Related to #741
2015-08-11 20:35:19 -03:00
David Capello
7342030555
Add support to move origin of TwoPointsController using spacebar ( fix #741 )
2015-08-11 20:29:13 -03:00
David Capello
f5f5975886
Show brush boundaries when alpha = 0 in pixel formats != Indexed
2015-08-11 20:02:11 -03:00
David Capello
45219abfec
Fix brush preview in transparent layers
...
This bug was introduced bf54fd26d3f44828e044626e8ca2431899446f38
2015-08-11 19:58:39 -03:00
David Capello
5f159f14a7
Remove mini style from opacity slider in Cel Properties dialog
2015-08-11 13:57:59 -03:00
David Capello
6d532e56c5
Set RGBA has the default color mode for new sprites
2015-08-11 13:38:51 -03:00
David Capello
9d4c5aaea3
Add tooltips to AniControls
2015-08-11 13:23:48 -03:00
David Capello
74638cdc6d
Fix "Stop at Grid" for floodfill like tools when grid origin is > (0,0)
2015-08-11 13:08:51 -03:00
David Capello
a4e5d47ed4
Make grid visible in SelectionAsGrid command
2015-08-11 12:49:42 -03:00
David Capello
0ec21a461a
Fix asserts in Palette::makeGradient()
2015-08-11 12:43:29 -03:00
David Capello
8a3434586e
Set default brush size for eraser/blur/jumble to 8px
2015-08-11 12:41:56 -03:00
David Capello
9d84089b0c
Move "UI Elements Scaling" option from Experimental tab to General
2015-08-10 18:56:36 -03:00
David Capello
a34931db3d
Remove ConfigureTools command
...
These options were replaced with commands in "View" menu.
2015-08-10 18:52:29 -03:00
David Capello
d796c88f6f
Add TiledMode command and "View > Tiled Mode" submenu
2015-08-10 18:44:25 -03:00
David Capello
c159a3c4b5
Add SelectionAsGrid command
2015-08-10 18:27:53 -03:00
David Capello
3dff25246b
Enable square aspect if Shift modifier is pressed when we start a TwoPointsController
2015-08-10 17:48:40 -03:00
David Capello
b9e362ac5c
Add immediate feedback when Ctrl/Shift modifiers are pressed in TwoPointsController
2015-08-10 12:54:50 -03:00
David Capello
c0ce7e8cad
Use the original colormap in gif decoder for files w/the same local colormap for every frame
2015-08-10 12:40:39 -03:00
David Capello
892d36f93c
Add support to copy/paste cels in the same sprite
2015-08-07 18:27:48 -03:00
David Capello
a73d0cf846
Preserve linked cels between documents when Copy/Paste is used in the Timeline
...
Fix #734
2015-08-07 17:09:03 -03:00
David Capello
55477ce0d5
Add some asserts in DocumentApi::move/copy/swapCel() member functions
2015-08-07 16:25:57 -03:00
David Capello
e76d25283a
Remove unused variable in ContextBar::BrushTypeField class
2015-08-06 17:37:16 -03:00
David Capello
14601dd94f
Fix crash double-clicking a file on MacOS X Finder
2015-08-06 17:36:41 -03:00
David Capello
70db3da8be
Include <climits> file to use INT_MAX
...
Note: As a future refactor, replace INT_MAX in all files
with std::numeric_limits<> template.
2015-08-06 13:14:19 -03:00
David Capello
b0a42ed4f1
Make color sliders style smaller
2015-08-06 11:23:39 -03:00
David Capello
da8eff0ec2
Add a basic RGB color wheel (related to #707 )
2015-08-06 11:23:16 -03:00
David Capello
d9af752e9d
Make pin icon bigger in PopupWindowPin
2015-08-05 12:37:04 -03:00
David Capello
05ed1b8950
Reduce waiting time in PixelsMovement to lock the sprite
2015-08-05 11:39:46 -03:00
David Capello
6a47100731
Fix target buttons in replace color command ( fix #125 )
2015-08-05 10:59:54 -03:00
David Capello
a86a5da38d
Keep last used sprite sheet preferences for future documents ( fix #736 )
2015-08-05 10:20:28 -03:00
David Capello
721c8a0a4a
Add support to copy cel in next frame for several layers ( fix #735 )
2015-08-05 09:40:11 -03:00