YAPOG  0.0.1
Yet Another Pokemon Online Game
ycl::PokemonStatsInfoWidget Class Reference

#include <PokemonStatsInfoWidget.hpp>

Inheritance diagram for ycl::PokemonStatsInfoWidget:
Collaboration diagram for ycl::PokemonStatsInfoWidget:

List of all members.

Public Member Functions

 PokemonStatsInfoWidget ()
virtual void Init ()
virtual void SetPokemon (const Pokemon &pokemon)
- Public Member Functions inherited from ycl::IPokemonSummaryWidget
virtual ~IPokemonSummaryWidget ()
- 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 IWidgetGetRoot () 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 Vector2GetPosition () const
 Gets the coordinates in pixels of the origin of this ISpatial from the global origin.
virtual const Vector2GetSize () const
 Gets the size in pixels of this ISpatial.
virtual const Vector2GetTopLeft () const
virtual const Vector2GetBottomRight () const
virtual const Vector2GetCenter () const
virtual const sf::FloatRect & GetRectangle () const
virtual WidgetBorderGetBorder () 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 ()

IWidget members.

{

yap::Labelhp_
yap::Labelattack_
yap::Labeldefense_
yap::LabelspecialAttack_
yap::LabelspecialDefense_
yap::Labelspeed_
yap::LabelexperiencePointLabel_
yap::LabelexperiencePoint_
yap::LabelnextLevelPointLabel_
yap::LabelnextLevelPoint_
yap::PictureBoxtype1_
yap::PictureBoxtype2_
yap::VerticalLayoutmainLayout_
yap::HorizontalLayoutfirstLine_
yap::VerticalLayoutfirstLinePartRight_
yap::VerticalLayouthpLayout_
yap::VerticalLayoutstatsLayout_
yap::VerticalLayoutexperienceLayout_
yap::HorizontalLayoutexperiencePointLayout_
yap::VerticalLayoutexperiencePointLabelLayout_
yap::VerticalLayoutexperiencePointNumberLayout_
yap::HorizontalLayoutnextLevelPointLayout_
yap::VerticalLayoutnextLevelPointLabelLayout_
yap::VerticalLayoutnextLevelPointNumberLayout_
yap::VerticalLayoutcapacityAndExperienceGlobalLayout_
yap::HorizontalLayoutcapacityAndExperienceLayout_
yap::VerticalLayoutcapacityLayout_
yap::VerticalLayoutexperienceBarLayout_
PokemonFrontInfoWidget pokemonFrontInfoWidget_
PokemonExperienceBarWidget experienceBarWidget_
virtual bool IsFocusable () const
virtual void HandleMove (const yap::Vector2 &offset)
 }
virtual void HandleScale (const yap::Vector2 &factor)
virtual void HandleDraw (yap::IDrawingContext &offset)
virtual void HandleShow (bool isVisible)
virtual void HandleChangeColor (const sf::Color &color)
virtual void HandleUpdate (const yap::Time &dt)

Detailed Description

Definition at line 14 of file PokemonStatsInfoWidget.hpp.


Constructor & Destructor Documentation

ycl::PokemonStatsInfoWidget::PokemonStatsInfoWidget ( )

Definition at line 17 of file PokemonStatsInfoWidget.cpp.


Member Function Documentation

void ycl::PokemonStatsInfoWidget::HandleChangeColor ( const sf::Color &  color)
protectedvirtual

Reimplemented from yap::BaseWidget.

Definition at line 335 of file PokemonStatsInfoWidget.cpp.

void ycl::PokemonStatsInfoWidget::HandleDraw ( yap::IDrawingContext offset)
protectedvirtual

Reimplemented from yap::BaseWidget.

Definition at line 327 of file PokemonStatsInfoWidget.cpp.

void ycl::PokemonStatsInfoWidget::HandleMove ( const yap::Vector2 offset)
protectedvirtual

}

Reimplemented from yap::BaseWidget.

Definition at line 319 of file PokemonStatsInfoWidget.cpp.

void ycl::PokemonStatsInfoWidget::HandleScale ( const yap::Vector2 factor)
protectedvirtual

Reimplemented from yap::BaseWidget.

