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
David Capello
3f1f07807b
Add support to cycle RGB/HSV text fields with tab key ( fix #1019 )
...
Added a new flag in messages to know if they came from a filter or from
the original chain of recipients. To do this, we've added a new way to
process message filters: instead of pre-adding filters to the list of
message recipients, we process filters in the Manager::pumpQueue()
member function itself. (So the list of "recipients" is not modified.)
2016-11-19 00:57:58 -03:00
David Capello
f054aaa2cc
Minor changes in ui::Slider
2016-11-19 00:23:54 -03:00
David Capello
d8bc90696e
Rename Manager::isFocusMovementKey -> isFocusMovementMessage
2016-11-18 14:26:00 -03:00
David Capello
0703bf159c
Add ui::Manager::processFocusMovementMessage() function
2016-11-18 14:22:14 -03:00
David Capello
6746049e60
Fix 1...6 keys to go to a specific frame on Windows
...
These keys where captured by the zoom command (gui Manager) first.
This regression was introduced in 00099390daf9d24cae6910e3c67d43e15b7cc542
2016-11-18 13:47:02 -03:00
David Capello
31de049a68
Add missing #include to use ASSERT()
2016-11-18 12:26:43 -03:00
David Capello
02b9a953ef
Avoid creating a System instance in she::instance()
...
This is necessary for tests that don't need a System but call the
instance() function anyway.
2016-11-18 12:13:10 -03:00
David Capello
5dc8f9c8a0
Move keyboard functions to she::System
2016-11-18 11:15:02 -03:00
David Capello
d8d9f8072c
Fix compiling tests with dynamic libc on MSVC
2016-11-18 10:27:43 -03:00
David Capello
08bb51e358
Merge all she::instance() implementations
...
Only she::create_system() must be provided by the platform impl.
2016-11-18 09:40:35 -03:00
David Capello
2f987ac3c3
Minor: sort filenames in pixman CMakeLists.txt file
2016-11-18 09:21:46 -03:00
David Capello
f43ef44d74
Change shadow colors in ase/doc icons
2016-11-17 18:42:31 -03:00
David Capello
9ef1393184
Add missing she/win/vk.h file
2016-11-17 18:24:28 -03:00
David Capello
e5769d1666
Remove dead code that was replaced with VkToUnicode
2016-11-17 18:21:33 -03:00
David Capello
bc3e4ba3db
Fix memory leaks in KeyboardShortcutsWindow
2016-11-17 18:18:50 -03:00