53 lines
1.4 KiB
C++
53 lines
1.4 KiB
C++
|
// kln89_page_*.[ch]xx - this file is one of the "pages" that
|
||
|
// are used in the KLN89 GPS unit simulation.
|
||
|
//
|
||
|
// Written by David Luff, started 2005.
|
||
|
//
|
||
|
// Copyright (C) 2005 - David C Luff - david.luff@nottingham.ac.uk
|
||
|
//
|
||
|
// This program is free software; you can redistribute it and/or
|
||
|
// modify it under the terms of the GNU General Public License as
|
||
|
// published by the Free Software Foundation; either version 2 of the
|
||
|
// License, or (at your option) any later version.
|
||
|
//
|
||
|
// This program is distributed in the hope that it will be useful, but
|
||
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
// General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU General Public License
|
||
|
// along with this program; if not, write to the Free Software
|
||
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||
|
//
|
||
|
// $Id$
|
||
|
|
||
|
#ifndef _KLN89_PAGE_VOR_HXX
|
||
|
#define _KLN89_PAGE_VOR_HXX
|
||
|
|
||
|
#include "kln89.hxx"
|
||
|
|
||
|
class KLN89VorPage : public KLN89Page {
|
||
|
|
||
|
public:
|
||
|
KLN89VorPage(KLN89* parent);
|
||
|
~KLN89VorPage();
|
||
|
|
||
|
void Update(double dt);
|
||
|
|
||
|
void CrsrPressed();
|
||
|
void ClrPressed();
|
||
|
void EntPressed();
|
||
|
void Knob2Left1();
|
||
|
void Knob2Right1();
|
||
|
|
||
|
void SetId(string s);
|
||
|
|
||
|
private:
|
||
|
string _vor_id;
|
||
|
string _last_vor_id;
|
||
|
string _save_vor_id;
|
||
|
FGNavRecord* np;
|
||
|
};
|
||
|
|
||
|
#endif // _KLN89_PAGE_VOR_HXX
|