Logo Search packages:      
Sourcecode: nautic version File versions  Download package

Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

MainDialog Class Reference

Inheritance diagram for MainDialog:
Inheritance graph
[legend]
Collaboration diagram for MainDialog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MainDialog (wxWindow *parent)
void SendMessage ()

Public Attributes

double altitude
double azimuth
double beta
bool bInsertNum
bool bMoon
wxString bodyname
bool bPlanet
bool bStar
bool bSun
bool bUpperLimb
double CoArect
wxColour * col
wxString constell
wxString date
int day
double declination
double dTrueAlt
double equinox
wxString filepath
int iCount
double iDay
double iHour
int ihourval
double iMinute
int iminval
double iMonth
double indxerr
double iSeconds
int isecval
double iYear
wxString jul
double lamda
double latitude
double LHA
double loctime
double longitude
wxTimer * m_timer
int month
double P_distance
double parlax
Starpos planet
double RA
wxRect rect1
double smdiam
double t
wxDateTime time
wxTimer timer
double Tm
double truelat
double truelong
double Ts
int year

Protected Member Functions

virtual void GetData ()
virtual void OnAltMin (wxFocusEvent &event)
virtual void OnAltSec (wxFocusEvent &event)
virtual void OnAzOut (wxFocusEvent &event)
virtual void OnCalcHeitht (wxCommandEvent &event)
virtual void OnCalcPos (wxCommandEvent &event)
virtual void OnCancLines (wxCommandEvent &event)
virtual void OnChar (wxKeyEvent &event)
virtual void OnCharAlt (wxKeyEvent &event)
virtual void OnCharAltMin (wxKeyEvent &event)
virtual void OnCharAltSec (wxKeyEvent &event)
virtual void OnCharDeg (wxKeyEvent &event)
virtual void OnCharDegLon (wxKeyEvent &event)
virtual void OnCharDiff (wxKeyEvent &event)
virtual void OnCharEHt (wxKeyEvent &event)
virtual void OnCharHook (wxKeyEvent &event)
virtual void OnCharLocalHr (wxKeyEvent &event)
virtual void OnCharLocalMin (wxKeyEvent &event)
virtual void OnCharLocalSec (wxKeyEvent &event)
virtual void OnCharLon (wxKeyEvent &event)
virtual void OnCharSec (wxKeyEvent &event)
virtual void OnCharSecLon (wxKeyEvent &event)
virtual void OnCheckbox (wxCommandEvent &event)
virtual void OnCloseDialog (wxCloseEvent &event)
virtual void OnComboPlan (wxCommandEvent &event)
virtual void OnComboStar (wxCommandEvent &event)
virtual void OnEyeHt (wxFocusEvent &event)
virtual void OnFocusOut (wxFocusEvent &event)
virtual void OnHrsUTC (wxKeyEvent &event)
virtual void OnInfo (wxCommandEvent &event)
virtual void OnInitDialog (wxInitDialogEvent &event)
virtual void OnKeyDown (wxKeyEvent &event)
virtual void OnLocal (wxCommandEvent &event)
virtual void OnMenuAbout (wxCommandEvent &event)
virtual void OnMenuAlt (wxCommandEvent &event)
virtual void OnMenuCancel (wxCommandEvent &event)
virtual void OnMenuInfo (wxCommandEvent &event)
virtual void OnMenuMeridian (wxCommandEvent &event)
virtual void OnMenuPlot (wxCommandEvent &event)
virtual void OnMenuSave (wxCommandEvent &event)
virtual void OnMeridian (wxCommandEvent &event)
virtual void OnMinUTC (wxKeyEvent &event)
virtual void OnPaint (wxPaintEvent &event)
virtual void OnPlanetChoice ()
virtual void OnSave (wxCommandEvent &event)
virtual void OnSecUTC (wxKeyEvent &event)
virtual void OnStarChoice ()
virtual void OnStartTimer (wxCommandEvent &event)
virtual void OnStopTimer (wxCommandEvent &event)
virtual void OnText_Deg_Lat (wxCommandEvent &event)
virtual void OnText_min_Lat (wxCommandEvent &event)
virtual void OnText_Sec_Lat (wxCommandEvent &event)
virtual void OnTextAlt (wxCommandEvent &event)
virtual void OnTextDegLon (wxCommandEvent &event)
virtual void OnTextEnter (wxFocusEvent &event)
virtual void OnTextLTHrs (wxCommandEvent &event)
virtual void OnTextLTmins (wxCommandEvent &event)
virtual void OnTextLTsecs (wxCommandEvent &event)
virtual void OnTextMax (wxCommandEvent &event)
virtual void OnTextMinLon (wxCommandEvent &event)
virtual void OnTextSecLon (wxCommandEvent &event)
virtual void OnTextUTChrs (wxCommandEvent &event)
virtual void OnTextUTCmin (wxCommandEvent &event)
virtual void OnTextUTCsecs (wxCommandEvent &event)
virtual void OnTimer (wxTimerEvent &event)
virtual void OnUpdateUI (wxUpdateUIEvent &event)
virtual void OnUTC (wxCommandEvent &event)

