YAPOG  0.0.1
Yet Another Pokemon Online Game
RegistrationWidget.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_REGISTRATIONWIDGET_HPP
2 # define YAPOG_CLIENT_REGISTRATIONWIDGET_HPP
3 
4 # include "YAPOG/Macros.hpp"
10 
11 namespace ycl
12 {
14  {
16 
17  public:
19  virtual ~RegistrationWidget ();
20 
21  void Init ();
22 
29 
32  void SetErrorText (const yap::String& error);
34 
35  virtual bool IsFocusable () const;
36  protected:
37  virtual void HandleMove (const yap::Vector2& offset);
38  virtual void HandleScale (const yap::Vector2& factor);
39  virtual void HandleDraw (yap::IDrawingContext& context);
40  virtual void HandleShow (bool isVisible);
41  virtual void HandleChangeColor (const sf::Color& color);
42  virtual void HandleUpdate (const yap::Time& dt);
43 
44  private:
56  };
57 } // namespace ycl
58 
59 #endif // YAPOG_CLIENT_REGISTRATIONWIDGET_HPP