1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef RZ_DBVIEW_BAR_H
20 #define RZ_DBVIEW_BAR_H
22 #include "nel/misc/types_nl.h"
23 #include "view_bitmap.h"
26 * class implementing a bitmap used as the front texture of a progress bar
27 * the bitmap is drawn from _X to _W * _Range/_RangeMax
28 * \author Nicolas Brigand
29 * \author Nevrax France
32 class CDBViewBar
: CViewBitmap
37 CDBViewBar(const TCtorParam
¶m
)
43 bool parse(xmlNodePtr cur
,CInterfaceGroup
* parentGroup
);
44 virtual uint32
getMemory() { return sizeof(*this)+_Id
.size(); }
53 //range of the progression in arbitrary units. should be integer
54 CInterfaceProperty _Range
;
55 //max range of the progression in arbitrary units. should be integer
56 CInterfaceProperty _RangeMax
;
58 CInterfaceProperty _Vertical
;
63 #endif // RZ_DBVIEW_BAR_H
65 /* End of dbview_bar.h */