Athena IO Library
athena::WiiBanner Class Reference

Wii banner container class. More...

#include <WiiBanner.hpp>

Collaboration diagram for athena::WiiBanner:
Collaboration graph

Public Types

enum  { NoCopy = 0x00000001, Bounce = 0x00000010, NoCopyBounce = NoCopy | Bounce }
 

Public Member Functions

 WiiBanner ()
 WiiBanner.
 
 WiiBanner (atUint32 gameId, const std::string &title, const std::string &subtitle, WiiImage *m_banner, std::vector< WiiImage * > icons)
 WiiBanner. More...
 
void setGameID (atUint64 id)
 setGameID More...
 
atUint64 gameID () const
 gameID More...
 
void setBannerImage (WiiImage *banner)
 setBannerImage More...
 
WiiImagebannerImage () const
 bannerImage More...
 
void setBannerSize (atUint32 size)
 setBannerSize More...
 
atUint32 bannerSize () const
 bannerSize More...
 
void setTitle (const std::string &title)
 setTitle More...
 
std::string title () const
 title More...
 
void setSubtitle (const std::string &subtitle)
 setSubtitle More...
 
std::string subtitle () const
 subtitle More...
 
void addIcon (WiiImage *icon)
 addIcon More...
 
void setIcon (atUint32 id, WiiImage *icon)
 setIcon More...
 
WiiImagegetIcon (atUint32 id) const
 getIcon More...
 
std::vector< WiiImage * > icons () const
 icons More...
 
void setAnimationSpeed (atUint16 animSpeed)
 setAnimationSpeed More...
 
atUint16 animationSpeed () const
 animationSpeed More...
 
void setPermissions (atUint8 permissions)
 setPermissions More...
 
atUint8 permissions () const
 permissions More...
 
void setFlags (atUint32 flags)
 setFlags More...
 
atUint32 flags () const
 flags More...
 

Detailed Description

Wii banner container class.

Contains all relevant data for a Wii banner.

Definition at line 16 of file WiiBanner.hpp.

Constructor & Destructor Documentation

athena::WiiBanner::WiiBanner ( atUint32  gameId,
const std::string &  title,
const std::string &  subtitle,
WiiImage m_banner,
std::vector< WiiImage * >  icons 
)

WiiBanner.

Parameters
gameId
title
subtitle
m_banner
icons

Member Function Documentation

void athena::WiiBanner::addIcon ( WiiImage icon)

addIcon

Parameters
icon
atUint16 athena::WiiBanner::animationSpeed ( ) const

animationSpeed

Returns
WiiImage* athena::WiiBanner::bannerImage ( ) const

bannerImage

Returns
atUint32 athena::WiiBanner::bannerSize ( ) const

bannerSize

Returns
atUint32 athena::WiiBanner::flags ( ) const

flags

Returns
atUint64 athena::WiiBanner::gameID ( ) const

gameID

Returns
WiiImage* athena::WiiBanner::getIcon ( atUint32  id) const

getIcon

Parameters
id
Returns
std::vector<WiiImage*> athena::WiiBanner::icons ( ) const

icons

Returns
atUint8 athena::WiiBanner::permissions ( ) const

permissions

Returns
void athena::WiiBanner::setAnimationSpeed ( atUint16  animSpeed)

setAnimationSpeed

Parameters
animSpeed
void athena::WiiBanner::setBannerImage ( WiiImage banner)

setBannerImage

Parameters
banner
void athena::WiiBanner::setBannerSize ( atUint32  size)

setBannerSize

Parameters
size
void athena::WiiBanner::setFlags ( atUint32  flags)

setFlags

Parameters
flags
void athena::WiiBanner::setGameID ( atUint64  id)

setGameID

Parameters
id
void athena::WiiBanner::setIcon ( atUint32  id,
WiiImage icon 
)

setIcon

Parameters
id
icon
void athena::WiiBanner::setPermissions ( atUint8  permissions)

setPermissions

Parameters
permissions
void athena::WiiBanner::setSubtitle ( const std::string &  subtitle)

setSubtitle

Parameters
subtitle
void athena::WiiBanner::setTitle ( const std::string &  title)

setTitle

Parameters
title
std::string athena::WiiBanner::subtitle ( ) const

subtitle

Returns
std::string athena::WiiBanner::title ( ) const

title

Returns

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