cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LayoutParameterProtocol Class Referenceabstract

Protocol for getting a LayoutParameter. More...

#include <UILayoutParameter.h>

Inheritance diagram for LayoutParameterProtocol:
Widget VideoPlayer WebView Button CheckBox EditBox ImageView Layout LoadingBar RichText Slider Text TextAtlas TextBMFont TextField

Public Member Functions

virtual ~LayoutParameterProtocol ()
 Default destructor. More...
virtual LayoutParametergetLayoutParameter () const =0

Detailed Description

Protocol for getting a LayoutParameter.

Every element want to have layout parameter should inherit from this class.

Constructor & Destructor Documentation

virtual ~LayoutParameterProtocol ( )

Default destructor.

Member Function Documentation

virtual LayoutParameter*
( ) const
pure virtual
A LayoutParameter and its descendant pointer.

Implemented in Widget.

The documentation for this class was generated from the following file: