![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
Base element of the graphical user interface. More...
#include <IWidget.hpp>
Public Member Functions | |
| virtual | ~IWidget () |
| virtual void | SetDefaultColor (const sf::Color &color)=0 |
| virtual void | AddDrawable (IDrawable &drawable)=0 |
| virtual void | AddChild (IWidget &child)=0 |
| virtual void | FrontAddChild (IWidget &child)=0 |
| virtual void | RemoveChild (IWidget &child)=0 |
| virtual IWidget & | GetRoot () const =0 |
| virtual WidgetBorder * | GetBorder () const =0 |
| virtual void | SetParent (IWidget &parent)=0 |
| virtual void | SetPadding (const Padding &padding)=0 |
| virtual void | SetBackground (WidgetBackground &background)=0 |
| virtual void | SetBorder (WidgetBorder &border, uint width)=0 |
| virtual void | Refresh ()=0 |
| virtual bool | IsFocusable () const =0 |
| virtual void | SetFocused (bool state)=0 |
| virtual void | SetEnable (bool enable)=0 |
| virtual void | Open ()=0 |
| virtual void | Close ()=0 |
| virtual void | SetToTop ()=0 |
Public Member Functions inherited from yap::ISpatial | |
| virtual | ~ISpatial () |
| virtual const Vector2 & | GetPosition () const =0 |
| Gets the coordinates in pixels of the origin of this ISpatial from the global origin. | |
| virtual const Vector2 & | GetSize () const =0 |
| Gets the size in pixels of this ISpatial. | |
| virtual const Vector2 & | GetTopLeft () const =0 |
| virtual const Vector2 & | GetBottomRight () const =0 |
| virtual const Vector2 & | GetCenter () const =0 |
| virtual const sf::FloatRect & | GetRectangle () const =0 |
| virtual void | Move (const Vector2 &offset)=0 |
| virtual void | Scale (const Vector2 &factor)=0 |
| virtual void | SetPosition (const Vector2 &position)=0 |
| virtual void | SetSize (const Vector2 &size)=0 |
Public Member Functions inherited from yap::IDrawable | |
| virtual | ~IDrawable () |
| virtual void | Draw (IDrawingContext &context)=0 |
| virtual bool | IsVisible () const =0 |
| virtual void | Show (bool isVisible)=0 |
| virtual void | ChangeColor (const sf::Color &color)=0 |
Public Member Functions inherited from yap::IEventHandler | |
| virtual | ~IEventHandler () |
| virtual bool | OnEvent (const GuiEvent &guiEvent)=0 |
| Treats an event. Transferts the event before treating it. | |
| virtual bool | OnPriorityEvent (const GuiEvent &guiEvent)=0 |
| Treats an event. Treats the event before transfering it. | |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
| virtual void | Update (const Time &dt)=0 |
| Makes the object evolve for one frame of the game. | |
Base element of the graphical user interface.
Definition at line 17 of file IWidget.hpp.
|
inlinevirtual |
Definition at line 23 of file IWidget.hpp.
|
pure virtual |
Implemented in yap::BaseWidget.
|
pure virtual |
Implemented in yap::BaseWidget.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in yap::BaseWidget.
|
pure virtual |
|
pure virtual |
Implemented in yap::BaseWidget, ycl::PokemonBasicInfoWidget, ycl::PokemonMoveInfoWidget, yap::WidgetBorder, ycl::PokemonTeamWidget, ycl::ChatWidget, ycl::PokemonStatsInfoWidget, ycl::RegistrationWidget, yap::Menu, yap::Label, ycl::LoginWidget, yap::GridMenu, yap::WidgetBackground, yap::LayoutBox, ycl::PokedexWidget, ycl::PokemonSingleMoveInfoWidget, ycl::TrainerCardWidget, ycl::PokemonFrontInfoWidget, yap::DialogBoxWidget, yap::MultiLabelWidget, ycl::PokemonInfoBox, ycl::PokemonExperienceBarWidget, ycl::PokemonHPBarWidget, yap::TextBoxWidget, ycl::BaseBattleWidget, ycl::PokedexCompositeWidget, ycl::PokemonInfoWidget, yap::MenuItem, yap::GameWorldWidget, yap::PictureBox, and yap::GuiManager.
|
pure virtual |
Implemented in yap::BaseWidget, and ycl::TrainerCardWidget.
|
pure virtual |
Implemented in yap::BaseWidget, yap::Label, yap::LayoutBox, yap::DialogBoxWidget, yap::MultiLabelWidget, yap::TextBoxWidget, and yap::MenuItem.
|
pure virtual |
|
pure virtual |
Implemented in yap::BaseWidget, and yap::Label.
|
pure virtual |
Implemented in yap::BaseWidget.
|
pure virtual |
|
pure virtual |
Implemented in yap::BaseWidget.
|
pure virtual |
|
pure virtual |
Implemented in yap::BaseWidget.
|
pure virtual |
|
pure virtual |