1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
/*!
@file
@author Georgiy Evmenov
@date 09/2008
*/
#ifndef _2a91cb5d_1a78_495b_8cb7_e46b12a29395_
#define _2a91cb5d_1a78_495b_8cb7_e46b12a29395_
#include "BaseLayout/BaseLayout.h"
#include "PanelView.h"
#include "PanelMainProperties.h"
#include "PanelProperties.h"
#include "PanelItems.h"
#include "PanelUserData.h"
#include "PanelControllers.h"
#include "EditorToolTip.h"
#include "PanelTemplateProperties.h"
#include "PanelExtensionProperties.h"
namespace tools
{
class PropertiesPanelView :
public wraps::BaseLayout
{
public:
PropertiesPanelView(MyGUI::Widget* _parent = nullptr);
virtual ~PropertiesPanelView();
private:
void notifyChangeSelectedWidget(MyGUI::Widget* _currentWidget);
void notifyWindowChangeCoord(MyGUI::Window* _sender);
PanelProperties* getPropertyWindow(WidgetStyle* _style, size_t _depth);
size_t getIndexByDepth(size_t _depth);
size_t getIndexPanel(PanelProperties* _panel);
private:
MyGUI::IntSize mOldSize;
PanelView* mPanelView;
PanelMainProperties* mPanelMainProperties;
typedef std::map<WidgetStyle*, PanelProperties*> MapPropertyWindow;
MapPropertyWindow mMapPropertyWindow;
PanelItems* mPanelItems;
PanelUserData* mPanelUserData;
PanelControllers* mPanelControllers;
PanelTemplateProperties* mPanelTemplateProperties;
PanelExtensionProperties* mPanelExtensionProperties;
MyGUI::Widget* mCurrentWidget;
};
}
#endif
|