Commit Graph

5321 Commits

Author SHA1 Message Date
David Capello
c4ed121efc Add #errors in some header files that need ENABLE_SCRIPTING defined 2016-11-24 16:48:37 -03:00
David Capello
7a6e428fe1 Fix loading multiple layer group levels from .ase files 2016-11-24 16:36:05 -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 00099390da
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
David Capello
b244700e4b Remove invalid forward declaration of __argc/__wargv on MSVC15 2016-11-17 18:11:32 -03:00
David Capello
00099390da Fix several keyboard issues deadling with special characters/dead keys
This change adds support to write text with dead keys, and assign
keyboard shortcuts to special key combinations with Unicode characters
on macOS and Windows.

Fix #1083, close #796
2016-11-17 18:07:00 -03:00
David Capello
b537b5261a Fix some characters in font.png 2016-11-17 14:29:42 -03:00
David Capello
4d897e1824 Fix memory leaks on KeyboardShortcutsCommand 2016-11-17 09:56:44 -03:00
David Capello
4f279b3cc3 Complete font.png Latin-1 Supplement Unicode block 2016-11-17 09:04:10 -03:00
David Capello
1b736aef85 Improve UX when opening file sequences
* Now we can select the specific files that are part of the sequence
* New checkbox do the same for all dropped files (fix #1284)
2016-11-15 18:11:47 -03:00
David Capello
7f17400178 Minor changes in ui::Alert to simplify its code 2016-11-15 18:06:27 -03:00
David Capello
64af97131d Support smooth scroll in ListBox 2016-11-15 17:31:56 -03:00
David Capello
1e5ae5e9cb Add missing cmd_open_file.h file in last commit 2016-11-14 20:00:44 -03:00