David Capello
041140f528
Change "imgtype" int type to PixelFormat enumeration.
2012-02-12 23:21:06 -03:00
David Capello
bc32ded8a5
Add Ctrl+Tab and Ctrl+Shift+Tab keys to switch between tabs.
2012-02-12 11:33:06 -03:00
David Capello
ab333ff02b
Remove the ScreenShot command.
2012-02-12 10:55:33 -03:00
David Capello
94f85a2a34
Adjust TODO entries.
2012-02-11 23:00:28 -03:00
David Capello
9fc0309230
Remove unused function image_depth().
2012-02-11 23:00:01 -03:00
David Capello
1345919aaa
Replace image_new* functions with Image:create*() member functions.
2012-02-11 22:57:21 -03:00
David Capello
34eef40876
Disable Editor::flashCurrentLayer() anyway because it needs hardware acceleration for the required effect.
2012-02-11 22:33:07 -03:00
David Capello
fe03919b1d
Fix problems in the Editor::flashCurrentLayer() drawing outside the safe editor area.
2012-02-11 22:32:32 -03:00
David Capello
d5cfddd820
Add better support for Copy and Cut commands when the selection is being dragged.
2012-02-11 21:06:31 -03:00
David Capello
98fabee086
Add compatibility to load the recent list of paths from the recent list of files from old aseprite.ini files.
2012-02-11 19:09:50 -03:00
David Capello
6bcf559b35
Now the recent list of paths can contain 16 paths different from the recent list of files.
...
- Added RecentItems class in base library.
2012-02-11 19:04:52 -03:00
David Capello
9db66ce6b2
Add bounds checking when the user paste the clipboard's image.
...
In this way, the pasted image will be always visible by the user.
2012-02-11 18:35:46 -03:00
David Capello
0a88e797f4
Show the clipboard image size as default size in NewFileCommand.
2012-02-11 17:06:35 -03:00
David Capello
c359e8585e
Fix problem with ENTER key to drop the pixels.
2012-02-11 16:34:55 -03:00
David Capello
0d582f9d5f
Improve the MovingPixelsState to support Enter and Esc keys to drop the pixels.
...
Also any executed command will drop the pixels and return the editor to
its standby state.
2012-02-06 00:17:42 -03:00
David Capello
354f6a15fa
Add context listeners.
2012-02-02 20:05:26 -03:00
David Capello
bad1178617
Add JM_CLOSE_APP message to know when the user pressed the native window close button.
...
This way is a lot better than simulating an ESC key down/up event.
2012-02-02 20:01:54 -03:00
David Capello
037070730e
We can scroll with space bar (quick tool shortcut) in MovingPixelState now.
2012-01-12 00:46:04 -03:00
David Capello
8f66325395
Add support to scroll in MovingPixelsState without calling a full dropImage().
...
+ Added EditorState::isTemporalState() to know if we've to do a dropImage()
or a simple dropImageTemporarily() only.
+ Improved the return type of EditorState::onBeforeChangeState() member
function (now it's an enum instead of a bool).
2012-01-12 00:39:39 -03:00
David Capello
18de85f18e
Fix problem with uninitialized m_activeDocument member in Context class.
2012-01-12 00:25:09 -03:00
David Capello
917f724861
Add text entry to go to frame in the status bar (issue #6 ).
...
+ Added a button to create new frames in the status bar.
2012-01-09 21:18:32 -03:00
David Capello
b97fb14e0a
Add GotoFrame command (like issue #6 , but it does not use the status bar).
...
+ Replaced ScopedPtr defined in gui.h with UniquePtr.
+ Fix problem in keycombo_get_string() converting keyboard shortcuts
with "Alt" modifier.
2012-01-09 20:28:04 -03:00
David Capello
f91063bcef
Fix problems resetting Document's selection transformation in some commands.
2012-01-09 19:13:48 -03:00
David Capello
e018cf099d
Conert all mask_* functions to Mask function members.
2012-01-08 22:34:36 -03:00
David Capello
127480db01
Fix bug in PixelsMovement::moveImage(): clear the extra cel with its mask color instead of 0.
2012-01-08 14:23:43 -03:00
David Capello
dcd915b95c
Fix PixelsMovement::maskImage(): the entire region is selected in paste command.
2012-01-08 14:15:07 -03:00
David Capello
237b9a70bc
Update the .rc information.
2012-01-07 22:14:29 -03:00
David Capello
eb5462a890
Fill automatically the distribution version using the config.h.
2012-01-07 22:08:21 -03:00
David Capello
bbd14b42b7
Add zlib bin directory to include zconf.h in ase_format.cpp
2012-01-07 21:32:53 -03:00
David Capello
36ca165328
Update zlib to 1.2.5 and libpng 1.5.7.
...
Fix loadpng library and png_format.cpp to support the new libpng version.
2012-01-07 21:11:19 -03:00
David Capello
deb3fdb48a
Add the standard Ctrl+Y keyboard shortcut to execute Redo command.
2012-01-07 20:33:34 -03:00
David Capello
8e94cfc341
Update tinyxml to 2.6.2
2012-01-07 19:00:26 -03:00
David Capello
bb1e3dd7f0
Comment the ASSERT in MovingPixelsState() because quick tools can make it fail.
2012-01-07 18:52:42 -03:00
David Capello
0f0b5f7c35
Update quickref for version 0.9.1.
2012-01-07 18:48:27 -03:00
David Capello
1dd4120951
Add "maintain aspect ratio" in selection transformation (issue #48 ).
2012-01-07 18:47:48 -03:00
David Capello
a22b86df65
Add snap to grid in selection movement.
2012-01-07 17:23:21 -03:00
David Capello
99bd0015b9
Change "N" keyboard shortcut to "Alt+N" to avoid creation of frames by mistake.
2012-01-07 17:04:18 -03:00
David Capello
a17d925847
Add angle snap with Shift key to rotation.
2012-01-07 16:37:07 -03:00
David Capello
9684672f5f
Improve status bar text when the user is scaling/rotating the selection.
2012-01-07 16:35:04 -03:00
David Capello
89da817771
Disable warning 4355 in StandbyState with MSVC.
2012-01-07 16:32:03 -03:00
David Capello
3c1acfec03
Use "zip" to create the win32 distribution (we can convert LF to CRLF in text files).
2012-01-07 10:41:26 -03:00
David Capello
15df7d40c7
Fix problem in "select all" command: reset the transformation bounds.
2012-01-06 20:40:49 -03:00
David Capello
dbae742436
Remove items from TODO which are already done/fixed.
2012-01-06 20:40:32 -03:00
David Capello
b8fbaad7fb
Replace Allegro Sprite Editor or ASE with ASEPRITE in all files.
2012-01-06 01:12:57 -03:00
David Capello
02a9d50524
Update copyright year to 2012.
2012-01-06 00:52:11 -03:00
David Capello
9fbc9374e2
Fix problem pasting from the clipboard when the active tool is a non-selection one.
...
The PixelsMovement uses the document's extra cel to show the transformation
preview. On the other side, painting tools use the extra cel to show
the drawing cursor preview. So MovingPixelsState is incompatible
with painting tools, both use the extra cel for different purposes.
2012-01-06 00:41:02 -03:00
David Capello
c6da98ea52
Add const to PixelsMovement::isDragging().
2012-01-06 00:19:24 -03:00
David Capello
b1044003c8
Integrate paste command with the new MovingPixelsState editor's state.
2012-01-05 23:21:51 -03:00
David Capello
d4cb85f7a1
Don't draw the rotation pivot if there is no angle.
2012-01-05 22:03:06 -03:00
David Capello
ed6090bc36
Convert all newline to LF style and remove all tabs.
...
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00