Commit Graph

19 Commits

Author SHA1 Message Date
David Capello e24c03f929 Add possibility to move tabs between different WorkspaceTabs widgets 2015-04-02 15:43:50 -03:00
David Capello 154a79be3c Workspace: Fix bug referencing to a dead panel 2015-04-01 11:35:52 -03:00
David Capello 86afa3a568 Add support to dock tabs as other Workspace panels 2015-03-31 17:31:45 -03:00
David Capello 11abb11f9b Add animation to Workspace preview drop area 2015-03-27 19:42:18 -03:00
David Capello 43f992bf8d Don't call layout() for each mouse move to preview Workspace drop area 2015-03-27 18:45:36 -03:00
David Capello 2cfef9e250 Add feedback to Workspace to drop tabs on it 2015-03-27 18:14:00 -03:00
David Capello 94b91424f8 Add Workspace::m_tabsBar field 2015-03-27 17:26:04 -03:00
David Capello f9a444aed7 Show "Home" tab in first position when we open a file from command line 2015-03-18 17:34:22 -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 952e98dcae Fix tab selection after closing a reordered tab 2015-03-03 09:33:59 -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 881667f01b Replaced app::skin::ThemeColor with app::gen::SkinTheme::Colors
Generate app::gen::SkinFile class from skin.xml to automate creation
of ID references.
2015-02-15 15:29:16 -03:00
David Capello 2c6067f7e4 Update license of app/ module to GPLv2 2015-02-12 12:16:25 -03:00
David Capello 81ffb0c5bd Refactor: Create doc::Context and move some logic from app::Document to doc::Document
The objective of these changes is to create a more testable doc/logic API.

Included changes:
- Added doc::Context, doc::Documents (the old app::Documents),
  and doc::Sprites (and observers for each)
- Added raster::Sprite::createBasicSprite()
- Added doc::ColorMode (equal to raster::PixelFormat)
- Added some methods to doc::Document: context(), sprites(), sprite()
  (to replace app::Document::getSprite()), width/height(), colorMode(),
  name(), and close()
- Moved app::DocumentObserver/Event to doc::DocumentObserver/Event
- Replaced app::ContextObserver with doc::DocumentsObserver and a couple
  of signals.
- Renamed app::Context::getActiveDocument() with
  doc::Context::activeDocument()
- Renamed app::Context::getActiveLocation() with
  app::Context::activeLocation()
- Removed app::ContextObserverList
- Removed app::DocumentId (now we can use doc::ObjectId)
- Removed app::Context::getSettings()
2014-07-29 00:53:24 -03:00
David Capello 3322396357 Minor fixes 2014-04-20 17:41:59 -03:00
David Capello dd2839a49a Add app::StartView (work-in-progress) 2014-02-02 20:55:32 -03:00
David Capello c2e50acb0b Fix issue 298: Crash on quit with multiple viewports open 2014-01-26 11:22:23 -03:00
David Capello cde54f3682 Change BSD license to MIT in sublibraries and fix headers 2013-08-08 21:01:20 -03:00
David Capello c88f9b172b Refactor: Move app files to src/app subdirectory inside app namespace
- Add HAVE_CONFIG_H wrapper to #include "config.h"
- Removed widgets namespace (it's in app now)
- Move some functions from src/file/file.h to src/base/cfile.h
- Move Vector2d to base library
- Rename MenuItem2 to AppMenuItem
2013-08-05 21:20:19 -03:00