Commit Graph

1747 Commits

Author SHA1 Message Date
David Capello
e06bd23b4e Fix bug where palette isn't correctly set when the DocumentView is changed 2013-02-20 19:54:00 -03:00
David Capello
f4d2b60948 Fix bug in tools with TracePolicyLast: the old_dirty_area was accumulated between different ToolLoopManager loops 2013-02-18 21:21:30 -03:00
David Capello
9b8e87da10 Update copyright year to 2013 2013-01-27 12:13:13 -03:00
David Capello
544a63cc28 Add "play" button in MiniEditorWindow (UI only)
At this moment the button isn't functional because the current frame
position is stored in the sprite (instead of the Editor). In this case,
when the "play" button is pressed, the mini-editor should show other
frames instead of the current one (should play the whole animation).
2013-01-20 21:58:16 -03:00
David Capello
337af9715e Minor change in document_tab_popup labels 2013-01-20 18:41:38 -03:00
David Capello
ed90055bf7 Replace modules/editors.cpp with widgets::Workspace class
Now we have one editor for each Document we want to edit. Before we were
creating one editor and switching the document on it, but now we have
several Editors (one for each opened Document). This simplifies the
Document implementation, because it doesn't need to know temporal
Editor information (like "preferred editor settings").

- Removed all code from modules/editors.cpp (legacy from C code).
- Removed PreferredEditorSettings class and
  Document::getPreferredEditorSettings().
- Added Workspace/WorkspaceView classes.
- Added DocumentView (a DocumentObserver).
- Added MiniEditorWindow class.
- Removed SelectFileCommand & CloseEditorCommand.
- Added TabView interface instead of using a raw void* in
  Tabs/TabsDelegate classes.
- Modified editors_draw_sprite() calls to Document::notifySpritePixelsModified
  notifications.
- The "current_editor" global variable wasn't removed because it's
  used in several places yet, but it will be removed in the near future.
  (Also this variable now can be NULL when we don't have an opened
  document.)
2013-01-20 18:40:37 -03:00
David Capello
8cc854aef6 Add some TODO items 2013-01-20 17:09:45 -03:00
David Capello
1f7a8bde64 Include only existent files in RecentFiles list 2013-01-18 23:39:19 -03:00
David Capello
e0f6b2fed4 Fix warning in msvc11 (UINT32_MAX is already defined) 2013-01-16 21:59:05 -03:00
David Capello
3ae4889526 Remove deprecated messages 2013-01-16 21:54:47 -03:00
David Capello
95a0c6d0f4 Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev
Conflicts:
	src/ui/popup_window.cpp
	src/ui/tooltips.cpp
	src/ui/tooltips.h
	src/ui/window.cpp
2013-01-13 22:45:25 -03:00
David Capello
eacd0c7642 Replace ui::jregion with gfx::Region class
This is an old TODO item, and it's the first step to finally
get rid of JRect and struct jrect.
2013-01-13 22:39:44 -03:00
David Capello
6332b1a6e5 Add gfx::Region class
This class will be used to replace JRegion in ui lib.
2013-01-13 21:49:17 -03:00
David Capello
c5cf588370 Rename some member_functions to memberFunctions 2013-01-11 12:43:25 -03:00
David Capello
c913192fcb Fix color_unittest compilation error 2013-01-07 13:20:30 -03:00
David Capello
2ddb0ea181 Replace UndoConfigProvider with UndoHistoryDelegate interface 2013-01-06 15:46:53 -03:00
David Capello
b1fa72b585 Remove SkinTheme::less_bevel() 2013-01-06 14:54:19 -03:00
David Capello
76c4fd8243 Move draw_progress_bar() to SkinTheme::drawProgressBar() 2013-01-06 14:52:57 -03:00
David Capello
370e9cdd08 Remove character_length() and render_character() functions 2013-01-06 14:49:42 -03:00
David Capello
7adf1d1a25 Remove bevel_box() and SkinTheme::draw_bevel_box() 2013-01-06 14:48:32 -03:00
David Capello
a517deee0d Add ui::Color and ThemeColor, move Color to app::Color
Now colors are customizable from skin.xml file.
2013-01-06 14:45:43 -03:00
Ilya Barygin
9ba5ef44ca Fix FTBFS with --as-needed linker option
Libraries must be placed after object files in command line.
More information: https://bugs.gentoo.org/show_bug.cgi?id=445814