Protected Attributes

wxButton * m_button1
wxButton * m_button11
wxButton * m_button4
wxButton * m_button40
wxButton * m_button41
wxButton * m_button411
wxButton * m_button6
wxButton * m_button7
wxButton * m_button8
wxButton * m_button9
wxCheckBox * m_checkBox1
wxChoice * m_choice1
wxChoice * m_choice11
wxChoice * m_choice3
wxChoice * m_choice4
wxChoice * m_choice5
wxChoice * m_choice6
wxComboBox * m_comboBox3
wxComboBox * m_comboBox31
wxMenu * m_menu5
wxMenu * m_menu6
wxMenu * m_menu7
wxMenuBar * m_menubar2
wxStaticText * m_staticText10
wxStaticText * m_staticText105
wxStaticText * m_staticText1051
wxStaticText * m_staticText106
wxStaticText * m_staticText1062
wxStaticText * m_staticText107
wxStaticText * m_staticText1071
wxStaticText * m_staticText109
wxStaticText * m_staticText1091
wxStaticText * m_staticText111
wxStaticText * m_staticText1111
wxStaticText * m_staticText15
wxStaticText * m_staticText151
wxStaticText * m_staticText16
wxStaticText * m_staticText161
wxStaticText * m_staticText17
wxStaticText * m_staticText171
wxStaticText * m_staticText21
wxStaticText * m_staticText211
wxStaticText * m_staticText24
wxStaticText * m_staticText25
wxStaticText * m_staticText28
wxStaticText * m_staticText29
wxStaticText * m_staticText30
wxStaticText * m_staticText301
wxStaticText * m_staticText51
wxStaticText * m_staticText7
wxStaticText * m_staticText8
wxStaticText * m_staticText9
wxTextCtrl * m_textCtrl1
wxTextCtrl * m_textCtrl11
wxTextCtrl * m_textCtrl111
wxTextCtrl * m_textCtrl1111
wxTextCtrl * m_textCtrl11111
wxTextCtrl * m_textCtrl1112
wxTextCtrl * m_textCtrl1113
wxTextCtrl * m_textCtrl112
wxTextCtrl * m_textCtrl113
wxTextCtrl * m_textCtrl12
wxTextCtrl * m_textCtrl13
wxTextCtrl * m_textCtrl14
wxTextCtrl * m_textCtrl15
wxTextCtrl * m_textCtrl24
wxTextCtrl * m_textCtrl241
wxTextCtrl * m_textCtrl242
wxTextCtrl * m_textCtrl2421
wxTextCtrl * m_textCtrl24211
wxTextCtrl * m_textCtrl2422
wxTextCtrl * m_textCtrl24221
wxTextCtrl * m_textCtrl243
wxTextCtrl * m_textCtrl244
wxTextCtrl * m_textCtrl245
wxTextCtrl * m_textCtrl246
wxTextCtrl * m_textCtrl247

Private Member Functions

void calc_pos ()
void CalcAltitude ()
void CalcMeridian ()
void CancLines ()
wxString FormatDegrees (float Degrees)
void formatNum (wxKeyEvent &evt)
void formatOnlyNum (wxKeyEvent &evt)
int GetMonthfromString (int iMon)
void GetUTCfromLocal ()
void info ()
void InitDialog ()
bool isNumber (int num)
bool isOnlyNumber (int num)
double plan_prlx (double distance, double alt)
void save ()
void SetTextOnLTime ()

Private Attributes

bool isPlanet
bool isStar

Detailed Description

Definition at line 67 of file main.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index