MyGUI 3.4.3
MyGUI_ResourceImageSetPointer.h
Go to the documentation of this file.
1/*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7#ifndef MYGUI_RESOURCE_IMAGE_SET_POINTER_H_
8#define MYGUI_RESOURCE_IMAGE_SET_POINTER_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_IPointer.h"
13
14namespace MyGUI
15{
16
18 {
20
21 public:
22 void deserialization(xml::ElementPtr _node, Version _version) override;
23
24 void setImage(ImageBox* _image) override;
25 void setPosition(ImageBox* _image, const IntPoint& _point) override;
26
27 private:
28 IntPoint mPoint;
29 IntSize mSize;
30 ResourceImageSetPtr mImageSet{nullptr};
31 };
32
33} // namespace MyGUI
34
35#endif // MYGUI_RESOURCE_IMAGE_SET_POINTER_H_
#define MYGUI_EXPORT
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition MyGUI_RTTI.h:69
widget description should be here.