David Capello
70f4354f88
Fix initial sprite sheet type in Export Sprite Sheet dialog
2014-08-11 11:48:36 -03:00
David Capello
a2ba77fa1d
Fix horizontal/vertical export sprite sheet
2014-08-11 11:48:07 -03:00
David Capello
df3c16b802
Add more options to export sprite sheet (e.g. best fit for texture)
2014-08-11 11:33:17 -03:00
David Capello
1f25579f5a
Fix bug: avoid clicking window borders when a combobox is open
2014-08-11 08:10:42 -03:00
David Capello
c936a792ab
Add export_sprite_sheet.xml widget
2014-08-11 07:27:10 -03:00
David Capello
a767eb187d
Add layer_properties.xml widget
2014-08-11 06:57:22 -03:00
David Capello
d11900cdef
Use generated widget app::gen::DuplicateSprite in DuplicateSpriteCommand
2014-08-11 06:55:51 -03:00
David Capello
7550db81ba
Fix issue 446 crash calling replace color in a sprite with no layers
...
- Fix access to a NULL pointer in ReplaceColorFilterWrapper
- Fix typo in NoImageException
- Do not allow to remove all layers in RemoveLayerCommand
2014-08-11 06:54:14 -03:00
David Capello
1c324c9b14
Add experimental option to use native mouse cursors (and some renames of cursor names)
2014-08-10 19:51:14 -03:00
David Capello
f48440fe71
Use the generated app::gen::Options widget for OptionsCommand
2014-08-10 01:12:31 -03:00
David Capello
58a515c3ae
Win32: If we receive a WM_NCMOUSEMOVE message, we can generate a Event::MouseLeave if needed
2014-08-10 00:48:18 -03:00
David Capello
8cf25c49a7
Win32: Fix bug where the mouse capture isn't released
2014-08-10 00:12:33 -03:00
David Capello
4d4958bf35
Move capture/release mouse function to she layer
2014-08-09 22:32:05 -03:00
David Capello
33706ce6ff
Fix issue 408 saving the Import Sprite Sheet window position
2014-08-09 21:54:12 -03:00
David Capello
303595689f
Use generated widget app::gen::NewSprite in NewFileCommand
2014-08-09 21:45:07 -03:00
David Capello
df0d39ed87
Timeline: draw clipboard range after the selection outline
2014-08-09 21:35:23 -03:00
David Capello
2c675bfc4f
Fix crash in PreviewCommand
...
We cannot use the ui::Graphics internal surface directly when we use
raster::convert_image_to_surface() (it expects an Rgba surface).
2014-08-09 21:33:38 -03:00
David Capello
93c6967409
Show mini editor window again after PlayAnimationCommand
2014-08-09 18:37:23 -03:00
David Capello
a5d6af7d87
Fix issue 426: The user should not be able to change cel opacity in Indexed images
2014-08-09 18:04:53 -03:00
David Capello
ff493552aa
Capture mouse in PreviewCommand
2014-08-09 17:31:22 -03:00
David Capello
1e84c63042
Use ui::Window to show the animation playback instead of a custom event loop
2014-08-09 17:14:56 -03:00
David Capello
d23fa2230b
Implement option to generate one optimized palette for all frames when we save a .gif file
2014-08-09 12:51:11 -03:00
David Capello
8dff8a979d
Copy the background layer as background when a document is duplicated
2014-08-09 12:45:04 -03:00
David Capello
7632e83046
Don't show selection handles in the MiniEditor
2014-08-09 12:24:04 -03:00
David Capello
3bbdb80461
Fix Image::getRowStrideSize() function (fixes crash reported in issue 443)
2014-08-09 12:10:48 -03:00
David Capello
7faf8a1bb7
Fix crash in ClearCommand removing empty cels
2014-08-09 11:25:40 -03:00
David Capello
a6933b2c7a
Rename ui::jmouse_poll to ui::_internal_poll_mouse
2014-08-09 11:16:54 -03:00
David Capello
b1b4ed8b39
Don't block Menu::showPopup() with a customized event loop
...
We must call Menu::showPopup() in ui::kMouseUpMessage message.
2014-08-09 11:13:51 -03:00
David Capello
67f9354b3d
Update about dialog
2014-08-09 11:05:13 -03:00
David Capello
bebc129a4d
Remove rounded corners to minifont.png to make it more readable
2014-08-09 10:45:06 -03:00
David Capello
6ccd95e22d
Use a desktop Window in PreviewCommand to avoid a special events loop
2014-08-09 10:37:51 -03:00
David Capello
dfaf097b88
Rename base/compiler_specific.h to base/override.h
2014-08-09 08:08:20 -03:00
David Capello
ae974b544b
Include <stdexcept> in app/util/clipboard.cpp (needed for gcc)
2014-08-08 10:52:21 -03:00
David Capello
5b5a2cfd9f
Add support to copy and paste layers between different documents
2014-08-08 10:33:45 -03:00
David Capello
1391afb694
Fix gcc compilation error
2014-08-08 01:00:22 -03:00
David Capello
626ec1d2ba
Add MoveTaskCommand: now you can move the selection with Shift+arrow keys
2014-08-08 01:00:02 -03:00
David Capello
6d1602f278
Minor change in gui.xml
2014-08-07 20:26:02 -03:00
David Capello
9fd60f1119
Move Timeline logic to drag-and-drop ranges to app::DocumentRange/move_range/copy_range
...
This fixes issue 433.
2014-08-07 20:19:31 -03:00
David Capello
0f99c78174
Win32: Return HTCLIENT when the mouse is above scrollbars but inside the client area
2014-08-07 08:45:51 -03:00
David Capello
0d2b3d1d68
Don't show Win32 scrollbar popup when the window is right-clicked in the scrollbars area
2014-08-07 08:44:30 -03:00
David Capello
7db6ea53c3
Add "Contiguous" option/checkbox for the paint bucket tool (true by default)
2014-08-07 00:07:24 -03:00
David Capello
d74944c885
Updated NES palettes (issue 411 for details and authors)
2014-08-06 08:57:41 -03:00
David Capello
fcfaacd4d7
Update version to 1.0.3-dev
2014-08-06 00:50:35 -03:00
David Capello
a856cdf8bd
Add support for command key in Mac OS X platform
...
Other change:
- Fixed ui::Message::onlyCtrl/Shift/AltPressed() member functions
2014-08-06 00:42:50 -03:00
David Capello
c104b4812d
Add doc::Settings to get the undo limit (or other settings that will be in the logic/doc layer)
2014-07-31 00:19:58 -03:00
David Capello
21e9078fd7
Fix asserts in file/gif_tests
2014-07-30 01:45:59 -03:00
David Capello
91b0c2d071
Refactor: Remove "get" part for member functions that act like a simple getter
...
Additional change:
- Added Cel::image() to get the related image of the cel directly
2014-07-30 01:28:15 -03:00
David Capello
03a085d1e5
Fix problem deleting app::Document that are inside a Context
2014-07-29 01:29:04 -03:00
David Capello
81ffb0c5bd
Refactor: Create doc::Context and move some logic from app::Document to doc::Document
...
The objective of these changes is to create a more testable doc/logic API.
Included changes:
- Added doc::Context, doc::Documents (the old app::Documents),
and doc::Sprites (and observers for each)
- Added raster::Sprite::createBasicSprite()
- Added doc::ColorMode (equal to raster::PixelFormat)
- Added some methods to doc::Document: context(), sprites(), sprite()
(to replace app::Document::getSprite()), width/height(), colorMode(),
name(), and close()
- Moved app::DocumentObserver/Event to doc::DocumentObserver/Event
- Replaced app::ContextObserver with doc::DocumentsObserver and a couple
of signals.
- Renamed app::Context::getActiveDocument() with
doc::Context::activeDocument()
- Renamed app::Context::getActiveLocation() with
app::Context::activeLocation()
- Removed app::ContextObserverList
- Removed app::DocumentId (now we can use doc::ObjectId)
- Removed app::Context::getSettings()
2014-07-29 00:53:24 -03:00
David Capello
a20bb2d4d7
Change Timeline logic to work with LayerIndex instead of inverted UI indexes
...
This is a work-in-progress, dropRange() must be reimplemented. Now that
the Timeline uses LayerIndex, we could change Timeline::Range to
DocumentRange and create unit tests for the logic side.
2014-07-24 23:50:45 -03:00