Crazy Eddies GUI System  0.7.0
FalItemListbox.h
1 /************************************************************************
2  filename: FalItemListbox.h
3  created: Mon Mar 20 2006
4  author: Tomas Lindquist Olsen
5 *************************************************************************/
6 /*************************************************************************
7  Crazy Eddie's GUI System (http://www.cegui.org.uk)
8  Copyright (C)2004 - 2006 Paul D Turner (paul@cegui.org.uk)
9 
10  This library is free software; you can redistribute it and/or
11  modify it under the terms of the GNU Lesser General Public
12  License as published by the Free Software Foundation; either
13  version 2.1 of the License, or (at your option) any later version.
14 
15  This library is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public
21  License along with this library; if not, write to the Free Software
22  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 *************************************************************************/
24 #ifndef _FalItemListbox_h_
25 #define _FalItemListbox_h_
26 
27 #include "FalModule.h"
28 #include "../../elements/CEGUIItemListBase.h"
29 
30 // Start of CEGUI namespace section
31 namespace CEGUI
32 {
49  class FALAGARDBASE_API FalagardItemListbox : public ItemListBaseWindowRenderer
50  {
51  public:
52  static const utf8 TypeName[];
53 
58  FalagardItemListbox(const String& type);
59 
60  // overridden from ItemListBaseWindowRenderer base class.
61  void render();
62  Rect getItemRenderArea(void) const;
63  // overridden from WindowRenderer base class.
64  Rect getUnclippedInnerRect() const;
65 
66  protected:
67  // overridden from WindowRenderer base class.
68  void onLookNFeelAssigned();
69  void onLookNFeelUnassigned();
70 
73 
74  };
75 
76 } // End of CEGUI namespace section
77 
78 #endif // end of guard _FalItemListbox_h_