e2c195f3a6
- add an identifier to fgPropertyList(), which is also PUCLASS_LIST based
36 lines
707 B
C++
36 lines
707 B
C++
// AirportList.hxx - scrolling list of airports.
|
|
|
|
#ifndef __AIRPORTLIST_HXX
|
|
#define __AIRPORTLIST_HXX
|
|
|
|
#include <simgear/compiler.h>
|
|
#include STL_STRING
|
|
|
|
#include <plib/pu.h>
|
|
#include "dialog.hxx"
|
|
|
|
|
|
SG_USING_STD(string);
|
|
|
|
class FGAirportList;
|
|
|
|
class AirportList : public puList, public GUI_ID
|
|
{
|
|
public:
|
|
AirportList (int x, int y, int width, int height);
|
|
virtual ~AirportList ();
|
|
|
|
virtual void create_list();
|
|
virtual void destroy_list();
|
|
|
|
// FIXME: add other string value functions
|
|
virtual char * getListStringValue ();
|
|
virtual void setValue (const char *);
|
|
|
|
private:
|
|
FGAirportList * _airports;
|
|
char ** _content;
|
|
STD::string _filter;
|
|
};
|
|
|
|
#endif // __AIRPORTLIST_HXX
|