Conflicts:

	src/CMakeLists.txt
2013-01-01 21:12:22 -03:00
David Capello
b381d3a7b3 Add IDocumentSettings to separate document related settings from ISettings
This is the first step to have settings per document. Currently
IDocumentSettings is implemented as a global instance so all documents
share the configuration (as it was already working). But in the future
a project will be able to provide an alternative implementation to save
the configuration of each document in the same project.
2012-11-18 10:21:06 -03:00
David Capello
b029faf832 Add work-in-progress sub-projects in TODO file 2012-10-30 21:09:04 -03:00
David Capello
7a062b61a8 Add support for VC++11 (2012) 2012-10-30 21:08:33 -03:00
David Capello
7595227166 Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev 2012-09-26 18:35:12 -03:00
David Capello
ef4934bef2 Remove JM_REQSIZE message 2012-09-26 18:34:52 -03:00
David Capello
44b8822e38 Remove deprecated MessageSignal message 2012-09-26 17:55:41 -03:00
David Capello
4ea2c69dae Fix compilation error in the dummy implementation of SystemConsole. 2012-09-26 17:26:41 -03:00
David Capello
0496f38ed3 Fix a typo in all files distributed under BSD-like and Allegro licenses
Thanks to Tobias Hansen.
2012-09-23 23:24:43 -03:00
David Capello
b51530e45d Merge branch 'dev' of git@github.com:dacap/aseprite.git into dev 2012-09-15 12:16:10 -03:00
David Capello
1426851928 Do not include scripts folder in the tarball 2012-09-14 20:31:17 -03:00
David Capello
64c50c672f Do not include loadpng library in the tarball 2012-09-14 20:31:08 -03:00
David Capello
9308d290e2 Add System::createEventLoop() (not yet functional) 2012-09-13 20:13:50 -03:00
David Capello
f0d8703ad8 Add app::Project class to handle projects in the near future. 2012-09-13 19:57:37 -03:00
David Capello
da9e9fd062 Fix algofill.cpp and rotate.cpp files to refer to the correct license. 2012-09-13 19:12:40 -03:00
David Capello
6b4591c5fd Add shell mode to execute scripts interactively.
- Added Shell class.
- Added base::SystemConsole to adjust stdin/stdout on Windows platform.
2012-09-08 20:10:48 -03:00
David Capello
2acef11c55 Add missing FindV8.cmake to use find_package(V8) 2012-09-05 21:22:47 -03:00
David Capello
3c1ee303c6 Replace CheckArgs with app::AppOptions/base::ProgramOptions classes 2012-09-05 21:14:42 -03:00
David Capello
6051387211 Add value name to ProgramOptions::Option::requiresValue() member function
This value name is displayed in operator<<(ostream, ProgramOptions&)
when a option requires a value.
2012-09-05 21:12:04 -03:00
David Capello
8962c6dbe7 Add ProgramOptions class. 2012-09-03 00:41:17 -03:00
David Capello
408f54e509 Move some App members (ConfigModule/CheckArgs/LoggerModule) to App::Modules 2012-09-02 17:42:32 -03:00
David Capello
810b082500 Add scripting-lib (link with v8 when it's available) 2012-09-02 17:35:14 -03:00
David Capello
871ba75e74 Add more entries to TODO 2012-08-31 22:14:42 -03:00
David Capello
1db95ed985 Fix crash pressing left & right mouse buttons at the same time to start/cancel drawing 2012-08-31 00:25:24 -03:00
David Capello
3aad5a570c Update version to 0.9.6-dev 2012-08-24 21:42:46 -03:00
David Capello
23660eb0d1 Fix issue #164: Palette area visible in Advanced Mode.
Instead of switching ColorBar visibility, we've to switch the
Splitter position between the ColorBar and sprite editors.
2012-08-24 18:54:47 -03:00
David Capello
2e80621a1e Fix issues #163 and #165.
The ui::dirty_display_flag is not working as expected.
2012-08-24 10:25:19 -03:00
David Capello
d97c2d6f98 Fix typo in upload_packages.sh. 2012-08-24 01:17:13 -03:00
David Capello
33e3b5c8d0 Fix unittests compilation for Windows. 2012-08-24 00:49:38 -03:00