5028 Commits

Author SHA1 Message Date
David Capello
b2281636d6 Fix zoom 50% shortcut on regular US Mac keyboard 2016-12-01 18:11:52 -03:00
David Capello
c4e03d6365 Fix problems saving PopupWindowPin state
Bug introduced in 812e75f61351537f8cf0e80cc42fc66ec3fd39df
2016-12-01 18:03:50 -03:00
David Capello
6c8186c531 Show all tools/quicktools in keyboard shortcuts dialog 2016-12-01 17:36:10 -03:00
David Capello
812e75f613 Replace "pin" icon with the regular "close" button
I was contacted several times by people that cannot close these pinned
popups window. The best solution is to do the same that a regular
window: show the close button.
2016-12-01 15:15:16 -03:00
David Capello
53d36b66be Don't write-lock the active sprite in PaletteSize 2016-12-01 10:41:52 -03:00
David Capello
15bf0948ba Add support to use rectangular marquee/lasso tools w/right click 2016-11-30 21:07:30 -03:00
David Capello
3b7f48224c Add .pcc as an alternative extension to .pcx (continue #1336)
In this way the extension is shown in the file selector.
2016-11-30 14:57:15 -03:00
David Capello
108b754592 Merge pull request #1336 from winterheart/master
Added PCC as PCX variation
2016-11-30 14:54:47 -03:00
David Capello
aa8cf94fd2 Fix crash using "play once" (fix #1337) 2016-11-30 12:35:01 -03:00
David Capello
e0a017ae02 Remove some unnecessary destructors 2016-11-30 12:33:05 -03:00
David Capello
767976c6bc Add option to play all frames (ignoring tags) 2016-11-30 10:23:29 -03:00
Azamat H. Hackimov
6fb9691d2e Added PCC as PCX variation
PCC is old PCX-compatible format, which is still occurs.
2016-11-30 15:06:10 +05:00
David Capello
8870c90774 Fix several issues with "auto select layer" indicator 2016-11-29 18:36:08 -03:00
David Capello
88b0b2161c Fix generation of keyboard events with scancode+unicode on Windows 2016-11-29 11:09:09 -03:00
David Capello
acdd9c3fed Don't add dead chars if the entry field is full 2016-11-29 11:08:29 -03:00
David Capello
f4683f385d Minor change in GotoFrameEntry::onProcessMessage 2016-11-29 11:08:09 -03:00
David Capello
60d89b10ed Fix crash introduced in 701170d85e1bd7dfb495de4685bd160bdd992307 2016-11-24 19:59:34 -03:00
David Capello
74248cf33c Cmd+mnemonic on macOS now can press a button 2016-11-24 19:26:52 -03:00
David Capello
701170d85e Fix alt+mnemonic on macOS 2016-11-24 19:26:21 -03:00
David Capello
783acfc61a Fix up/down keys to select the file type
Without this patch, pressing up/down key in the file type combobox will
focus the file list and we'll not be able to continue navigating file
types with the keyboard.
2016-11-24 19:01:08 -03:00
David Capello
9ee081d7c4 Minor change in FileSelector::onLocationCloseListBox() 2016-11-24 18:54:59 -03:00
David Capello
422dcba69b Fix Cmd+[ shortcut to go back in the file selector on macOS 2016-11-24 18:47:51 -03:00
David Capello
33d6ffb73b Avoid unused variable warning 2016-11-24 17:52:54 -03:00
David Capello
cb81ec053a Merge branch 'crash-at-exit' 2016-11-24 17:41:48 -03:00
David Capello
366572db1a Fix crash when we close Aseprite calling a dtor/free() on an invalid pointer
This bug was introduced in 128ba903949129419ab7a87ad0828d9e39aeb1bf
The AppOptions was compiled with a different size in app-lib and main.cpp
2016-11-24 17:39:52 -03:00
David Capello
c4ed121efc Add #errors in some header files that need ENABLE_SCRIPTING defined 2016-11-24 16:48:37 -03:00
David Capello
d49679c361 Compile cmd_run_script.cpp only when ENABLE_SCRIPTING is on 2016-11-24 16:19:44 -03:00
David Capello
ebec853a54 Define devconsole only when ENABLE_SCRIPTING is on 2016-11-24 16:19:19 -03:00
David Capello
489e7da6ec Support smooth scroll in timeline 2016-11-23 14:09:42 -03:00
David Capello
abc586a6d4 Fix bug on macOS scrolling frames w/mouse wheel in the wrong direction
Sometimes macOS returns us a delta of 0.0, so we should not move through
frames in that case.
2016-11-23 14:08:34 -03:00
David Capello
eacf28b65a Add option to change the first frame number on the Timeline (fix #1300) 2016-11-22 18:05:56 -03:00
David Capello
4e3a979b97 Redraw the ToolBar when we switch to a quick tool 2016-11-22 14:32:18 -03:00
David Capello
c06ed1b993 Don't show errors if we cancel the sprite loading process 2016-11-22 14:01:17 -03:00
David Capello
db4e32d8dd Fix saving backup data when adding/removing layers 2016-11-22 13:53:42 -03:00
David Capello
0d169fed75 Improve ui::drawTextBox() performance 2016-11-22 13:33:01 -03:00
David Capello
0ed0ad287c Fix TextBox drawing when we scroll it 2016-11-22 12:47:46 -03:00
David Capello
5828df1383 Add smooth scroll to ui::TextBox 2016-11-22 12:46:42 -03:00
David Capello
d5d71257fe Remove comment from TextBox::onSizeHint() 2016-11-22 12:46:23 -03:00
David Capello
43a225afe0 Avoid focus on a hidden widget in RGB/HSB text fields 2016-11-22 12:08:55 -03:00
David Capello
461d311dff Fix several buffer overflows using base::string_printf() 2016-11-22 11:54:15 -03:00
David Capello
096b26fea6 Fix Space keyboard modifier to scroll the Editor 2016-11-22 10:51:03 -03:00
David Capello
aee2b87dd6 Add kKeyMenu in win32vk_to_scancode() 2016-11-22 10:34:55 -03:00
David Capello
a67589aa05 Fix Ctrl+A/C/V/X on RGB/HSV text fields 2016-11-22 10:34:00 -03:00
David Capello
b2a25954d4 Add smooth scroll w/macOS trackpad to more widgets 2016-11-22 09:25:23 -03:00
David Capello
f985e6c6c0 Some improvements to the color selection UI (#1019)
* Tab and Shift+Tab keys cycle through RGB/HSB text fields
* Sliders don't get the keyboard focus (only text fields)
* Up/Down keys increase/decrease the text field value
2016-11-21 18:03:06 -03:00
David Capello
54da860a00 Minor change in CustomizedGuiManager::onProcessMessage() 2016-11-21 17:59:09 -03:00
David Capello
b6076e6732 Fix "magnet enter" when we are in a ui::Entry
Pressing Enter on a ui::Entry will press "OK" buttons.
2016-11-21 12:28:42 -03:00
David Capello
d444f5b78e Minor change in Manager::processFocusMovementMessage 2016-11-21 10:37:54 -03:00
David Capello
128ba90394 Add ENABLE_SCRIPTING flag 2016-11-21 10:25:27 -03:00
David Capello
0b07602573 Avoid reaching our CustomizedGuiManager when Tab is pressed (fix #1019) 2016-11-19 01:14:40 -03:00