Definition at line 323 of file PokemonStatsInfoWidget.cpp.

void ycl::PokemonStatsInfoWidget::HandleShow ( bool  isVisible)
protectedvirtual

Reimplemented from yap::BaseWidget.

Definition at line 331 of file PokemonStatsInfoWidget.cpp.

void ycl::PokemonStatsInfoWidget::HandleUpdate ( const yap::Time dt)
protectedvirtual

Reimplemented from yap::BaseWidget.

Definition at line 339 of file PokemonStatsInfoWidget.cpp.

void ycl::PokemonStatsInfoWidget::Init ( )
virtual

Implements ycl::IPokemonSummaryWidget.

Definition at line 107 of file PokemonStatsInfoWidget.cpp.

Here is the call graph for this function:

bool ycl::PokemonStatsInfoWidget::IsFocusable ( ) const
virtual

Implements yap::BaseWidget.

Definition at line 303 of file PokemonStatsInfoWidget.cpp.

void ycl::PokemonStatsInfoWidget::SetPokemon ( const Pokemon pokemon)
virtual

Implements ycl::IPokemonSummaryWidget.

Definition at line 228 of file PokemonStatsInfoWidget.cpp.

Here is the call graph for this function:


Member Data Documentation

yap::Label* ycl::PokemonStatsInfoWidget::attack_
private

Definition at line 57 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::capacityAndExperienceGlobalLayout_
private

Definition at line 88 of file PokemonStatsInfoWidget.hpp.

yap::HorizontalLayout* ycl::PokemonStatsInfoWidget::capacityAndExperienceLayout_
private

Definition at line 89 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::capacityLayout_
private

Definition at line 90 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::defense_
private

Definition at line 58 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::experienceBarLayout_
private

Definition at line 91 of file PokemonStatsInfoWidget.hpp.

PokemonExperienceBarWidget ycl::PokemonStatsInfoWidget::experienceBarWidget_
private

Definition at line 94 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::experienceLayout_
private

Definition at line 80 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::experiencePoint_
private

Definition at line 63 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::experiencePointLabel_
private

Definition at line 62 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::experiencePointLabelLayout_
private

Definition at line 82 of file PokemonStatsInfoWidget.hpp.

yap::HorizontalLayout* ycl::PokemonStatsInfoWidget::experiencePointLayout_
private

Definition at line 81 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::experiencePointNumberLayout_
private

Definition at line 83 of file PokemonStatsInfoWidget.hpp.

yap::HorizontalLayout* ycl::PokemonStatsInfoWidget::firstLine_
private

Definition at line 74 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::firstLinePartRight_
private

Definition at line 76 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::hp_
private

Definition at line 56 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::hpLayout_
private

Definition at line 77 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::mainLayout_
private

Definition at line 72 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::nextLevelPoint_
private

Definition at line 65 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::nextLevelPointLabel_
private

Definition at line 64 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::nextLevelPointLabelLayout_
private

Definition at line 85 of file PokemonStatsInfoWidget.hpp.

yap::HorizontalLayout* ycl::PokemonStatsInfoWidget::nextLevelPointLayout_
private

Definition at line 84 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::nextLevelPointNumberLayout_
private

Definition at line 86 of file PokemonStatsInfoWidget.hpp.

PokemonFrontInfoWidget ycl::PokemonStatsInfoWidget::pokemonFrontInfoWidget_
private

Definition at line 93 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::specialAttack_
private

Definition at line 59 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::specialDefense_
private

Definition at line 60 of file PokemonStatsInfoWidget.hpp.

yap::Label* ycl::PokemonStatsInfoWidget::speed_
private

Definition at line 61 of file PokemonStatsInfoWidget.hpp.

yap::VerticalLayout* ycl::PokemonStatsInfoWidget::statsLayout_
private

Definition at line 78 of file PokemonStatsInfoWidget.hpp.

yap::PictureBox* ycl::PokemonStatsInfoWidget::type1_
private

Definition at line 68 of file PokemonStatsInfoWidget.hpp.

yap::PictureBox* ycl::PokemonStatsInfoWidget::type2_
private

Definition at line 69 of file PokemonStatsInfoWidget.hpp.


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