YAPOG  0.0.1
Yet Another Pokemon Online Game
LoginWidget.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_LOGINWIDGET_HPP
2 # define YAPOG_CLIENT_LOGINWIDGET_HPP
3 
4 # include "YAPOG/Macros.hpp"
9 
10 namespace ycl
11 {
13  {
15 
16  public:
17  LoginWidget();
18  virtual ~LoginWidget ();
19 
20  void Init ();
21 
27 
30  void SetErrorText (const yap::String& error);
32 
33  virtual bool IsFocusable () const;
34  protected:
35  virtual void HandleMove (const yap::Vector2& offset);
36  virtual void HandleScale (const yap::Vector2& factor);
37  virtual void HandleDraw (yap::IDrawingContext& context);
38  virtual void HandleShow (bool isVisible);
39  virtual void HandleChangeColor (const sf::Color& color);
40  virtual void HandleUpdate (const yap::Time& dt);
41 
42  private:
49 
56 
62  };
63 } // namespace ycl
64 
65 #endif // YAPOG_CLIENT_LOGINWIDGET_HPP