Commit Graph

3854 Commits

Author SHA1 Message Date
David Capello
5c371285ab Improve FilterTargetButtons UI style using a ButtonSet
Related to #786
2015-08-28 14:37:00 -03:00
David Capello
db4817e3ef Add an extra grid test with four columns 2015-08-28 13:11:00 -03:00
David Capello
530edb4ae3 Add Widget() constructor to create default widgets 2015-08-28 13:10:42 -03:00
David Capello
d994d67a2a Fix crash using Shading mode with sprites with different palette sizes 2015-08-28 12:22:32 -03:00
David Capello
47a5b38ada Hide "Edit > Scripts" menu because scripts destroy undo history at this moment 2015-08-27 13:41:03 -03:00
David Capello
6c9733ca38 Use a FileHandle in Engine::evalFile() 2015-08-27 13:39:50 -03:00
David Capello
55a618a79a Fix scripting::Engine members initialization order 2015-08-27 13:39:38 -03:00
David Capello
f8f1aba806 Merge branch 'scripting' 2015-08-27 12:41:37 -03:00
David Capello
890931f270 Add RunScript command with Edit > Scripts menu 2015-08-27 12:40:20 -03:00
David Capello
ab893eec6e Improve "Color Curve" dialog to be used only with the mouse (fix #278) 2015-08-27 12:27:23 -03:00
David Capello
ffdf8ad568 Add activeSprite global 2015-08-27 11:58:50 -03:00
David Capello
8c961d58ef Use canonical path in recent file/path list (fix #654) 2015-08-27 11:12:30 -03:00
David Capello
eff31223ab Add support to open image sequences when files are specified in the command line (fix #785) 2015-08-27 09:34:14 -03:00
David Capello
9201239eb3 Fix detection of image sequence with some special cases/UTF-8 strings (fix #784) 2015-08-27 09:10:46 -03:00
David Capello
6dfbb05d58 Split bindings into several files 2015-08-27 08:19:09 -03:00
David Capello
62f90a1a76 Fix wording in empty ContextBar::InkShadesField widget 2015-08-27 08:10:09 -03:00
David Capello
2949ff0a7c Improve UI to drag-and-drop colors and the resize handle (related to #772) 2015-08-27 08:09:13 -03:00
David Capello
f3ac563e33 Add shading ink (fix #85) 2015-08-26 16:48:01 -03:00
David Capello
089bf6f81f Add basic scripting API to create Sprites and access pixels 2015-08-26 11:30:33 -03:00
David Capello
65baa8d943 Move OK/Cancel buttons at the bottom in Keyboard Shortcuts dialog
Issue #777
2015-08-25 17:15:14 -03:00
David Capello
a79c9479b7 Replace dynamic_cast with static_cast in Widget::getRoot() 2015-08-25 14:40:53 -03:00
David Capello
19951c6dd5 New Keyboard Shortcuts dialog layout (fix #777) 2015-08-25 13:59:15 -03:00
David Capello
746f41ff5b Rename ui::ListBox::ChangeSelectedItem to ui::ListBox::Change 2015-08-25 13:56:21 -03:00
David Capello
0645a66521 Fix pressing multiple KeyAction modifiers at the same time (fix #778) 2015-08-25 13:29:19 -03:00
David Capello
f71a0e2cc4 Fix Ctrl+ and Ctrl- to zoon in/out 2015-08-25 13:24:20 -03:00
David Capello
ffba179712 Avoid an extra palette entry for the mask color in PaletteOptimizer::calculate() (fix #771) 2015-08-24 19:05:36 -03:00
David Capello
2bb926742f See symlinks to folder as folders (fix #524) 2015-08-24 16:55:05 -03:00
David Capello
46309fe68d Focus Entry field when a Combobox receives the focus for first time
This is a partial revert of a0c2237839 patch.
2015-08-24 16:45:35 -03:00
David Capello
434059d517 Don't access to the first item in DirectDraw surfaces list outside the gfx critical region
This could be a fix for a long-standing crash in
gfx_directx_restore_surface() accesing to an invalid
memory address.
2015-08-24 12:48:27 -03:00
David Capello
04f07af173 Fix problem leaving dirty areas in the screen when we move a window 2015-08-24 11:56:40 -03:00
David Capello
a0c2237839 Fix hanging when switching focus between different editable comboboxes
This bug was fixed before with d1799c037a but
then returned with 549404c216
2015-08-24 11:37:35 -03:00
David Capello
549404c216 Fix tooltips visibility (fix #770)
TooltipManager uses filters to intercept a kMouseEnterMessage, if we
remove this kind of message for the TooltipManager itself (in sendMessage),
we never get that message so we never show the tooltip.

This problem was introduced in d1799c037a
to fix a problem with comboboxes.
2015-08-24 11:33:02 -03:00
David Capello
de3d4c3662 Improve performance flipping the dirty region only 2015-08-24 10:14:25 -03:00
David Capello
8cc3cf3eb8 Avoid assert() fail in configureAsBackground() call from NewSpriteFromSelectionCommand::onExecute() 2015-08-21 15:32:32 -03:00
David Capello
214f886a0e Fix bug showing invalid layer name in Layer Props dialog after "New Layer" command 2015-08-21 14:55:34 -03:00
David Capello
5dfe7b64ae Enter key closes Cel or Layer properties if children have the focus 2015-08-21 14:53:31 -03:00
David Capello
4b064333cc Add color harmonies in the ColorWheel widget (issue #707) 2015-08-21 13:27:58 -03:00
David Capello
b0877df0cb Show current color indicator in the color wheel 2015-08-21 12:34:06 -03:00
David Capello
be0a944cd8 Change opacity to 255 for layers and cels on "Background from Layer" 2015-08-21 11:09:02 -03:00
David Capello
b9af6c3b02 Fix LayerProperties to modify the layer when the timer event triggers 2015-08-21 11:03:59 -03:00
David Capello
f8254b01aa Add support to modify several cels' opacity using CelProperties dialog 2015-08-21 11:01:49 -03:00
David Capello
318f0d20e9 Don't lock the sprite to change the current layer in the current_editor 2015-08-21 10:03:04 -03:00
David Capello
d3232c82ff Restore layer/cel properties before the transaction just in case we caught an exception 2015-08-21 09:38:18 -03:00
David Capello
97ba169b95 Minor change for LockedDocumentException messages 2015-08-21 09:22:40 -03:00
David Capello
dc9ee103f0 Make CelProperties dialog non-modal 2015-08-21 08:35:29 -03:00
David Capello
5e4164d552 Put focus in layer name when LayerProperties window is shown 2015-08-21 08:27:13 -03:00
David Capello
5942e62277 Minor change in LayerPropertiesWindow 2015-08-21 08:26:45 -03:00
David Capello
728432f9e5 Convert "Layer Properties" dialog in a non-modal window 2015-08-21 00:44:28 -03:00
David Capello
bb9be0afb8 Use the generate widget in CelPropertiesCommand 2015-08-20 23:42:05 -03:00
David Capello
9662c0cb90 Add Ctrl+Backspace and Ctrl+Del to ui::Entry field (fix #769) 2015-08-20 23:31:46 -03:00