YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
OpponentBattleInfoWidget.cpp
Go to the documentation of this file.
1
#include "
YAPOG/Graphics/Gui/PictureBox.hpp
"
2
#include "
YAPOG/Graphics/Gui/WidgetBackground.hpp
"
3
#include "
YAPOG/Graphics/Gui/GuiEvent.hpp
"
4
5
#include "
Battle/OpponentBattleInfoWidget.hpp
"
6
7
namespace
ycl
8
{
9
OpponentBattleInfoWidget::OpponentBattleInfoWidget
()
10
:
BattleInfoWidget
(yap::Padding (15, 40, 10, 5))
11
{
12
}
13
14
void
OpponentBattleInfoWidget::Init
()
15
{
16
// Set the background
17
yap::WidgetBackground
* background =
18
new
yap::WidgetBackground
(
19
"Pictures/Battle/OpponentInfoBackground.png"
,
false
);
20
background->
SetFixed
(
true
);
21
battleInfoBox_
.
SetBackground
(*background);
22
23
BattleInfoWidget::Init
();
24
}
25
26
bool
OpponentBattleInfoWidget::HandleOnEvent
(
const
yap::GuiEvent
& guiEvent)
27
{
28
return
false
;
29
}
30
}
YAPOG.Client
src
Battle
OpponentBattleInfoWidget.cpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1