2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef XSHHANDLEMANAGER_INCLUDED
|
|
|
|
#define XSHHANDLEMANAGER_INCLUDED
|
|
|
|
|
|
|
|
#include "toonz/tstageobjecttree.h"
|
|
|
|
|
|
|
|
//===============================================================
|
|
|
|
|
|
|
|
// Forward declarations
|
|
|
|
|
|
|
|
class TXsheet;
|
|
|
|
class ToonzScene;
|
|
|
|
|
|
|
|
//===============================================================
|
|
|
|
|
|
|
|
//*********************************************************************************
|
|
|
|
// XshHandleManager declaration
|
|
|
|
//*********************************************************************************
|
|
|
|
|
2016-06-29 18:17:12 +12:00
|
|
|
class XshHandleManager final : public HandleManager {
|
2016-06-15 18:43:10 +12:00
|
|
|
TXsheet *m_xsh;
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
public:
|
2016-06-15 18:43:10 +12:00
|
|
|
XshHandleManager(TXsheet *xsh) : m_xsh(xsh) {}
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
TPointD getHandlePos(const TStageObjectId &id, const std::string &handle,
|
2016-06-19 20:06:29 +12:00
|
|
|
int row) const override;
|
2016-03-19 06:57:51 +13:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|