David Capello
f14565f688
Disable warning in MSC for stricmp()
2014-09-09 08:51:44 -03:00
David Capello
10722f1bec
Fix file_system.cpp for Win32 version without PIDLs
2014-09-09 08:50:48 -03:00
David Capello
6f6e101ab3
Fix initialization order of members in Editor ctor
2014-09-09 08:50:16 -03:00
David Capello
64a841a1d6
Remove unused variables
2014-09-09 08:49:52 -03:00
David Capello
bb49ab35a3
Don't use PRINTF in she module (so grid_ui_tests can be compiled)
2014-09-09 01:46:28 -03:00
David Capello
d8ad3ab576
Fix #452 : Expand number of frames automatically when we drag and drop cels at the end of timeline
2014-09-09 01:32:20 -03:00
David Capello
2135bb2e41
Timeline: Drag & drop the selected range from any position when Ctrl/Alt modifiers are pressed
2014-09-09 01:08:06 -03:00
David Capello
9346ee0f48
Fix #473 : Now paint bucket-like tools stop at grid bounds
2014-09-08 23:29:09 -03:00
David Capello
190306b127
Fix undo problem with paint bucket tool: don't paint outside visible bounds
2014-09-08 23:18:04 -03:00
David Capello
eb1fd4ff0d
Fix #67 : Per-image grid settings
2014-09-08 23:08:06 -03:00
David Capello
289401ce04
Fix #474 : Select grid boundaries when snap-to-grid mode is enabled in marquee tool
2014-09-08 10:51:48 -03:00
David Capello
7d5a6c7cbf
Add override modifier in intertwiners.h
2014-09-08 10:45:31 -03:00
David Capello
d14a0fe075
Add "Size" options in CanvasSizeCommand to specify width/height
...
- Added canvas icons to change the expansion direction in CanvasSizeCommand
- Added Widget::at() and Widget::offerCapture() member functions
- Improved ButtonSet widget
2014-09-08 02:27:41 -03:00
David Capello
81bfd5da55
Fix EditorPostRenderImpl::drawLine() used in Canvas Size and Import Sprite ( fix #480 ) Sheet
2014-09-07 12:10:12 -03:00
David Capello
c38c784772
We don't have std::bind() available in Mac OS X SDK 10.4u
v1.0.4
2014-09-04 09:07:23 -03:00
David Capello
1d4202d593
Minor change in system.h: remove unused BITMAP forward declaration
2014-09-03 10:26:52 -03:00
David Capello
9e8cf5de90
Show correct title bar in the main system window when the program starts
2014-09-03 00:39:15 -03:00
David Capello
10eddb0d9e
Avoid crash if FilterWorker cannot lock the current sprite to write it ( fix #478 )
2014-09-03 00:34:31 -03:00
David Capello
7d89167e00
Add right-click to ui::Entry to show edit popup menu (cut/copy/paste)
2014-08-31 22:51:17 -03:00
David Capello
3704cb0ae4
Make PalettePopup hot-region a little bigger
2014-08-31 14:31:13 -03:00
David Capello
62ef5c5830
Fix #470 - Crash when copy & paste a cel at its same position in the timeline
2014-08-31 14:24:29 -03:00
David Capello
4f41a3bc2d
Merge branch 'master' of git@github.com:aseprite/aseprite.git
2014-08-31 14:18:34 -03:00
David Capello
bde2ddbe83
Remove ji_screen and ji_clock global variables
...
- Replace JI_SCREEN_W/H with ui::display_w/h()
- Remove GfxMode class
- Move drawing code of ColorCurveEditor widget to onPaint()
- Rename ji_clock -> ui::clock()
2014-08-31 14:17:49 -03:00
David Capello
7e40d05119
Merge pull request #465 from msisinni/patch-1
...
Add Google's UI color palette
2014-08-29 21:25:29 -03:00
msisinni
2ddfcc56d1
Added color names
2014-08-29 13:14:13 -04:00
David Capello
55fca6a89f
PalettePopup: Show three buttons: "Load", "Set as Default", and "Open Folder"
...
This is to show the "Set as Default" option when there is an open
document.
2014-08-29 09:42:07 -03:00
David Capello
a2107f5bd9
Mac OS X: Avoid Cocoa error beep when a Cmd+key is used
...
This change should be reverted in some way when the OS X menus
are implemented (issue #135 )
v1.0.3
2014-08-28 09:50:32 -03:00
David Capello
44bedf070b
Drop pixels when we change the current frame or layer
2014-08-28 09:36:34 -03:00
David Capello
3810b76eb0
Fix magic wand tool to select with one-click without moving the mouse
...
This is due a recent change in the behavior of isSelection() kind of
tools.
2014-08-28 09:06:23 -03:00
David Capello
a122b2d3c6
Add Alt+C as shortcut for RemoveFrame
2014-08-28 09:04:49 -03:00
David Capello
e14cd4e2c1
Timeline: Now we can copy cels/frames/layers with Alt key too
2014-08-27 22:43:24 -03:00
David Capello
d84fa79bd9
Minor rename in Editor::setZoomAndCenterInMouse()
2014-08-27 22:42:58 -03:00
David Capello
38127f9d9c
Fix xor B/W mode for transparent images
...
This is not the best solution at the moment, but's quite acceptable.
2014-08-27 10:14:19 -03:00
David Capello
1297a42933
Redraw transformation handles correctly after auto-scroll
...
When we're moving the selection and touch a corner, the scroll is changed.
We cannot blit/move/reuse the screen content because the handles are on
the screen, so moving the already painted handle-pixels makes it hard to
redraw those areas too.
2014-08-27 10:06:38 -03:00
David Capello
5ea5d0d92f
Add special mode (xor black/white) for selection tool ( fix #301 )
...
This change includes a blend mode for the document extra cel, but it's not
used to fix the issue.
2014-08-27 09:43:42 -03:00
David Capello
877d498160
Deselect with a simple click
2014-08-27 08:42:14 -03:00
David Capello
7177814015
Fix selection tool behavior when Shift key is used
...
There was a conflict between Shift key as a modifier to Add selection and
to convert the selection box with square-aspect. Now tools::Controllers
can process key down/up events, so the square aspect is used only if
TwoPointsController receives a Shift key event (in the middle of the
tool loop).
2014-08-27 08:35:37 -03:00
David Capello
7ffe8de2e1
Minor change, rename MovingPixelState::m_currentEditor -> m_editor
2014-08-26 21:39:52 -03:00
msisinni
85d1baa26b
Based on Google's UI color palette
...
http://www.google.com/design/spec/style/color.html#color-ui-color-palette
2014-08-26 01:58:56 -04:00
David Capello
bb309fb72e
Improve Editor::autoScroll() scroll
...
Avoid a bad user experience when he/she tries to put back the mouse
position into the editor viewport.
2014-08-25 23:30:27 -03:00
David Capello
58b3e09d86
Remove all "infinite scroll" stuff to avoid changing mouse position ( fixes #350 )
...
Changing the mouse position isn't user-friendly in desktop apps, and
has several problems in some platforms (Mac OS X). In this way we've
changed the approach to handle the mouse position when it goes outside
the ui::Editor viewport.
2014-08-25 22:49:19 -03:00
David Capello
8e44e0fbab
Do not change mouse position in PreviewCommand
2014-08-25 21:49:37 -03:00
David Capello
99557a2c1a
Don't change mouse position in ui::Slider
2014-08-25 21:43:55 -03:00
David Capello
d4f056100b
Now we can rotate the current cel or a range of cels (related to issue #161 )
2014-08-25 09:06:38 -03:00
David Capello
27cfd60d1b
Now we can flip several cels at the same time
2014-08-25 08:36:00 -03:00
David Capello
8a3f7a6396
Ability to move several frames in X or Y axis, fix #431
2014-08-25 08:27:42 -03:00
David Capello
0aea78318a
Now you can move the selection with arrow keys when it is visible
2014-08-25 00:55:54 -03:00
David Capello
355ecbb2af
Add space bar as modifier
...
Now we can scroll with space bar + arrow keys
2014-08-24 23:40:33 -03:00
David Capello
35fc9836df
Do not drop pixels if ScrollCommand is executed
2014-08-24 23:33:33 -03:00
David Capello
16ba5920a1
Change "outline" to "boundaries" in MoveMaskCommand
2014-08-24 23:33:13 -03:00