Commit Graph

2518 Commits

Author SHA1 Message Date
David Capello
8bec9be4b2 Fix comparison between ui::Accelerators 2014-10-29 23:50:48 -03:00
David Capello
d90150fed9 Move button to delete shortcuts from SelectAccelerator to KeyItem 2014-10-29 22:06:25 -03:00
David Capello
f939ef5f02 Add keyboard shortcuts customization (close #253)
Changes:
* Add KeyboardShortcutsCommand and window
* Add SelectAccelerator window
* Replace modules/gui.cpp functions with app::KeyboardShortcuts and
  app::Key with the logic to load/save/handle keyboard shortcuts
* Change ui::Accelerator concept: now it represent just one keyboard
  shortcut, not a set of shortcuts
* Remove ui::Accelerator from ui::MenuItem, now the key is associated
  in app::AppMenuItem and it's a app::Key
* Add Command::onGetFriendlyName() to get a user friendly name of the
  command depending on its parameters
2014-10-29 11:58:03 -03:00
David Capello
ec99866a23 Fix region_tests compilation (as now it depends on pixman library) 2014-10-29 10:37:44 -03:00
David Capello
d327ab536f Add "View > Show Pixel Grid" menu option to switch the pixel grid 2014-10-29 10:36:50 -03:00
David Capello
c6aedc117a Add Alt+Shift+G shortcut to toogle the pixel grid visibility (fix #504) 2014-10-26 00:48:15 -03:00
David Capello
80073e65d1 Fix crash in Editor::drawOneSpriteUnclippedRect() if a temporary surface cannot be created (fix #413) 2014-10-26 00:33:21 -03:00
David Capello
fa1d9de578 Add TLS support to pixman for Unix-like systems 2014-10-25 22:36:26 -03:00
David Capello
b318a02782 Minor changes in resize_image_tests() 2014-10-25 22:23:14 -03:00
David Capello
0cf597c0f4 Add dependency with pixman library 2014-10-25 22:22:58 -03:00
David Capello
d68f1fa1b8 Add experimental option to flash the selected layer when Up/down array keys are used (fix #111) 2014-10-25 16:04:39 -03:00
David Capello
bfe7a637da Remove unused variables 2014-10-25 14:57:49 -03:00
David Capello
2d8303e174 Arrow keys move the selection only when the current tool/ink is about selection
This fix a problem where arrow keys cleared the selection content when they
were used with a non-selection tool.
2014-10-25 13:46:55 -03:00
David Capello
0e7f424406 Fix #472 - Undo and redo change the size of spray tool 2014-10-25 12:10:52 -03:00
David Capello
21b0f64a34 Add Cmd+, and Ctrl+K keyboard shortcuts to open preferences 2014-10-25 11:49:24 -03:00
David Capello
bb24d8b995 Add option to enable/disable automatic menu bar items popup (related to issue #501) 2014-10-25 11:24:29 -03:00
David Capello
4188fa1408 Add ReverseFramesCommand (fix #503) 2014-10-24 11:37:52 -03:00
David Capello
604a17d25b Fix #505 - Brush leaves artifact pixels everywhere 2014-10-23 11:23:31 -03:00
David Capello
3e18efcd8b Don't expand MenuBar items on mouseover (fix #501)
This is how menu-bars work on Windows and OS X.
2014-10-23 11:16:22 -03:00
David Capello
bac579b774 Show color hex code in status bar (fix #508) 2014-10-23 10:58:46 -03:00
David Capello
81d725e8c3 Update version to 1.0.6-dev 2014-10-23 10:58:09 -03:00
David Capello
bd3fcd3fc6 Fix DocumentApi::move/copyCel(): copy background cels instead of composite them 2014-09-17 11:47:37 -03:00
David Capello
c4dd3f6f65 Timeline: fix separator's area and setCursor() 2014-09-17 10:20:49 -03:00
David Capello
1644d466d1 Merge branch 'cmake2-patch' 2014-09-17 10:13:23 -03:00
David Capello
a7ab94e5c3 Merge branch 'patch-2' of https://github.com/Mailaender/aseprite into cmake2-patch 2014-09-17 10:12:37 -03:00
David Capello
c3d36d3598 Save color palette in RGB .ase files (fix #487) 2014-09-17 10:08:19 -03:00
David Capello
a609f121fa Fix some cases of copy_range() of frames 2014-09-17 09:59:21 -03:00
David Capello
1ce3daf30d Fix DocumentApi::copyFrame() and addEmptyFrame() 2014-09-17 09:58:40 -03:00
David Capello
546d3af5e8 Fix problems clearing background cels
- The background color to clear is calculated in one place: DocumentApi
- Rename RemoveCel command to ClearCel
2014-09-17 09:53:25 -03:00
Matthias Mailänder
8fa93bcc3b don't fail on cmake version 2 2014-09-14 11:00:05 +02:00
David Capello
79320943d7 Fix compilation error in DocumentApi::clearMask() 2014-09-12 09:30:13 -03:00
David Capello
77a66c1b87 Simplify DocumentApi::clearMask(): we just need the "cel" param 2014-09-12 02:05:32 -03:00
David Capello
4e6e50194e Remove bgcolor param from DocumentApi::backgroundFromLayer() 2014-09-12 01:58:33 -03:00
David Capello
972b2f8ff7 Remove invalid comments in a couple of files 2014-09-12 01:55:45 -03:00
David Capello
55bfbf5f8b Add DocumentApi::bgColor() member functions 2014-09-12 01:54:21 -03:00
David Capello
1ac99c04ae Fix the autocomplete timer activation/deactivation in CustomFileNameEntry
The kKeyUpMessage was received when we opened the open/save file dialog
with a shortcut (e.g. Ctrl+Shift+S), so the timer was triggered and the
autocomplete activated. After that, the text was unselected (as it looks
like fully autocompleted). Now we activate the timer to autocomplete
only when the field is modified (onEntryChange).
2014-09-11 11:09:26 -03:00
David Capello
ee685e419e Win32: Don't process extra mouse buttons messages (related to issue #483) 2014-09-11 00:02:33 -03:00
David Capello
fda9478eb4 Re-center mini-editor when its window is resized 2014-09-11 00:00:28 -03:00
David Capello
ace67b5eee Fix DocumentApi::move/copyCel() now that we can drop cels at a frame > total sprite frames 2014-09-10 23:38:07 -03:00
David Capello
8acfa688cc Add DocumentApi::clearImage() member function 2014-09-10 00:59:14 -03:00
David Capello
03ac41e05d Add timer to autocomplete in FileSelector 2014-09-10 00:58:25 -03:00
David Capello
7af2882fb8 Fix regression bug: don't enter to a folder if we press Enter and with a new file name (e.g. in save as dialog) 2014-09-10 00:19:04 -03:00
David Capello
85651e26c5 Avoid changing mouse cursor from the timeline when we're inside a sprite editor 2014-09-10 00:01:38 -03:00
David Capello
43dbeb02b8 Some fixes to the FileSelector
* Enter pad should behave like the regular Enter key
* Added navigation with Ctrl (or Cmd) + arrow keys
2014-09-09 23:42:47 -03:00
Benoit Favre
886ff676f6 FIX None macro from X11 colliding with Event::None and others 2014-09-09 21:56:21 -03:00
David Capello
bdd64b2c34 Bring back infinite scroll in sprite editor 2014-09-09 21:51:47 -03:00
David Capello
c37958a7f3 Fix focus movement in ui::Entry widget on Mac OS X platform 2014-09-09 09:52:37 -03:00
David Capello
a7c752116b Mac OS X: Fix problem opening files with Unicode chars from Finder 2014-09-09 08:52:51 -03:00
David Capello
993ed28991 Update version to 1.0.5-dev 2014-09-09 08:52:22 -03:00
David Capello
f14565f688 Disable warning in MSC for stricmp() 2014-09-09 08:51:44 -03:00