3050 Commits

Author SHA1 Message Date
David Capello
ed144aac3d Fix member initialization order in PlayState 2015-04-09 11:36:22 -03:00
David Capello
45f4d30450 Remove unused variables/functions 2015-04-09 11:36:09 -03:00
David Capello
1199c51187 Don't collapse main Tabs widget when there are no tabs
It's useful to keep the main Tabs always expanded to dock other tabs on it.
2015-04-09 11:01:39 -03:00
David Capello
c930ca1098 Limit the text used on each NewsItem 2015-04-09 07:59:48 -03:00
David Capello
ae4542fb92 Add ColorSpectrum widget 2015-04-08 17:28:59 -03:00
David Capello
c571eafdd0 Replace StatusBar progress bars with a slider/progress bar in ui::Alert 2015-04-07 12:18:21 -03:00
David Capello
7a3c0a1eed Minor fixes in style for ButtonSet and StatusBar controls (mini Entry/Slider) 2015-04-07 11:29:36 -03:00
David Capello
ae90e8089c StatusBar: Add cel opacity tooltip 2015-04-07 11:15:45 -03:00
David Capello
41309b369d Add "Frame:" label in StatusBar 2015-04-07 11:15:28 -03:00
David Capello
0576bafaa3 Move animation controls from StatusBar to Timeline 2015-04-07 10:48:04 -03:00
David Capello
fbb660da8d Fix selection parts for ButtonSet 2015-04-07 09:27:24 -03:00
David Capello
82c485a054 StatusBar: Improve animation buttons style using a ButtonSet
Also now the play button changes to a stop button when the animation is
begin played.
2015-04-07 02:29:33 -03:00
David Capello
4fe1e9771e Animation controls always visible in StatusBar 2015-04-07 01:21:31 -03:00
David Capello
486ab7dfc1 Show alpha letter instead of "Alpha" text in StatusBar 2015-04-06 20:11:41 -03:00
David Capello
3546f2c0e7 Add part of the Greek alphabet 2015-04-06 20:11:10 -03:00
David Capello
a42d9d1c00 Add new Editor PlayState so we can have several editors playing animations
With this change we share the logic to play animations between the Preview
window and Enter key/play animation.
2015-04-06 16:12:28 -03:00
David Capello
7448db3959 Add "View > Duplicate View" to create multiple views of the same document 2015-04-06 12:22:20 -03:00
David Capello
b38f116da9 Fix bug in SkinTheme::paintEntry/ComboBoxEntry when scroll is bigger than text length 2015-04-06 11:53:14 -03:00
David Capello
c76a47b33f Add base::concurrent_queue::empty() member function 2015-04-06 11:52:04 -03:00
David Capello
e4667149f4 Make HomeView widget more responsive depending on its current size 2015-04-04 18:19:16 -03:00
David Capello
9157e3dd89 Fix invalid Tabs state where the dragged tab was in two Tabs at the same time
We were able to reach the invalid state moving a tab directly from one
Tabs widget to another one, without passing through the floating state.
2015-04-04 18:16:53 -03:00
David Capello
cd24167158 Minor hack to correctly draw the floating tab 2015-04-04 16:49:06 -03:00
David Capello
76cc5185d8 Add special animation when drop a tab into other Tabs 2015-04-04 16:45:58 -03:00
David Capello
6a56e218f2 Show new tab preview to be docked in other Tabs 2015-04-04 16:25:57 -03:00
David Capello
5cef48c846 Try several times to open the Win32 clipboard when we copy images into it 2015-04-04 14:55:06 -03:00
David Capello
1fe8e97465 Avoid storing a refcounter in SharedPtr if we're pointing to nullptr 2015-04-04 14:54:21 -03:00
David Capello
7ba1138b40 Avoid inconsistent states with Workspace::m_dropPreview* members 2015-04-04 14:53:27 -03:00
David Capello
ecc2f06492 Fix Ctrl+Tab (and Ctrl+Shift+Tab) when we have multiple WorkspaceTabs 2015-04-04 14:40:07 -03:00
David Capello
e6c0353e30 Fix Ctrl+Tab in OS X 2015-04-04 14:35:14 -03:00
David Capello
22c3c4f20e Remove implicit SharedPtr conversion to T* 2015-04-02 20:42:43 -03:00
David Capello
d362f85e98 Minor debug cehck in Tabs::onProcessMessage() 2015-04-02 17:59:08 -03:00
David Capello
c0614f2ff0 Tabs: fix minor issues pressing two buttons or dragging with middle button 2015-04-02 17:13:11 -03:00
David Capello
5afee63f6b Avoid calling Tabs::startAnimation() each time Tabs::setDropViewPreview() is called 2015-04-02 16:38:51 -03:00
David Capello
0ebe764893 Don't change cursor for ui::Splitter if the mouse is captured by other widget 2015-04-02 16:18:01 -03:00
David Capello
ff650597cb Avoid referencing a dead WorkspaceTabs from m_dropPreviewTabs 2015-04-02 16:02:24 -03:00
David Capello
13c06d8541 Fix reordering of tabs in docked WorkspaceTabs 2015-04-02 16:01:45 -03:00
David Capello
7da62f84a1 Split workspace panels 50% when they are docked with other sub-panel 2015-04-02 15:48:38 -03:00
David Capello
e24c03f929 Add possibility to move tabs between different WorkspaceTabs widgets 2015-04-02 15:43:50 -03:00
David Capello
294ff0e4f6 Rename src/app/util/misc.[cpp/h] -> new_image_from_mask.[cpp/h] 2015-04-02 09:55:18 -03:00
David Capello
c7379f6ecf Fix problem redrawing the main Tabs when the last tab is closed
For this, on AnimatedWidget, before we call onAnimationStop(), we
set m_animation to 0 to know that there is no animation in progress.
Tabs depends on m_animation to know if it needs extra space when there
are no more tabs (the extra space is used to show the animation that to
collapse Tabs).
2015-04-02 09:43:52 -03:00
David Capello
8cb1892601 DocumentExporter: Use transparent color to trim transparent layer (fix #622) 2015-04-01 17:43:31 -03:00
David Capello
7c3547f147 Add --crop command line (close #620) 2015-04-01 15:00:32 -03:00
David Capello
20394ceec2 Fix flags to use Skia backend on OS X 2015-04-01 12:37:55 -03:00
David Capello
6e8705eeb3 Remove unused variables in tabs.cpp 2015-04-01 12:35:28 -03:00
David Capello
3d63e0e1b4 Move SharedPtr to base namespace 2015-04-01 12:35:18 -03:00
David Capello
27c7f31175 Replace std::shared_ptr/unique_ptr with SharedPtr/UniquePtr 2015-04-01 11:37:01 -03:00
David Capello
154a79be3c Workspace: Fix bug referencing to a dead panel 2015-04-01 11:35:52 -03:00
David Capello
9f994ad253 Merge branch 'master' of git@github.com:aseprite/aseprite.git 2015-04-01 10:44:33 -03:00
David Capello
9dd944fc76 Add "docked" style for WorkspaceTabs 2015-04-01 10:27:22 -03:00
David Capello
86afa3a568 Add support to dock tabs as other Workspace panels 2015-03-31 17:31:45 -03:00