2003-11-27 23:41:00 +00:00
|
|
|
// AirportList.hxx - scrolling list of airports.
|
|
|
|
|
|
|
|
#ifndef __AIRPORTLIST_HXX
|
2006-04-17 13:40:20 +00:00
|
|
|
#define __AIRPORTLIST_HXX
|
|
|
|
|
|
|
|
#include <simgear/compiler.h>
|
2008-03-11 15:58:57 +00:00
|
|
|
#include <plib/puAux.h>
|
2011-11-19 20:46:17 +00:00
|
|
|
#include "FGPUIDialog.hxx"
|
2003-11-27 23:41:00 +00:00
|
|
|
|
|
|
|
class FGAirportList;
|
|
|
|
|
2008-06-03 10:25:58 +00:00
|
|
|
class AirportList : public puaList, public GUI_ID {
|
|
|
|
public:
|
|
|
|
AirportList(int x, int y, int width, int height);
|
|
|
|
virtual ~AirportList();
|
2003-11-27 23:41:00 +00:00
|
|
|
|
2006-03-31 10:17:43 +00:00
|
|
|
virtual void create_list();
|
|
|
|
virtual void destroy_list();
|
2008-06-03 10:25:58 +00:00
|
|
|
virtual void setValue(const char *);
|
2003-11-27 23:41:00 +00:00
|
|
|
|
2008-06-03 10:25:58 +00:00
|
|
|
private:
|
|
|
|
char **_content;
|
|
|
|
std::string _filter;
|
2003-11-27 23:41:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __AIRPORTLIST_HXX
|