David Capello
b534f955ec
Merge branch 'anticrash'
2015-04-09 13:51:39 -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
21a57ff793
Add "data recovery period" option
2015-04-09 07:46:55 -03:00
David Capello
956ae0c565
Minor fix in Options dialog
2015-04-08 21:58:46 -03:00
David Capello
9b692cb14a
Add option to disable data recovery
2015-04-08 20:28:30 -03:00
David Capello
a4478e9306
Add UI and logic to recover a backup session
...
Changes:
* Add DataRecoveryView
* Split SubObjectsIO into an interface and SubObjectsFromSprite
* Add a "setId" parameter to some doc::read_* functions (we need this
functionality from session recovery)
2015-04-08 20:05:05 -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
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
3546f2c0e7
Add part of the Greek alphabet
2015-04-06 20:11:10 -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
e4667149f4
Make HomeView widget more responsive depending on its current size
2015-04-04 18:19:16 -03:00
David Capello
e6c0353e30
Fix Ctrl+Tab in OS X
2015-04-04 14:35:14 -03:00
David Capello
9dd944fc76
Add "docked" style for WorkspaceTabs
2015-04-01 10:27:22 -03:00
David Capello
fc48164f9d
Make bitmap font rendering independent on Allegro FONT
...
* Change font.png/minifont.png to RGBA to simplify bitmap font reader
* Add she::LockedSurface::drawColoredRgbaSurface()
* Add CommonLockedSurface and CommonFont
* Remove she::System::defaultFont()
* Add she::System::loadBitmapFont()
2015-03-24 09:18:23 -03:00
David Capello
fd62a60472
Save ColorBar box size in preferences
2015-03-23 14:39:21 -03:00
David Capello
e2b8d2be31
Draw PaletteView selection like Timeline selection
2015-03-19 19:45:12 -03:00
David Capello
7d104f9ec1
Add timeline_outline_width dimension in skin.xml
2015-03-19 19:23:12 -03:00
David Capello
9302c5d1bb
Move logic to import sprite sheet inside ImportSpriteSheetCommand::onExecute
2015-03-19 16:20:33 -03:00
David Capello
c2c83a8d54
Import Sprite Sheet: select current document by default
2015-03-19 15:52:20 -03:00
David Capello
db17bacff3
Remember settings used to import a sprite sheet
2015-03-19 15:44:02 -03:00
David Capello
be1ed24847
Add import_sprite_sheet.xml widget
2015-03-19 15:21:28 -03:00
David Capello
9d3d3d1f17
Add padding parameters to export sprite sheet (related to #78 )
2015-03-19 14:39:37 -03:00
David Capello
63485449f6
Add an option in "Export Sprite Sheet" to open the generated sprite sheet
2015-03-19 10:17:40 -03:00
David Capello
f475378d38
Add possibility to duplicate the current cel only (Alt+M)
2015-03-17 18:19:41 -03:00
David Capello
50e9ed6326
Unify "Export Sprite Sheet" command with DocumentExporter
2015-03-17 16:43:51 -03:00
David Capello
602ca6a7b7
Center icons of timeline
...
Just in case we want to make timeline's cels biggers in the future.
2015-03-12 17:25:04 -03:00
David Capello
d36f10ee02
Add "Set Loop Section" option in frame popup menu
2015-03-12 15:37:09 -03:00
David Capello
a9fae58a98
Fix style for recent files/paths to avoid line breaks
2015-03-11 18:06:54 -03:00
David Capello
0cb4b2234d
Always load params when a command is executed
...
This is to avoid leaving commands with old params (a problem with
keyboard shortcuts). To make sure, we've changed arguments from Params*
to Params&, so we always have params to load.
Also, in this change we introduce a new way to give parameters to executed
commands from menu items using AppMenuItem::setContextParams(). Before
showing a popup, we can call setContextParams() to give extra params to
the command (e.g. the specific FrameTag to remove or change properties).
In this way "contextparams" attribute for <item> in gui.xml is not
available anymore.
2015-03-11 15:40:22 -03:00
David Capello
f26183a82a
Remove loop configuration from ConfigureTimelinePopup
2015-03-10 17:13:06 -03:00
David Capello
1177e02609
Add popup menu to FrameTags in the Timeline
...
Add a new contextparams attribute to menu items in gui.xml that are feed
by the UI with params (e.g. the FrameTag popup needs to know what exact
tag we should edit, and it's a command Param provided by the Timeline).
2015-03-10 16:44:18 -03:00
David Capello
58d302749c
Use a FrameTag for the loop section ( fix #557 )
...
Changes:
* Paint FrameTags in Timeline with labels
* Add app::ui::FrameTagWindow
* Fix FrameTag::m_aniDir initialization
* Add warning for files that doesn't support frame tags
* Remove document preferences related to the active loop
2015-03-09 13:57:54 -03:00
David Capello
361a3084fd
Merge branch 'new-workspace'
...
Conflicts:
src/app/commands/cmd_open_file.cpp
Fixes:
src/app/ui/timeline.cpp
2015-03-04 22:41:34 -03:00
David Capello
057532e7d7
Cache RSS news file
2015-03-04 19:24:37 -03:00
David Capello
200e612670
Simplify Workspace implementation removing the possibility to split views/tabs
...
It's confusing to see two tabs when we split the view. In the future we
should be able to move tabs to create a split view.
2015-03-04 17:23:40 -03:00
David Capello
37781c99ea
Show blog posts in NewsListBox
2015-03-02 19:54:24 -03:00
David Capello
b8ed98bd8b
Add native file open/save dialog (only win32 at the moment, issue #321 )
2015-03-02 16:07:35 -03:00
David Capello
8f8291a39b
Hide colorbar and toolbar when we're in Home tab
2015-03-02 14:43:44 -03:00
David Capello
6862e02805
Add list of recent files and folders in Home tab
...
* Add LinkLabel::onClick()
* Use Widget instead of ListItem in ListBox API
* Add TextRule::padding() and use it to calculate the preferred size
for a skin::Style's rules
2015-03-02 11:18:33 -03:00
David Capello
bf27db12e6
Make the "new update" link more noticeable (using a special style)
2015-02-27 20:45:15 -03:00
David Capello
35623cae88
Move "new update" notification from menu bar to HomeView
2015-02-26 12:28:26 -03:00
David Capello
8eb8122bc0
Add widgets to HomeView (icon, new file, open file, and list boxes)
...
* Add widgets/home_view.xml
* Add possibility to specify style="..." and border="..." in XML widgets
* Add SkinStyleProperty
* Remove Label::get/setTextColor() (replaced with styles)
* Add <image> widget in WidgetLoader
* Paint labels, link labels, and views with styles
2015-02-26 09:53:19 -03:00
David Capello
8c6f55cc41
Add support to reorder tabs ( close #118 )
2015-02-24 20:10:22 -03:00
David Capello
ff66ea025c
Add support to close Home tab with middle mouse button or right-click popup menu
2015-02-22 21:18:53 -03:00
David Capello
2dac7f3869
Add Frame Tags Properties dialog/command
2015-02-20 11:42:59 -03:00
David Capello
b52bcd8c95
Fix close icon style after clicking tabs
2015-02-20 08:53:52 -03:00
David Capello
6064debe13
Add support to close any kind of WorkspaceView (HomeView and DevConsoleView)
...
* Add WorkspaceView::onCloseView() member function
* Now DevConsoleView is inside MainWindow (just like HomeView)
2015-02-19 22:14:06 -03:00
David Capello
e850c8dbb0
Add an icon to "Home" tab
2015-02-19 21:44:22 -03:00
David Capello
b2ccf7a017
Add copyright in gui.xml
2015-02-19 20:30:04 -03:00