YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PokedexCompositeWidget.cpp
Go to the documentation of this file.
1
#include "
YAPOG/Graphics/Gui/WidgetBackground.hpp
"
2
#include "
YAPOG/Graphics/Gui/WidgetBorder.hpp
"
3
#include "
YAPOG/Game/Pokemon/Pokedex.hpp
"
4
#include "
YAPOG/Game/Pokemon/PokemonInfo.hpp
"
5
#include "
YAPOG/Graphics/Gui/HorizontalLayout.hpp
"
6
#include "
YAPOG/Graphics/Gui/VerticalLayout.hpp
"
7
#include "
YAPOG/Graphics/Gui/Menu.hpp
"
8
#include "
YAPOG/Graphics/Gui/PictureBox.hpp
"
9
#include "
YAPOG/System/StringHelper.hpp
"
10
#include "
YAPOG/Game/Pokemon/PokemonInfo.hpp
"
11
12
#include "
Gui/PokedexCompositeWidget.hpp
"
13
14
#include "Game.hpp"
15
16
namespace
ycl
17
{
18
19
PokedexCompositeWidget::PokedexCompositeWidget
()
20
: menu_ (nullptr)
21
, background_ (nullptr)
22
{
23
24
}
25
26
PokedexCompositeWidget::~PokedexCompositeWidget
()
27
{
28
}
29
30
void
PokedexCompositeWidget::Init
()
31
{
32
background_
=
new
yap::WidgetBackground
(
"WindowSkins/BasicSkin/Pokedex/PokedexShfond1.png"
,
true
);
33
//background_ = new yap::WidgetBackground ("WindowSkins/BasicSkin/Pokedex/PokemonBoxDefault.png", true);
34
SetBackground
(*
background_
);
35
}
36
37
bool
PokedexCompositeWidget::IsFocusable
()
const
38
{
39
return
true
;
40
}
41
42
yap::Vector2
PokedexCompositeWidget::HandleGetSize
()
const
43
{
44
return
yap::Vector2
(800, 600);
45
}
46
void
PokedexCompositeWidget::HandleMove
(
const
yap::Vector2
& offset)
47
{
48
49
}
50
void
PokedexCompositeWidget::HandleScale
(
const
yap::Vector2
& factor)
51
{
52
53
}
54
void
PokedexCompositeWidget::HandleDraw
(
yap::IDrawingContext
& context)
55
{
56
57
}
58
void
PokedexCompositeWidget::HandleShow
(
bool
isVisible)
59
{
60
61
}
62
void
PokedexCompositeWidget::HandleChangeColor
(
const
sf::Color& color)
63
{
64
65
}
66
void
PokedexCompositeWidget::HandleUpdate
(
const
yap::Time
& dt)
67
{
68
69
}
70
}
// namespace ycl
YAPOG.Client
src
Gui
PokedexCompositeWidget.cpp
Generated on Mon Sep 17 2012 22:24:22 for YAPOG by
1.8.1.1