YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
UpdateScreen.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_UPDATESCREEN_HPP
2
# define YAPOG_CLIENT_UPDATESCREEN_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/IntTypes.hpp
"
6
# include "
YAPOG/System/Hash/FileChecker.hpp
"
7
# include "
YAPOG/Graphics/Gui/Label.hpp
"
8
# include "
YAPOG/Graphics/Gui/PictureBox.hpp
"
9
# include "
YAPOG/Graphics/Gui/VerticalLayout.hpp
"
10
# include "
YAPOG/Graphics/Gui/HorizontalLayout.hpp
"
11
12
# include <boost/filesystem.hpp>
13
# include "
GameScreen/BaseScreen.hpp
"
14
15
namespace
ycl
16
{
17
class
UpdateScreen
:
public
BaseScreen
18
{
19
DISALLOW_COPY
(
UpdateScreen
);
20
21
public
:
22
23
explicit
UpdateScreen
(
yap::IDrawingContext
& context);
24
virtual
~UpdateScreen
();
25
26
protected
:
27
28
virtual
void
HandleInit
();
29
30
virtual
void
HandleActivate
();
31
32
virtual
void
HandleRun
(
33
const
yap::Time
& dt,
34
yap::IDrawingContext
& context);
35
36
private
:
37
void
Update
();
38
void
UpdateContentSize
(
int
value);
39
40
yap::UInt16
lastlength_
;
41
yap::FileChecker
*
fc_
;
42
yap::Label
fileName_
;
43
yap::Label
filePercentage_
;
44
yap::Label
fileDownloaded_
;
45
yap::Label
totalFile_
;
46
yap::PictureBox
*
backgroundbox_
;
47
yap::PictureBox
*
foregroundbox_
;
48
yap::HorizontalLayout
*
firstLayout_
;
49
yap::HorizontalLayout
*
secondLayout_
;
50
yap::VerticalLayout
*
bigLayout_
;
51
52
static
const
yap::ScreenType
DEFAULT_NAME
;
53
};
54
}
// namespace ycl
55
56
#endif // YAPOG_CLIENT_UPDATESCREEN_HPP
YAPOG.Client
include
GameScreen
UpdateScreen.hpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1