]> git.mxchange.org Git - flightgear.git/blob - src/GUI/AirportList.hxx
support filtering to show only a subset of entries
[flightgear.git] / src / GUI / AirportList.hxx
1 // AirportList.hxx - scrolling list of airports.
2
3 #ifndef __AIRPORTLIST_HXX
4
5 #include <plib/pu.h>
6
7 #include "puList.hxx"
8
9 class FGAirportList;
10
11 class AirportList : public puList
12 {
13  public:
14     AirportList (int x, int y, int width, int height);
15     virtual ~AirportList ();
16
17     virtual void create_list();
18     virtual void destroy_list();
19
20     // FIXME: add other string value functions
21     virtual char * getListStringValue ();
22     virtual void setValue (const char *);
23
24  private:
25     FGAirportList * _airports;
26     char ** _content;
27     STD::string _filter;
28 };
29
30 #endif // __AIRPORTLIST_HXX
31
32 // end of AirportList.hxx