Commit Graph

535 Commits

Author SHA1 Message Date
David Capello
47530bdbe6 Add color_slider_height dimension in skin.xml 2015-09-21 11:53:39 -03:00
David Capello
c37c790b47 Add "Open Folder" button in Preferences > Theme section 2015-09-18 12:39:46 -03:00
David Capello
df629db6c6 Add "Theme" section in Preferences 2015-09-18 12:23:02 -03:00
David Capello
3abea9c4b3 Use Preferences class to store the active theme 2015-09-18 11:56:45 -03:00
David Capello
9772f99303 Add scroll bars to Timeline widget (fix #732)
Changes:
- Added ui::ScrollableViewDelegate so ui::ScrollBar can be child of
  a non-ui::View widget.
- Added a generic ui::setup_scrollbars() utility to locate
  horizontal/vertical scrollbars depending on the scrollable area and
  the available viewport area.
- Replaced Timeline::m_scroll_x/y ints with m_hbar/m_vbar widgets.
- Added transparent scrollbar look & feel.
- Added a "hover" state to mini-scrollbars used in sprite editors.
2015-09-17 15:19:47 -03:00
David Capello
4ff5f79035 Merge branch 'master' 2015-09-17 10:37:21 -03:00
David Capello
8aefa24a5b Add key modifier to draw straight lines from the last point (fix #562)
- Removed ToolLoop::screenToSprite(), now ToolLoopManager::Pointer has
  sprite coordinates (instead of screen coordinates)
2015-09-16 12:19:10 -03:00
David Capello
dc6161a66a Add mini_scrollbar_size dimension in skin.xml 2015-09-16 11:10:30 -03:00
David Capello
6bfae49eb0 Merge branch 'webp-support' 2015-09-02 11:11:45 -03:00
Gabriel Rauter
c2a58dd46f fix type conversion warn. & remove problem preset
fix type conversions by putting WebPOptions Class in a seperate file like
GifOptions and use Getter and Setter for better handling. In cases
needed explicit casting was used to supress those warings.

Additionaly the LAST WebPHint Option was removed as it does not work for
this situation.
2015-09-02 14:52:07 +02:00
Gabriel Rauter
5ae9b9a6ef correct copyright line 2015-09-01 23:11:50 +02:00
Gabriel Rauter
497fc3ed3a implement simple non animation webp for #273
This includes lossless and lossy webp file format. For this reason a
save option dialog was added giving rudimentary options for saving to
the user.
2015-09-01 13:05:24 +02:00
David Capello
20832dee93 Update version to 1.1.1-dev 2015-08-31 13:27:40 -03:00
David Capello
5c371285ab Improve FilterTargetButtons UI style using a ButtonSet
Related to #786
2015-08-28 14:37:00 -03:00
David Capello
47a5b38ada Hide "Edit > Scripts" menu because scripts destroy undo history at this moment 2015-08-27 13:41:03 -03:00
David Capello
f8f1aba806 Merge branch 'scripting' 2015-08-27 12:41:37 -03:00
David Capello
890931f270 Add RunScript command with Edit > Scripts menu 2015-08-27 12:40:20 -03:00
David Capello
ab893eec6e Improve "Color Curve" dialog to be used only with the mouse (fix #278) 2015-08-27 12:27:23 -03:00
David Capello
f3ac563e33 Add shading ink (fix #85) 2015-08-26 16:48:01 -03:00
David Capello
65baa8d943 Move OK/Cancel buttons at the bottom in Keyboard Shortcuts dialog
Issue #777
2015-08-25 17:15:14 -03:00
David Capello
19951c6dd5 New Keyboard Shortcuts dialog layout (fix #777) 2015-08-25 13:59:15 -03:00
David Capello
f71a0e2cc4 Fix Ctrl+ and Ctrl- to zoon in/out 2015-08-25 13:24:20 -03:00
David Capello
4b064333cc Add color harmonies in the ColorWheel widget (issue #707) 2015-08-21 13:27:58 -03:00
David Capello
b0877df0cb Show current color indicator in the color wheel 2015-08-21 12:34:06 -03:00
David Capello
dc9ee103f0 Make CelProperties dialog non-modal 2015-08-21 08:35:29 -03:00
David Capello
728432f9e5 Convert "Layer Properties" dialog in a non-modal window 2015-08-21 00:44:28 -03:00
David Capello
ff9693b29d Add support to export all/selected/one layer/frame/frame tag
This commit includes support to export tagged frames using the command
line --frame-tag option.

Fix #415, fix #570, fix #607, fix #745
2015-08-20 22:30:33 -03:00
David Capello
dd6c028477 Add handle to resize the palette (fix #754) 2015-08-20 12:08:08 -03:00
David Capello
2b4c531e8e Add possibility to scroll with right click 2015-08-19 18:00:51 -03:00
David Capello
73c725827e Add "Duplicate Cels" command (fix #746) 2015-08-19 15:59:30 -03:00
David Capello
e35f85bff7 Add "Edit > New Sprite from Selection" command 2015-08-14 15:23:56 -03:00
David Capello
ab9d2da762 Fix shortcuts for Edit > Rotate menus 2015-08-14 11:00:19 -03:00
David Capello
75a743f141 Separate pivot visibility and location options 2015-08-14 10:09:15 -03:00
David Capello
32bf3314e6 Add a new simple/default ink
This ink behaves as alpha compositing but doesn't use the opacity slider
(opacity is used from current color's alpha channel). Also, in case that
we pick the mask color, it behaves as the eraser tool.
2015-08-13 13:26:52 -03:00
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
bb8c238423 Move scrollbar size to skin.xml 2015-08-12 16:56:19 -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
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
6d532e56c5 Set RGBA has the default color mode for new sprites 2015-08-11 13:38:51 -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
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
bf54fd26d3 Add option to put the onion skin behind the sprite
Fix #526 and fix #412
2015-07-31 15:55:06 -03:00
David Capello
80b47419fd Add an option to onionskin the current layer only (related to #526) 2015-07-31 14:30:11 -03:00
David Capello
7cfdf76b0e Add rotation pivot options in context bar (fix #370)
With these options we can configure to show the pivot and the default
location when we select a sprite area.
2015-07-29 16:35:34 -03:00
David Capello
41bb23f1f1 Change opaque/transparent selection by default depending on the layer 2015-07-27 11:43:48 -03:00
David Capello
bc29cd4bc5 Set alpha compositing as default
And "replace pixel" and "set alpha" were merged into "copy color" ink.
2015-07-27 11:24:00 -03:00