Commit Graph

5385 Commits

Author SHA1 Message Date
David Capello
fad236ad22 Fix editor view background/scrollbar union 2017-02-17 14:23:01 -03:00
David Capello
a62f12ad09 Move all code to draw windows to ui-lib w/new styles 2017-02-17 14:18:47 -03:00
David Capello
2883a70e25 Fix Close button on About dialog 2017-02-17 13:59:17 -03:00
David Capello
235011e169 Add "const" to several Theme and Widget function members 2017-02-15 16:44:50 -03:00
David Capello
7cb41729ab Convert label and view into new styles
In this way the WidgetLoader looks for new styles only.
2017-02-14 14:55:45 -03:00
David Capello
17151cddcd Move mnemonic key as a property of ui::Widget
In this was we can process the text string just one time to remove the
character preceded by '&' that will be finally acts as a mnemonic. This
simplifies the rendering and text measure code too.
2017-02-14 14:16:37 -03:00
David Capello
bb4faca1d1 New Style class in "ui" layer to paint widgets (only button at this moment)
This new ui::Style should finally replace the old app::skin::SkinStyle
class. At this moment both implementations are working to avoid an
huge refactor in just one commit.

- Added new ui::Style property in ui::Widget.
- Removed old code to set the button "bevel" (removed
  app::setup_bevels() functions).
- Removed setup_look() function and Left/RightButtonLooks.
- Removed check_button_new() function.
- Removed ui::Theme::paintButton/ComboBoxButton() functions.
2017-02-13 18:34:23 -03:00
David Capello
75020d9405 Simplify window icons in theme definition 2017-02-10 18:38:08 -03:00
David Capello
97809952eb Remove some face colors from theme.xml using the center slide instead 2017-02-10 17:49:37 -03:00
David Capello
f7903a74de Add ui::Theme::drawSlices() member function 2017-02-09 17:01:43 -03:00
David Capello
e6fd892a40 Change themes folder from "data/skins" to "data/themes" 2017-02-09 13:18:44 -03:00
David Capello
7e6fc5a815 Move drawTextBox() function inside Theme class 2017-02-08 15:00:07 -03:00
David Capello
6c9c0066a0 Replace ui::CurrentTheme with ui::set/get_theme() 2017-02-08 14:50:58 -03:00
David Capello
d9817b888c Fix Move tool w/auto select when a range is selected in the Timeline 2017-02-08 00:28:46 -03:00
David Capello
7c57ec40fc Merge branches 2017-02-07 19:09:36 -03:00
David Capello
9016d8635b Fix problems on ui::Entry() with TrueType fonts
Fixed several problems drawing and selecting text with TrueType fonts.
2017-02-07 19:05:47 -03:00
David Capello
a4065d07ef Update information about compressed data in .ase file format specs 2017-02-07 19:00:48 -03:00
David Capello
b2762a7468 Update laf submodule 2017-02-07 11:03:45 -03:00
David Capello
47f3d540b7 Fix drawing UI text with TrueType fonts (related to #124) 2017-02-06 17:58:55 -03:00
David Capello
2edd582e4d Add link in README to onion skinning docs 2017-02-04 08:00:26 -03:00
David Capello
5e711690bf Fix crash with certain reference layers 2017-02-03 15:35:44 -03:00
David Capello
69b35b246b Add mail24 palette (contributed by https://twitter.com/Hyohnoo) 2017-02-03 10:06:41 -03:00
David Capello
d5b09d55b9 Remove pixly format (close #1402) 2017-02-02 16:59:05 -03:00
David Capello
8abd401a04 Add a checkbox to expand thumbnails options in Timeline popup 2017-02-01 13:47:16 -03:00
David Capello
2bac4d0313 Fix problem playing animation in the current editor and the preview window 2017-01-31 10:49:59 -03:00
David Capello
11187a8d4f Enable "Remove Layer" command if the layer is locked or hidden anyway 2017-01-31 10:20:45 -03:00
David Capello
f381cb972c Improve filters preview performance (fix #1400)
Now several filter steps are applied in a background thread and a UI
timer refresh several rows in screen at the same time (instead of one
row per time). (This is something in my personal to-do list from long
time ago too.)
2017-01-31 09:59:09 -03:00
David Capello
fbb0cdcbe2 Fix resetting default grid preferences (fix #1380) 2017-01-30 19:07:11 -03:00
David Capello
dd381131c7 Merge branch 'i18n' into master 2017-01-30 16:27:54 -03:00
David Capello
79f82cfbee Merge branch 'beta' into master
The next official release will be v1.2.
2017-01-30 16:02:21 -03:00
David Capello
5ba071e760 Use @autoreleasepool to avoid accumulating objects 2017-01-10 12:24:22 -03:00
David Capello
0b37d23c37 Fix memory leaks changing custom native cursors on macOS 2017-01-10 11:32:38 -03:00
David Capello
e2595f3cce Add command to open/close layer groups (Shift+E) 2017-01-09 14:56:26 -03:00
David Capello
8691345f03 Add ContiguousFillCommand to switch Contiguous option with a shortcut 2017-01-09 13:04:00 -03:00
David Capello
d9ae6812d5 Update ui lib copyright 2017-01-09 12:50:28 -03:00
David Capello
8fa5d2dff1 Remove the "new_windows" var from ui::Manager impl
Fix regression bug introduced in
66e9cee3e6 where new opened windows
weren't painted.
2017-01-09 12:45:03 -03:00
David Capello
042b427f49 Merge branch 'master' into beta 2017-01-06 18:02:24 -03:00
David Capello
7c6d927eb1 Zoom tool now can be used in PlayState 2017-01-06 17:44:08 -03:00
David Capello
7f149d4501 Update copyright year 2017-01-06 17:36:11 -03:00
David Capello
66e9cee3e6 Fix crash on UI tests
Generating paint messages without a she::System available.
2017-01-06 16:55:21 -03:00
David Capello
ee8c434d2f Using mouse poller on Alleg/Win port fixed window movement artifacts
Related to #1006
2017-01-06 15:52:42 -03:00
David Capello
0df6117b6a Fix Cmd+key on macOS with non-QWERTY keyboard layout 2017-01-06 15:05:58 -03:00
David Capello
4ac63503c0 Minor change in ui/accelerator.cpp 2017-01-06 14:19:06 -03:00
David Capello
0b954087a9 macOS: Move get_unicode_from_key_code() to she/osx/vk.mm 2017-01-05 17:33:47 -03:00
David Capello
eb0f046dc7 Fix general UI delay/flickers redrawing elements
This is an old bug that makes the UI looks as "partially painted." We
have to process all logic messages first, and then generate paint
messages so we paint the latest UI state (instead of a intermediate
UI state).
2017-01-02 15:38:20 -03:00
David Capello
3d43b96517 Merge branch 'master' into beta 2016-12-29 11:24:20 -03:00
David Capello
d19c033284 Add option to export resizing w/pixel aspect ratio 2016-12-29 11:22:16 -03:00
David Capello
ea71455f81 Fix ZoomEntry slider range
After f8874f4f7b, we fixed the zoom text
entry but we broke the zoom slider. We weren't able to select zoom
factors with the slider correctly (as the scale from 0 to 6400 was too
big). Now we revert the change and make the maximum text length in entry
bigger so the user can enter zoom levels like 6400 in the text entry and
use the zoom slider.
2016-12-29 10:22:39 -03:00
David Capello
a39627fe28 Merge branch 'master' into beta 2016-12-29 09:56:55 -03:00
David Capello
a56dff5515 Don't ignore "first frame" in tag properties dialog (fix #1350) 2016-12-29 09:42:44 -03:00