1
0
Fork 0
flightgear/src/GUI/AirportList.hxx
ehofman 964349e401 Andrew Midson:
I have made the
'Select Airport from List' option in FlightGear work
(I think) properly. I have some concerns about the
solution, which could be broken by changes to plib (if
they re-use the value I have assigned to
PUCLASS_LIST), but for the moment it seems to work OK.

Erik Hofman:
A request has been sent to John Fay to include the puList
code in the puAux subdirectory of plib so expect some
changes for future version of FlightGear.
2005-01-31 10:36:59 +00:00

28 lines
506 B
C++

// AirportList.hxx - scrolling list of airports.
#ifndef __AIRPORTLIST_HXX
#include <plib/pu.h>
#include "puList.hxx"
class FGAirportList;
class AirportList : public puList
{
public:
AirportList (int x, int y, int width, int height);
virtual ~AirportList ();
// FIXME: add other string value functions
virtual char * getListStringValue ();
private:
FGAirportList * _airports;
int _nAirports;
char ** _content;
};
#endif // __AIRPORTLIST_HXX
// end of AirportList.hxx