YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
VerticalLayout.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_LAYOUT_V_HPP
2
# define YAPOG_LAYOUT_V_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/LayoutBox.hpp
"
6
7
namespace
yap
8
{
9
class
YAPOG_LIB
VerticalLayout
:
public
LayoutBox
10
{
11
DISALLOW_COPY
(
VerticalLayout
);
12
13
public
:
14
15
VerticalLayout
();
16
VerticalLayout
(
Padding
ext,
Padding
in,
bool
isExt);
17
virtual
~
VerticalLayout
();
18
virtual
void
GeneratePosition ();
19
virtual
float
GetWidthItem ();
20
21
private
:
22
23
virtual
void
HandleMove (
const
Vector2
& offset);
24
virtual
void
HandleScale (
const
Vector2
& factor);
25
26
virtual
void
HandleDraw (
IDrawingContext
& context);
27
28
virtual
void
HandleShow (
bool
isVisible);
29
virtual
void
HandleChangeColor (
const
sf::Color& color);
30
31
virtual
void
HandleUpdate (
const
Time
& dt);
32
};
33
}
// namespace yap
34
35
#endif
/* YAPOG_LAYOUT_V_HPP! */
YAPOG
include
YAPOG
Graphics
Gui
VerticalLayout.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1