Commit Graph

3661 Commits

Author SHA1 Message Date
David Capello
53b8eb7c4d Don't use ContextBar from BrushPopup 2015-12-15 18:17:21 -03:00
David Capello
6ff62c899e Add "Save Brush Here" option to brush slot popup 2015-12-15 17:58:55 -03:00
David Capello
2d64a1926e Improve BrushPopup to save custom brushes (type/size/angle params)
We moved custom brushes stuff from ContextBar to app::AppBrushes class.
And now we can access the list of brushes from app::App::brushes() member.
2015-12-15 17:12:11 -03:00
David Capello
cff6d1cc65 Rename LinkLabel::getUrl() -> url() 2015-12-15 17:07:29 -03:00
David Capello
a380c9a877 Add possibility to create an empty LinkLabel 2015-12-15 17:07:13 -03:00
David Capello
e422acff1f Fix PopupWindow size hint when it doesn't have a title 2015-12-15 17:06:54 -03:00
David Capello
d8417df35f Add possibility to create empty ui::ListItems 2015-12-15 17:06:05 -03:00
David Capello
8698ac5f57 Merge branch 'user-data' 2015-12-11 19:49:56 -03:00
David Capello
a09df5201e Merge branch 'master' 2015-12-11 19:48:18 -03:00
David Capello
be9b33828d Don't restore the window minimized 2015-12-11 19:46:41 -03:00
David Capello
a088bf46a2 Remember exact window position (e.g. in which monitor it was closed)
It's working on alleg4 port on Windows only.
2015-12-11 19:40:18 -03:00
David Capello
868376380f Draw layers and cels in Timeline w/user-defined color in UserData 2015-12-11 19:37:19 -03:00
David Capello
addddf78a5 Add color field to doc::UserData 2015-12-11 19:18:36 -03:00
David Capello
8a653b6de2 Load/save user data in .ase files 2015-12-11 16:23:29 -03:00
David Capello
2fcd2b4013 Copy user data when a layer is duplicated 2015-12-11 15:11:34 -03:00
David Capello
8b5d013b03 Serialize user data for layers and cel data
In this way undo/redo restore user data.
2015-12-11 15:11:24 -03:00
David Capello
9e6e303ccd Copy user data when we copy a cel 2015-12-11 14:46:27 -03:00
David Capello
2f7e36a95e Fix crash when we copy a cel w/drag-and-drop and change cel properties
This is because Context::notifyActiveSiteChanged() wasn't called on
each onAdd/RemoveCel() events. This should fix several bugs.
2015-12-11 14:27:30 -03:00
David Capello
3da1a80b63 Keep Undo History window position between sessions 2015-12-11 14:02:42 -03:00
David Capello
f27836744f Show correct user data after undo/redo and commit change immediately 2015-12-11 13:58:32 -03:00
David Capello
eb6b57c5fb Use a hot region equal to the whole manager area for UserDataPopup 2015-12-11 13:45:02 -03:00
David Capello
e78e9eeb2c Add PopupWindow::setClick/EnterBehavior() member functions 2015-12-11 12:48:11 -03:00
David Capello
08bef859e3 Add user data field on layers and cels 2015-12-10 18:34:25 -03:00
David Capello
5cb4e28293 Allow "icon" parameter for <button> widgets to create an IconButtons 2015-12-10 16:52:43 -03:00
David Capello
50a01879ac Add possibility to create popup windows and tip windows from XML widgets 2015-12-10 16:51:48 -03:00
David Capello
455153d4b9 Change ui::TipWindow public API
Arrow align and target bounds are given as parameters of the new
TipWindow::pointAt() member function. Now TipWindow() contains a
default ctor.
2015-12-10 16:50:16 -03:00
David Capello
d02efbf315 Fix TipWindow background color 2015-12-10 16:46:01 -03:00
David Capello
3066e1b301 Minor format change in ui/textbox.h 2015-12-10 16:44:48 -03:00
David Capello
f3c171ddbe Merge branch 'master' 2015-12-09 11:29:50 -03:00
David Capello
e63dea61fd Include opacity and blend mode for each layer in JSON output 2015-12-09 11:00:57 -03:00
David Capello
850bd7ba2f Merge pull request #895 from TheKK/Fix_va_list
Correct usage of variable arguments in verbose_log()
2015-12-09 10:12:55 -03:00
Ying Ruei Liang (KK)
57db16efec Correct usage of variable arguments 2015-12-09 15:01:25 +08:00
Tony Narlock
382881ad66 Support for FreeBSD get_app_path
Fixes #889

Add support with and without procfs.

See also: https://www.libsdl.org/tmp/SDL/src/filesystem/unix/SDL_sysfilesystem.c
2015-12-09 00:43:15 -06:00
David Capello
20b59bf0c4 Merge branch 'center-canvas-newcmd' of https://github.com/tony/aseprite into tony-center-canvas-newcmd 2015-12-08 15:44:44 -03:00
David Capello
6e6ee10872 Merge branch 'snapSymmetryHandlesToViewportEdge' of https://github.com/TheKK/aseprite into TheKK-snapSymmetryHandlesToViewportEdge 2015-12-08 15:27:17 -03:00
Tony Narlock
877d29cd76 Allow scrolling to center of canvas 2015-12-08 03:28:05 -06:00
David Capello
44258a8442 Check GlobalAlloc() return value in set_win32_clipboard_bitmap() 2015-12-07 17:29:22 -03:00
David Capello
562106c6f0 Add EditorDecorator::getInvalidDecoratoredRegion() needed in #873 2015-12-07 15:25:10 -03:00
Ying Ruei Liang (KK)
2537b76cda Now the handles snap to the edge of viewport 2015-12-06 21:56:53 +08:00
Ying Ruei Liang (KK)
b6afb1ae2a Repaint animated sprite only when frame changed 2015-12-06 19:37:10 +08:00
David Capello
c1392909bb Show ColorSpectrum's indicator white-colored if it's in the dark side 2015-12-05 16:11:03 -03:00
David Capello
d467d71fa5 Rename PopupWindow enums 2015-12-05 15:56:32 -03:00
David Capello
f389a2ec23 Fix crash on GotoNext/PreviousFrameWithSameTagCommands when there is no tag
Some other minor changes as avoid casting int <-> frame_t because now
frame_t is a typedef (some time ago it was a class and those cast were
necessary).

Related to #887
2015-12-05 15:42:12 -03:00
David Capello
45e4c4656a Merge pull request #887 from TheKK/moveFrameInTaggedLoop
Add commands to navigate frames with same tag
2015-12-05 13:26:25 -03:00
Tony Narlock
9c30429ff9 Fix missing permission bitmasks on FreeBSD 2015-12-05 09:08:18 -06:00
Ying Ruei Liang (KK)
2fa6f1995e Add commands to navigate frames with same tag 2015-12-05 18:16:23 +08:00
David Capello
6ab858b722 Minor change in get_neighboring_pixels() 2015-12-04 17:46:50 -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
e944ce0052 Move Bind, Connection, Signal, Slot, etc. to base namespace 2015-12-04 15:17:42 -03:00
David Capello
06be4f7fa6 Rename ui::Window::getKiller() -> closer() 2015-12-04 14:54:15 -03:00