David Capello
271865e13d
Remove unused Command::clone() member function
2019-01-07 17:03:38 -03:00
David Capello
8d3da46ac9
Rename DocumentReader/Writer -> DocReader/Writer
2018-07-14 22:49:22 -03:00
David Capello
9c79ea2b77
Rename app::Document -> Doc
2018-07-07 11:54:44 -03:00
David Capello
432094f432
Rename Documents -> Docs
2018-07-07 08:38:04 -03:00
David Capello
ac7e48d92d
Rename DocumentUndo -> DocUndo
2018-07-07 02:55:27 -03:00
David Capello
457a9999b5
Move doc::Context to app::Context ( #378 )
...
We've moved everything related to Context/active site/observable
documents from "doc" namespace to "app" namespace.
2018-07-07 02:47:42 -03:00
David Capello
a4d1833a9c
Fix Export with resize + non-linear undo history ( fix #1749 )
2018-06-14 17:27:22 -03:00
David Capello
e025d1a40a
Improve widget class generator including only required .h files
...
Instead of including "ui/ui.h" we can include the specific header file
for the used widgets in the .xml widget.
2018-06-08 15:52:10 -03:00
David Capello
e0a60b6748
Generate the list of command IDs from en.ini file
2017-12-01 15:10:21 -03:00
David Capello
ccee49c02b
Move command friendly names to the strings file
...
Related to #124
2017-11-30 23:41:45 -03:00
David Capello
7e86f31cb4
Show the undo size in the Undo History window
2017-10-26 21:42:25 -03:00
David Capello
f0c11ef567
Implement Undo limit ( fix #1127 )
2017-10-25 17:25:23 -03:00
cebolan
e773f0697e
Fix bug when closing Undo History with a keyboard shortcut
...
Closes #1423
The bug was happening because when the Undo History window was
closed using the keyboard shortcut, the message kCloseMessage
was never being sent to the window. This is probably not the
only cause, but making UndoHistoryCommand close the window instead
of just hiding it solves the problem.
2017-08-29 15:23:19 -04:00
David Capello
6377b550e3
Replace base::Signal/Observable* with obs::signal/observable
...
We can use the obs library directly for signal/slots and observable
objects.
2016-09-13 15:02:00 -03:00
David Capello
5ecc356a41
Replace GPL license with the new EULA
2016-08-29 13:08:21 -03:00
David Capello
d13862599e
Use base::get_pretty_memory_size() to show undo item memory size
2016-05-10 10:37:39 -03:00
David Capello
3369d902d9
Show each undo step size when Aseprite is compiled in debug mode
2016-05-09 17:50:57 -03:00
David Capello
8996d82d21
Redraw ColorBar when we change the active state in the Undo History window
2015-12-28 16:54:14 -03:00
David Capello
3da1a80b63
Keep Undo History window position between sessions
2015-12-11 14:02:42 -03:00
David Capello
1aaeacc460
Refactor several "getNoun()" getters to "noun()"
...
This is a work-in-progress to create a consistent API and finally
separate the whole Aseprite base/gfx/ui libs into a reusable C++ library.
Classes:
app::IFileItem, app::AppMenuItem, app::skin::SkinPart,
gfx::Rect, gfx::Border, she::FileDialog,
ui::IButtonIcon, ui::Graphics, ui::Overlay, ui::Widget,
ui::ScrollableViewDelegate, and UI events
2015-12-04 14:39:04 -03:00
David Capello
78ba213471
Rename ui::Widget::getChildren() -> children()
...
Extra changes:
* Removed UI_FOREACH_WIDGET(), replaced with range-based for-loops
2015-12-03 19:46:13 -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