Commit Graph

184 Commits

Author SHA1 Message Date
David Capello
08bef859e3 Add user data field on layers and cels 2015-12-10 18:34:25 -03:00
David Capello
5dc149d308 Add "Select > Modify" commands to expand/contract/border the selection 2015-12-04 17:46:32 -03:00
David Capello
fb387cb6c2 Add options to export layers and frameTags meta JSON data from the UI 2015-12-03 12:42:33 -03:00
David Capello
4dbee12789 Add possibility to import/export sprite sheet matrices by columns
Fix #872
2015-12-03 11:38:59 -03:00
David Capello
3b0bf6daaa Add anti-aliasing checkbox in "Edit > Insert Text" option 2015-12-01 15:46:21 -03:00
David Capello
771a7ba467 Add search field in keyboard shortcuts dialog (fix #849)
Changes:
* Added "icon_search" part in the skin
* Added app::SearchEntry widget
* Fixed Separator widget to handle a custom background color, because
  now we use Separators inside a ListBox too
* Added Entry::(on)getEntryTextBounds() to specify a customized area
  to show text (as SearchEntry needs space for search and close icons)
2015-11-30 15:08:18 -03:00
David Capello
12ccaf883d Add "px" suffix to New Sprite and Canvas Size fields (fix #875) 2015-11-24 19:54:10 -03:00
David Capello
9c1a8762ab Add option to export sprite sheets in memory only (without a file, fix #865)
We have converted the label "Save As" into a checkbox in the Export
Sprite Sheet dialog.
2015-11-20 14:49:40 -03:00
David Capello
2eada35a38 Add "Undo History" command (fix #739)
Added member functions to undo::UndoHistory and
app::DocumentUndo to iterate all states of the undo history.
Also we’ve added app::DocumentUndoObserver to see when new states
are added in the undo history.
2015-10-20 11:27:05 -03:00
David Capello
62a16d0525 Improve font selection with keyboard in PasteTextCommand 2015-10-19 15:32:44 -03:00
David Capello
049111bfad Put font size before font family
In this way we can press T, Tab, change the font size, and Enter to try
again quickly with other font size.
2015-10-16 18:40:14 -03:00
David Capello
9f8200ea3e Add list of system fonts in PasteTextCommand dialog (on Windows) 2015-10-15 18:16:16 -03:00
David Capello
03c0367827 Add option to disable GPU acceleration 2015-10-05 21:18:42 -03:00
David Capello
0e07a01a9b Add a color picker in the Insert Text dialog 2015-09-23 17:45:07 -03:00
David Capello
1ac39ff85b Add simple "Edit > Insert Text" menu option (related to #28) 2015-09-23 17:38:45 -03:00
David Capello
d55017cd17 Use advanced_mode.xml.h in cmd_advanced_mode.cpp 2015-09-22 17:27:47 -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
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
ab893eec6e Improve "Color Curve" dialog to be used only with the mouse (fix #278) 2015-08-27 12:27:23 -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
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
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
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
41bb23f1f1 Change opaque/transparent selection by default depending on the layer 2015-07-27 11:43:48 -03:00
David Capello
7f4d4936e1 Re-implement GIF encoder
- Correct usage of disposal methods (and possibility to generate records
  with "restore previous frame" disposal method)
- Create color maps for each frame when necessary
- Remove options to dither RGB images (to simplify encoder)
2015-07-22 16:40:44 -03:00
David Capello
cee355ee61 Fix minor layout issues in the Preferences dialog 2015-07-18 13:29:23 -03:00
David Capello
e9308c2d35 Add alpha channel in quantization (related to #286) 2015-07-02 11:18:43 -03:00
David Capello
78918c0df8 Improve ColorQuantization UI to select the # of colors for the new palette 2015-06-30 15:25:23 -03:00
David Capello
a12816c04e Add command to change the palette size manually with a number 2015-06-30 12:21:41 -03:00
David Capello
e98e2fe3e1 Use the generated widget from sprite_properties.xml in SpritePropertiesCommand 2015-06-22 11:20:10 -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
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
fb4b2e76c8 Add layer opacity property (fix #225) 2015-06-14 20:23:49 -03:00
David Capello
21ca87862c Add layer blending modes (fix #318)
- Added doc::BlendMode enum and doc::BlendFunc type
- Renamed LayerImage::getBlendMode() -> blendMode()
- BLEND_MODE_COPY is BlendMode::SRC now
- BLEND_MODE_NORMAL is BlendMode::NORMAL now
- Added app::cmd::SetLayerBlendMode
2015-06-13 21:29:16 -03:00
David Capello
0a1dfe0633 Merge branch 'onionskin'
Conflicts:
	src/app/ui/editor/play_state.cpp
	src/render/render.cpp
	third_party/gtest
2015-06-05 15:53:15 -03:00
David Capello
e0fea708f8 Add option to resize the final output of "Save Copy As" command (fix #685) 2015-06-03 16:34:27 -03:00
David Capello
c6f2c48d66 Move the "new folder dialog" to its own xml to automatically generate its widget 2015-06-03 12:21:14 -03:00
David Capello
726013e0bd Use generated widget in app::FileSelector from file_selector.xml 2015-06-03 12:21:12 -03:00
David Capello
89f96926a4 Ask to overwrite files in Export Sprite Sheet command (fix #689) 2015-06-02 18:41:22 -03:00
David Capello
9723d1b6ec Now the file type combobox in FileSelector acts like a filter (fix #643) 2015-05-28 18:59:12 -03:00