YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PartialLayoutManager.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_PARTIAL_LAYOUT_MANAGER_HPP
2
# define YAPOG_PARTIAL_LAYOUT_MANAGER_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/LayoutBox.hpp
"
6
# include "
YAPOG/Graphics/Gui/BaseWidget.hpp
"
7
8
namespace
yap
9
{
10
11
class
YAPOG_LIB
PartialLayoutManager
12
{
13
DISALLOW_COPY
(
PartialLayoutManager
);
14
15
public
:
16
PartialLayoutManager
(
LayoutBox
& layout);
17
virtual
~
PartialLayoutManager
();
18
19
void
SetCurrentSel (
uint
curr);
20
void
SetEnable (
bool
state);
21
void
SetSize (
float
size);
22
void
AddItem (
IWidget
* item);
23
uint
GetSize ()
const
;
24
void
Refresh ();
25
void
Clear ();
26
27
private
:
28
uint
cursorCurSel_
;
29
uint
itemCount_
;
30
float
size_
;
31
32
LayoutBox
*
layout_
;
33
34
collection::Array<IWidget*>
stock_
;
35
collection::Array<IWidget*>
itemz_
;
36
bool
isEnable_
;
37
float
widthItem_
;
38
};
39
}
// namespace yap
40
41
#endif
/* YAPOG_PARTIAL_LAYOUT_MANAGER_HPP! */
YAPOG
include
YAPOG
Graphics
Gui
PartialLayoutManager.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1