____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <listmodel.h>

Public Member Functions | |
| virtual int | getNumberOfElements ()=0 |
| virtual std::string | getElementAt (int i)=0 |
| virtual | ~ListModel () |
Definition at line 70 of file listmodel.h.
| virtual gcn::ListModel::~ListModel | ( | ) | [inline, virtual] |
Definition at line 89 of file listmodel.h.
| virtual int gcn::ListModel::getNumberOfElements | ( | ) | [pure virtual] |
Gets the number of elements in the ListModel.
Implemented in LuaListModel.
Referenced by gcn::ListBox::adjustSize(), gcn::ListBox::draw(), and gcn::ListBox::setSelected().
| virtual std::string gcn::ListModel::getElementAt | ( | int | i | ) | [pure virtual] |
Gets an element at a certain index in the list.
| i | an index in the list. |
Implemented in LuaListModel.
Referenced by gcn::ListBox::draw(), and gcn::DropDown::draw().
1.5.6