YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PokedexCompositeWidget.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_WIDGETCOMPOSITEPOKEDEX_HPP
2
# define YAPOG_CLIENT_WIDGETCOMPOSITEPOKEDEX_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/BaseWidget.hpp
"
6
# include "
YAPOG/Graphics/Vector2.hpp
"
7
8
namespace
yap
9
{
10
class
Pokedex;
11
class
Menu;
12
}
13
14
namespace
ycl
15
{
16
class
PokedexCompositeWidget
:
public
yap::BaseWidget
17
{
18
DISALLOW_COPY
(
PokedexCompositeWidget
);
19
20
public
:
21
PokedexCompositeWidget
();
22
void
Init
();
23
virtual
~PokedexCompositeWidget
();
24
virtual
bool
IsFocusable
()
const
;
25
26
protected
:
27
virtual
yap::Vector2
HandleGetSize
()
const
;
28
virtual
void
HandleMove
(
const
yap::Vector2
& offset);
29
virtual
void
HandleScale
(
const
yap::Vector2
& factor);
30
31
virtual
void
HandleDraw
(
yap::IDrawingContext
& context);
32
33
virtual
void
HandleShow
(
bool
isVisible);
34
virtual
void
HandleChangeColor
(
const
sf::Color& color);
35
36
virtual
void
HandleUpdate
(
const
yap::Time
& dt);
37
38
private
:
39
yap::Menu
*
menu_
;
40
yap::WidgetBackground
*
background_
;
41
42
};
43
}
// namespace ycl
44
45
#endif // YAPOG_CLIENT_WIDGETCOMPOSITEPOKEDEX_HPP
YAPOG.Client
include
Gui
PokedexCompositeWidget.hpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1