Commit Graph

3046 Commits

Author SHA1 Message Date
David Capello
fd920eb85a Merge remote-tracking branch 'origin/master' 2015-03-10 20:03:20 -03:00
David Capello
675c598fdd Initialize m_tagId field in RemoveFrameTagCommand/FrameTagProperties 2015-03-10 19:40:19 -03:00
David Capello
311bb21bd4 Avoid accesing to a deleted FrameTag after FrameTagPopup 2015-03-10 19:28:45 -03:00
David Capello
a504ba3783 Delete all 'FrameTag's in ~FrameTags 2015-03-10 19:28:21 -03:00
David Capello
4588579e25 Redraw editor when onionskin preferences are changed
We have added a Before/AfterChange signals to preference Sections.
2015-03-10 19:05:20 -03:00
David Capello
1780a13ed4 Fix Timeline crash when there is no selected sprite 2015-03-10 18:57:34 -03:00
David Capello
f26183a82a Remove loop configuration from ConfigureTimelinePopup 2015-03-10 17:13:06 -03:00
David Capello
6d12deafe6 Use ObjectId to identify FrameTags in the Timeline/frame tags commands 2015-03-10 17:04:55 -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
7c3e8326e6 Clicking on a tag name shows its properties 2015-03-10 16:25:20 -03:00
David Capello
2c408e4c98 Fix linking with libcurl from a Visual Studio solution (again, fix #606) 2015-03-10 13:50:12 -03:00
David Capello
d908479d45 Rename A_PART_* constants to PART_* in timeline.cpp 2015-03-09 17:12:10 -03:00
David Capello
edca57cb4a Add Timeline::Hit structure 2015-03-09 16:41:03 -03:00
David Capello
1f4400b943 Keep FrameTags in order 2015-03-09 15:56:04 -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
e09cdd67cb Add support to compile with VS2013 x64 2015-03-06 17:01:08 -03:00
David Capello
b23194dfae Fix several warnings in MSVC, clang, and gcc 2015-03-05 15:19:00 -03:00
David Capello
5c1f2a55a5 Avoid MSVC warning using std::copy() 2015-03-05 14:37:16 -03:00
David Capello
7da6f3e857 Minor changes to some #include header files 2015-03-05 12:40:47 -03:00
David Capello
69d78a0add Add missing std:: so gcc on Linux works just fine (related to #604) 2015-03-04 23:24:01 -03:00
David Capello
2c7fe41d6d Fix minor problems with clang 2015-03-04 22:57:55 -03:00
David Capello
39f344fd11 Fix app::gen::SkinFile class generator for gcc compiler 2015-03-04 22:50:32 -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
75ad9552e4 Make undo_tests.cpp compile on OS X with SDK 4.4u 2015-03-04 21:35:46 -03:00
David Capello
ad856b2a55 Use std:: when necessary, and std::numeric_limits instead of INT_MAX 2015-03-04 21:35:11 -03:00
David Capello
e822ddba4c Fix compilation problems with time structures on Linux 2015-03-04 19:42:48 -03:00
David Capello
f0ab007144 Include required base/time.h to use Time class in fs_unix.h 2015-03-04 19:33:54 -03:00
David Capello
f3309ec52b Fix compilation problem on Linux (fix #604) 2015-03-04 19:32:39 -03:00
David Capello
15b0b86339 Remove extra token after #endif 2015-03-04 19:26:35 -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
b7f69186bb Add Widget::removeAllChildren() member function 2015-03-04 16:38:01 -03:00
David Capello
952e98dcae Fix tab selection after closing a reordered tab 2015-03-03 09:33:59 -03:00
David Capello
4690844d60 Fix crash closing the program when there is no tab (introduced in 1087cb84cf) 2015-03-03 09:26:24 -03:00
David Capello
a2e0be19d8 Tabs: Fix drawing of m_removedTab 2015-03-03 09:25:18 -03:00
David Capello
122bf1dd1c Clip tab icon on Tabs::drawTab() 2015-03-03 09:11:37 -03:00
David Capello
1087cb84cf Don't shrink Tabs area until the last tab animation ends 2015-03-03 09:07:49 -03:00
David Capello
4c8ef458c9 Load news in background thread 2015-03-03 08:56:44 -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
6c826a6281 Support floating point number of days to wait for next "check updates" 2015-02-28 11:43:11 -03:00
David Capello
5e00653b38 Change David Capello's home page URL 2015-02-27 21:04:19 -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
ccb86ff08b Fix execution of commands in HomeView
Without this change, OpenFile command will open the latest opened file
when we click "Open File..." link again.
2015-02-26 11:08:23 -03:00
David Capello
59d10f590e Fix bug in WidgetLoader::fillWidgetWithXmlElementAttributes() 2015-02-26 11:05:52 -03:00
David Capello
f3aa6bc2ae Fix the DevConsole view style 2015-02-26 10:01:53 -03:00
David Capello
660b23e471 Remove "notification area" from StatusBar (the "donate" link) 2015-02-26 10:01:04 -03:00