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

Base class for managing layout. More...

#include <UILayoutManager.h>

Inheritance diagram for LayoutManager:
Ref LinearHorizontalLayoutManager LinearVerticalLayoutManager RelativeLayoutManager

Public Member Functions

virtual ~LayoutManager ()
 LayoutManager ()
virtual void doLayout (LayoutProtocol *layout)=0
 The interface does the actual layouting work. More...
 
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 Destructor. More...
 

Friends

class Layout

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Detailed Description

Base class for managing layout.

All the concret layout manager should inherit from this class.

Constructor & Destructor Documentation

virtual ~LayoutManager ( )
inlinevirtual
LayoutManager ( )
inline

Member Function Documentation

virtual void doLayout ( LayoutProtocol layout)
pure virtual

The interface does the actual layouting work.

Friends And Related Function Documentation

friend class Layout
friend

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