You.i Engine
YiStackLayout.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_STACK_LAYOUT_H_
3 #define _YI_STACK_LAYOUT_H_
4 
6 
30 {
31 public:
33  virtual ~CYIStackLayout();
34 
35 protected:
36  virtual void OnMeasure(const CYISceneNode::MeasureSpec &widthSpec, const CYISceneNode::MeasureSpec &heightSpec, const CYISceneNode::MeasureSpec &depthSpec) override;
37 
38  virtual void OnApplyMeasurements() override;
39 
41 };
42 
45 #endif // _YI_STACK_LAYOUT_H_
virtual void OnMeasure(const CYISceneNode::MeasureSpec &widthSpec, const CYISceneNode::MeasureSpec &heightSpec, const CYISceneNode::MeasureSpec &depthSpec) override
Definition: YiSceneNode.h:373
virtual ~CYIStackLayout()
A layout that can animate its children's position and size.
Definition: YiAnimatingLayout.h:67
A layout that positions all of its children in a 'stack'.
Definition: YiStackLayout.h:29
#define YI_TYPE_BASES(CLASS, BASES...)
Definition: YiRtti.h:257
virtual void OnApplyMeasurements() override