David Capello
848ce5972d
win8: Add support to double tap with pen
...
Discussion:
https://community.aseprite.org/t/surface-pro-3-file-navigation/696
2017-11-23 17:03:24 -03:00
David Capello
f2a2510cea
Use a obs::safe_list() for ui::Timers to avoid data races between threads
2017-11-03 10:51:45 -03:00
David Capello
73605749e6
Improve Graphics::dirty() to avoid flipping unnecessary she::Display areas
2017-11-03 09:36:12 -03:00
David Capello
f07359d71c
Minor TODO item on Widget::setBoundsQuietly() for the future
2017-11-03 09:35:00 -03:00
David Capello
7becbc09b8
Update window title label size to show the entire text when it's changed
2017-10-26 21:59:19 -03:00
David Capello
d748cc7582
Add DEBUG_UI_THREADS to debug functions called from a non-main thread
2017-10-26 21:38:27 -03:00
David Capello
0ee5dbea7a
Improve keyboard shortcuts list with resizable headers
2017-10-24 10:20:21 -03:00
David Capello
a9b183729f
Translate all alerts to the en.ini file ( #124 )
2017-10-17 18:00:45 -03:00
David Capello
dede3610f3
Fix bug inserting the first char in a text entry
...
If a text field (ui::Entry) contains text with length=1 (e.g. the number
"8"), and we focus and press that same char ("8"), the caret will be in
the position 0 with text "8" (the caret should be in position 1). this
patch fix this behavior.
2017-10-03 14:45:53 -03:00
David Capello
c3bc7acb4d
Fix crash using a theme with an undefined <style>
...
Related to: https://community.aseprite.org/t/498
2017-09-28 15:27:27 -03:00
David Capello
7dc7bf09e2
Windows: fix last gray background when the main window is closed
2017-09-28 12:41:19 -03:00
David Capello
c5c964bfcd
Update Skia to chrome/m62 (our aseprite-m62 branch)
2017-09-19 13:41:28 -03:00
David Capello
7b7b12b593
Fix bug "Rewind on Stop" increments start frame randomly ( fix #1569 )
2017-09-08 11:20:55 -03:00
David Capello
f223d157fd
Fix crash dragging the mouse in the toolbar
...
If we pressed the mouse button in the toolbar and start moving the mouse
like crazy just to create/destroy the toolbar popup multiple times, it
reached a situation where the Manager's mouse_widget was equal to a
deleted widget (and mouse_widgets_list contained that widget too),
producing a crash when we tried to access it.
2017-09-04 18:10:02 -03:00
David Capello
0154a73d36
Add native macOS menus ( fix #135 )
...
* This implements the Cmd+H and Cmd+M keys too:
https://community.aseprite.org/t/279
* Also Cmd+, has more priority on macOS than Cmd+K to open the
preferences (so macOS menu shows Cmd+,)
2017-09-01 13:32:23 -03:00
David Capello
a9c1b26db3
Fix reposition of windows when Screen/UI scaling is changed
2017-08-17 09:16:11 -03:00
David Capello
2bee243c39
Replace INT_MAX with std::numeric_limits<int>::max()
2017-08-15 11:25:23 -03:00
David Capello
432eedcb97
Support changing theme and UI scaling w/o restart ( fix #471 )
2017-08-15 10:39:06 -03:00
David Capello
14ba0ab411
Add addition/subtract/divide blending modes
...
Changes:
* Added SeparatorInView() to add separators inside a ListBox or ComboBox.
* Added BlendModeItem() to represent each item in the blending modes
ComboBox.
* Now a ComboBox can contain any kind of widgets as children (not just
ListItem). This is required to add separators in the blending modes
ComboBox.
Feature request:
https://community.aseprite.org/t/additive-blending-feature/121
2017-07-24 15:25:13 -03:00
David Capello
147f36077b
Timeline: Redraw only marching ants on timer tick ( fix #1537 )
2017-07-18 17:07:35 -03:00
David Capello
76df15d3c3
Add mnemonics to Extensions section in Preferences
...
Also fixed a problem using Alt+mnemonic on hidden buttons.
2017-06-13 12:04:40 -03:00
David Capello
a9e688989f
Implement Add/Uninstall extension ( #1403 )
...
- Added libarchive to uncompress .zip extensions
- Moved ListItem painting code to styles because we needed a selected+disabled state.
2017-06-12 12:38:53 -03:00
David Capello
d5c47e2213
Make Entry fields bigger in ContextBar to avoid text scrolling
2017-05-31 16:21:34 -03:00
David Capello
f4fc77e050
Add search field on palette popup
2017-05-30 15:46:54 -03:00
David Capello
523b6a0a51
Show a DitheringSelector item in the combobox when it's closed
...
In this way we can show listbox/custom items in the combobox when we
select an item instead of showing text-only (the ui::Entry).
2017-05-23 13:41:11 -03:00
David Capello
bcdf598392
Add widget to choose dithering algorithm + matrix
2017-05-22 15:44:08 -03:00
David Capello
7bc593ac34
Change Entry::maxSize property from size_t to int
2017-04-19 17:51:03 -03:00
David Capello
73999c5415
Fix several issues with UI Scaling > 100% ( fix #1456 )
2017-04-15 08:13:20 -03:00
David Capello
2aeae2aaa7
Add messages for X1/X2 mouse buttons
...
Related to #598
2017-04-13 17:58:42 -03:00
David Capello
e5c15161e8
Add a new mouse cursor to move selection edges
...
With this change the app-specific cursors were removed from the ui library. Maybe it needs some clean-up for following versions.
2017-04-06 18:41:18 -03:00
David Capello
043489e532
Color frame tag lines (related to #920 )
2017-03-27 12:32:39 -03:00
David Capello
37748c3783
Add automatic cel guides when Ctrl/Cmd is pressed
2017-03-23 00:57:21 -03:00
David Capello
60970b8eae
Remove unused code from ui::Button
...
Removed IButtonIcon interface and Button::m_drawType field.
2017-03-17 16:13:47 -03:00
David Capello
bc01f16a4e
Move painting code for checkbox & radio button to theme styles
2017-03-17 15:43:42 -03:00
David Capello
b6cf0f218c
Add search field on Font Popup
...
Added support to set child visibility property to ListBox items.
2017-03-15 14:24:42 -03:00
David Capello
be3c9c1bcc
Convert timeline widget to new styles
...
And remove the old skin::Style.
2017-03-13 18:13:38 -03:00
David Capello
ca2aae6349
Convert tabs painting code to new styles
2017-03-13 13:47:37 -03:00
David Capello
aabdb11779
Change scrollbar to new theme styles
2017-03-10 22:42:15 -03:00
David Capello
36ee5a39c8
Convert news items to new theme styles
2017-03-10 19:23:43 -03:00
David Capello
4b60806556
Fix mouse over state over recent file item & news item at the same time
2017-03-10 18:51:20 -03:00
David Capello
62db0c73a3
Fix clicking on a user data popup widgets
...
The textbox used in the tooltip was getting all clicks from the user. So on the user data popup we have to 1) don't set the title bar text, 2) if the title bar is not set the text box is hidden so will not eat all click messages.
2017-03-09 16:15:39 -03:00
David Capello
e2a94b094a
Fix bug drawing box/grids bgcolor on tooltip windows
2017-03-09 15:12:39 -03:00
David Capello
81bcc07457
Fix canvas size button set item borders
...
We must not activate HAS_TEXT flag on widgets without text on XML files processing the mnemonic character.
2017-03-09 12:00:32 -03:00
David Capello
94dcfa7f35
Fix ColorButton font
...
- We've added a new "font" attribute in <style>s elements.
- Fonts aren't reset when we refresh the theme. This must be fixed in a future version when the theme can be completely reloaded.
2017-03-08 18:53:36 -03:00
David Capello
482f3eed0e
Fix crashes editing composed unicode strings
2017-03-08 13:54:21 -03:00
David Capello
e4577665c3
Remove unused variable
2017-03-07 11:06:58 -03:00
David Capello
46974e3345
Fix compilation on Windows
2017-03-07 09:24:35 -03:00
David Capello
5d7b62e652
Fix ui::Entry to handle composed Unicode chars correctly
2017-02-21 18:05:23 -03:00
David Capello
f08757d9d2
Remove ui::Widget::textLength() member function
2017-02-21 10:48:25 -03:00
David Capello
24faae2ca5
Use HarfBuzz to render combining characters correctly
2017-02-20 17:14:41 -03:00