mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-22 13:23:53 +00:00
75 lines
1.8 KiB
C
75 lines
1.8 KiB
C
|
/*!
|
|||
|
@file
|
|||
|
@author Albert Semenov
|
|||
|
@date 02/2008
|
|||
|
@module
|
|||
|
*/
|
|||
|
/*
|
|||
|
This file is part of MyGUI.
|
|||
|
|
|||
|
MyGUI is free software: you can redistribute it and/or modify
|
|||
|
it under the terms of the GNU Lesser General Public License as published by
|
|||
|
the Free Software Foundation, either version 3 of the License, or
|
|||
|
(at your option) any later version.
|
|||
|
|
|||
|
MyGUI is distributed in the hope that it will be useful,
|
|||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|||
|
GNU Lesser General Public License for more details.
|
|||
|
|
|||
|
You should have received a copy of the GNU Lesser General Public License
|
|||
|
along with MyGUI. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
*/
|
|||
|
#ifndef __MYGUI_OVERLAPPED_LAYER_H__
|
|||
|
#define __MYGUI_OVERLAPPED_LAYER_H__
|
|||
|
|
|||
|
#include "MyGUI_Prerequest.h"
|
|||
|
#include "MyGUI_Types.h"
|
|||
|
#include "MyGUI_ILayer.h"
|
|||
|
|
|||
|
namespace MyGUI
|
|||
|
{
|
|||
|
|
|||
|
class MYGUI_EXPORT OverlappedLayer :
|
|||
|
public ILayer
|
|||
|
{
|
|||
|
MYGUI_RTTI_DERIVED( OverlappedLayer )
|
|||
|
|
|||
|
public:
|
|||
|
OverlappedLayer();
|
|||
|
virtual ~OverlappedLayer();
|
|||
|
|
|||
|
virtual void deserialization(xml::ElementPtr _node, Version _version);
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
|||
|
virtual ILayerNode* createChildItemNode();
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
|||
|
virtual void destroyChildItemNode(ILayerNode* _node);
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
|||
|
virtual void upChildItemNode(ILayerNode* _node);
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
virtual EnumeratorILayerNode getEnumerator();
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
virtual ILayerItem* getLayerItemByPoint(int _left, int _top);
|
|||
|
|
|||
|
virtual IntPoint getPosition(int _left, int _top) const;
|
|||
|
|
|||
|
virtual const IntSize& getSize() const;
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
virtual void renderToTarget(IRenderTarget* _target, bool _update);
|
|||
|
|
|||
|
virtual void dumpStatisticToLog();
|
|||
|
|
|||
|
protected:
|
|||
|
bool mIsPick;
|
|||
|
VectorILayerNode mChildItems;
|
|||
|
};
|
|||
|
|
|||
|
} // namespace MyGUI
|
|||
|
|
|||
|
#endif // __MYGUI_OVERLAPPED_LAYER_H__
|