Commit Graph

3 Commits

Author SHA1 Message Date
David Capello
a21d15b4ef Improve Document::lock() with an enum as parameter instead of a bool. 2011-03-27 00:15:08 -03:00
David Capello
93f0caae79 Rename DocumentWriter::unlock_writter() to unlockWriter(). 2011-03-24 10:26:40 -03:00
David Capello
6e60d3200d Add Document class, to remove app specific properties from Sprite.
+ Moved some properties from Sprite to Document: lock/unlock/mutex,
  filename, isModified flag, undo history, mask boundaries, file
  format options, preferred editor settings, extra cel.
+ A Context now has an active document (instead of an active sprite).
+ Renamed all sprite wrappers to be document wrappers (as the mutex is
  in the Document now).
+ Modifications to SharedPtr<> to be more like C++0x shared_ptr<>.
2011-03-22 21:11:25 -03:00