![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <PokemonInfoWidget.hpp>
Public Member Functions | |
| PokemonInfoWidget () | |
| ~PokemonInfoWidget () | |
| void | Init () |
| void | SetPokemon (Pokemon *pokemon) |
| virtual bool | IsFocusable () const |
Public Member Functions inherited from yap::BaseWidget | |
| BaseWidget () | |
| virtual | ~BaseWidget () |
| virtual void | AddDrawable (IDrawable &drawable) |
| virtual void | AddChild (IWidget &child) |
| virtual void | FrontAddChild (IWidget &child) |
| virtual void | RemoveChild (IWidget &child) |
| virtual IWidget & | GetRoot () const |
| virtual void | SetDefaultColor (const sf::Color &color) |
| virtual void | SetParent (IWidget &parent) |
| virtual void | SetPadding (const Padding &padding) |
| virtual void | SetBackground (WidgetBackground &background) |
| virtual void | SetBorder (WidgetBorder &border, uint width) |
| virtual void | SetBorder (WidgetBorder &border) |
| virtual void | UnsetBackground () |
| virtual void | UnsetBorder () |
| Vector2 | GetUserSize () const |
| virtual void | SetToTop () |
| virtual void | SetEnable (bool enable) |
| virtual void | Open () |
| virtual void | Close () |
| virtual const Vector2 & | GetPosition () const |
| Gets the coordinates in pixels of the origin of this ISpatial from the global origin. | |
| virtual const Vector2 & | GetSize () const |
| Gets the size in pixels of this ISpatial. | |
| virtual const Vector2 & | GetTopLeft () const |
| virtual const Vector2 & | GetBottomRight () const |
| virtual const Vector2 & | GetCenter () const |
| virtual const sf::FloatRect & | GetRectangle () const |
| virtual WidgetBorder * | GetBorder () const |
| virtual void | Move (const Vector2 &offset) |
| virtual void | Scale (const Vector2 &factor) |
| virtual void | SetPosition (const Vector2 &position) |
| virtual void | SetSize (const Vector2 &size) |
| virtual void | Draw (IDrawingContext &context) |
| virtual bool | IsVisible () const |
| virtual void | Show (bool isVisible) |
| virtual void | ChangeColor (const sf::Color &color) |
| virtual bool | OnEvent (const GuiEvent &guiEvent) |
| Treats an event. Transferts the event before treating it. | |
| virtual bool | OnPriorityEvent (const GuiEvent &guiEvent) |
| Treats an event. Treats the event before transfering it. | |
| virtual void | Update (const Time &dt) |
| Makes the object evolve for one frame of the game. | |
Public Member Functions inherited from yap::IWidget | |
| virtual | ~IWidget () |
Public Member Functions inherited from yap::ISpatial | |
| virtual | ~ISpatial () |
Public Member Functions inherited from yap::IDrawable | |
| virtual | ~IDrawable () |
Public Member Functions inherited from yap::IEventHandler | |
| virtual | ~IEventHandler () |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
Protected Member Functions | |
| virtual void | HandleMove (const yap::Vector2 &offset) |
| virtual void | HandleScale (const yap::Vector2 &factor) |
| virtual void | HandleDraw (yap::IDrawingContext &context) |
| virtual void | HandleShow (bool isVisible) |
| virtual void | HandleChangeColor (const sf::Color &color) |
| virtual void | HandleUpdate (const yap::Time &dt) |
| virtual bool | HandleOnEvent (const yap::GuiEvent &guiEvent) |
Protected Member Functions inherited from yap::BaseWidget | |
| void | RefreshBorder () |
| virtual void | SetFocused (bool state) |
| virtual void | Refresh () |
| virtual Vector2 | HandleGetSize () const |
| virtual bool | HandleOnPriorityEvent (const GuiEvent &guiEvent) |
Private Member Functions | |
| DISALLOW_COPY (PokemonInfoWidget) | |
Private Attributes | |
| Pokemon * | pokemon_ |
| yap::UInt8 | pageNumber_ |
| yap::collection::Array < IPokemonSummaryWidget * > | pokemonInfoPages_ |
Definition at line 13 of file PokemonInfoWidget.hpp.
| ycl::PokemonInfoWidget::PokemonInfoWidget | ( | ) |
| ycl::PokemonInfoWidget::~PokemonInfoWidget | ( | ) |
Definition at line 32 of file PokemonInfoWidget.cpp.
|
private |
|
protectedvirtual |
Reimplemented from yap::BaseWidget.
Definition at line 134 of file PokemonInfoWidget.cpp.
|
protectedvirtual |
Reimplemented from yap::BaseWidget.
Definition at line 126 of file PokemonInfoWidget.cpp.
|
protectedvirtual |
Reimplemented from yap::BaseWidget.
Definition at line 116 of file PokemonInfoWidget.cpp.
|
protectedvirtual |
Reimplemented from yap::BaseWidget.
Definition at line 63 of file PokemonInfoWidget.cpp.
|
protectedvirtual |
Reimplemented from yap::BaseWidget.
Definition at line 121 of file PokemonInfoWidget.cpp.
|
protectedvirtual |
Reimplemented from yap::BaseWidget.
Definition at line 130 of file PokemonInfoWidget.cpp.
|
protectedvirtual |
Reimplemented from yap::BaseWidget.
Definition at line 138 of file PokemonInfoWidget.cpp.
| void ycl::PokemonInfoWidget::Init | ( | ) |
Definition at line 38 of file PokemonInfoWidget.cpp.
|
virtual |
Implements yap::BaseWidget.
Definition at line 58 of file PokemonInfoWidget.cpp.
| void ycl::PokemonInfoWidget::SetPokemon | ( | Pokemon * | pokemon | ) |
|
private |
Definition at line 28 of file PokemonInfoWidget.hpp.
|
private |
Definition at line 27 of file PokemonInfoWidget.hpp.
|
private |
Definition at line 29 of file PokemonInfoWidget.hpp.