YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GuiManager.cpp
Go to the documentation of this file.
1
#include "
YAPOG/Graphics/Gui/GuiManager.hpp
"
2
3
namespace
yap
4
{
5
GuiManager::GuiManager
()
6
:
BaseWidget
()
7
{
8
}
9
bool
GuiManager::IsFocusable
()
const
10
{
11
return
false
;
12
}
13
14
GuiManager::~GuiManager
()
15
{
16
}
17
18
bool
GuiManager::HandleOnPriorityEvent
(
const
GuiEvent
& guiEvent)
19
{
20
for
(
IWidget
* child :
childen_
)
21
{
22
if
(child->IsFocusable ())
23
{
24
child->SetFocused (
true
);
25
return
false
;
26
}
27
}
28
return
false
;
29
}
30
31
void
GuiManager::HandleMove
(
const
Vector2
& offset)
32
{
33
}
34
35
void
GuiManager::HandleScale
(
const
Vector2
& factor)
36
{
37
}
38
39
void
GuiManager::HandleDraw
(
IDrawingContext
& context)
40
{
41
}
42
43
void
GuiManager::HandleShow
(
bool
isVisible)
44
{
45
}
46
47
void
GuiManager::HandleChangeColor
(
const
sf::Color& color)
48
{
49
}
50
51
void
GuiManager::HandleUpdate
(
const
Time
& dt)
52
{
53
}
54
}
// namespace yap
YAPOG
src
YAPOG
Graphics
Gui
GuiManager.cpp
Generated on Mon Sep 17 2012 22:24:25 for YAPOG by
1.8.1.1