| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
00001 // Copyright (C) 2002-2008 Nikolaus Gebhardt 00002 // This file is part of the "Irrlicht Engine". 00003 // For conditions of distribution and use, see copyright notice in irrlicht.h 00004 00005 #ifndef __I_GUI_COMBO_BOX_H_INCLUDED__ 00006 #define __I_GUI_COMBO_BOX_H_INCLUDED__ 00007 00008 #include "IGUIElement.h" 00009 00010 namespace irr 00011 { 00012 namespace gui 00013 { 00014 00016 class IGUIComboBox : public IGUIElement 00017 { 00018 public: 00019 00021 IGUIComboBox(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle) 00022 : IGUIElement(EGUIET_COMBO_BOX, environment, parent, id, rectangle) {} 00023 00025 virtual ~IGUIComboBox() {} 00026 00028 virtual u32 getItemCount() const = 0; 00029 00031 virtual const wchar_t* getItem(u32 idx) const = 0; 00032 00034 virtual u32 addItem(const wchar_t* text) = 0; 00035 00037 00038 virtual void removeItem(u32 idx) = 0; 00039 00041 virtual void clear() = 0; 00042 00044 virtual s32 getSelected() const = 0; 00045 00047 virtual void setSelected(s32 idx) = 0; 00048 }; 00049 00050 00051 } // end namespace gui 00052 } // end namespace irr 00053 00054 #endif 00055
| The Irrlicht
Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated
on Sun Jun 1 07:59:07 2008 by Doxygen
(1.4.2) |