Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Attributes
anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory Class Reference
Inheritance diagram for anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory:
Inheritance graph
[legend]
Collaboration diagram for anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory:
Collaboration graph
[legend]

Public Member Functions

 TestPageFactory (ToolkitTestApplication &application)
 
virtual unsigned int GetNumberOfPages ()
 Query the number of pages available from the factory. More...
 
virtual Actor NewPage (unsigned int pageId)
 Create an image actor to represent a page. More...
 
void DeletePage (unsigned int pageId)
 
- Public Member Functions inherited from Dali::Toolkit::PageFactory
virtual ~PageFactory ()
 Virtual destructor .4. More...
 

Private Attributes

ToolkitTestApplicationmApplication
 
std::vector< ActormSourceActors
 
unsigned int mTotalPageNumber
 

Detailed Description

Definition at line 189 of file utc-Dali-PageTurnView.cpp.

Constructor & Destructor Documentation

anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory::TestPageFactory ( ToolkitTestApplication application)
inline

Member Function Documentation

void anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory::DeletePage ( unsigned int  pageId)
inline

Definition at line 235 of file utc-Dali-PageTurnView.cpp.

virtual unsigned int anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory::GetNumberOfPages ( )
inlinevirtual

Query the number of pages available from the factory.

The maximum available page has an ID of GetNumberOfPages()-1.

Implements Dali::Toolkit::PageFactory.

Definition at line 204 of file utc-Dali-PageTurnView.cpp.

virtual Actor anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory::NewPage ( unsigned int  pageId)
inlinevirtual

Create an image actor to represent a page.

Parameters
[in]pageIdThe ID of the page to create.
Returns
An image actor, or an uninitialized pointer if the ID is out of range.

Implements Dali::Toolkit::PageFactory.

Definition at line 214 of file utc-Dali-PageTurnView.cpp.

References Dali::Actor::Add(), Dali::Color::BLUE, Dali::ParentOrigin::CENTER, Dali::AnchorPoint::CENTER, CreateSolidColorImageActor(), Dali::Actor::SetAnchorPoint(), Dali::Actor::SetName(), and Dali::Actor::SetParentOrigin().

Here is the call graph for this function:

Member Data Documentation

ToolkitTestApplication& anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory::mApplication
private

Definition at line 242 of file utc-Dali-PageTurnView.cpp.

std::vector<Actor> anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory::mSourceActors
private

Definition at line 243 of file utc-Dali-PageTurnView.cpp.

unsigned int anonymous_namespace{utc-Dali-PageTurnView.cpp}::TestPageFactory::mTotalPageNumber
private

Definition at line 244 of file utc-Dali-PageTurnView.cpp.


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali