File: AdvancedGuidingParams.h

package info (click to toggle)
wxastrocapture 1.8.1%2Bgit20140821.796e1a1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 42,024 kB
  • sloc: cpp: 43,426; sh: 733; perl: 246; makefile: 14
file content (71 lines) | stat: -rw-r--r-- 1,838 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef ADVANCEDGUIDINGPARAMS_H
#define ADVANCEDGUIDINGPARAMS_H

//(*Headers(AdvancedGuidingParams)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/spinctrl.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)

#include "wxthings/spinctld.h"

class AdvancedGuidingParams: public wxDialog
{
	public:

		AdvancedGuidingParams(wxWindow* parent,wxWindowID id = -1);
		virtual ~AdvancedGuidingParams();
		void InitPosition();
		void Init();

		static AdvancedGuidingParams* singleton(wxWindow* parent);
		void getValuesFromGuider();

		//(*Identifiers(AdvancedGuidingParams)
		static const long ID_STATICTEXT5;
		static const long ID_STATICTEXT4;
		static const long ID_STATICTEXT1;
		static const long ID_SPINCTRL1;
		static const long ID_SPINCTRL2;
		static const long ID_STATICTEXT2;
		static const long ID_SPINCTRL3;
		static const long ID_SPINCTRL4;
		static const long ID_STATICTEXT3;
		static const long ID_SPINCTRL5;
		static const long ID_SPINCTRL6;
		static const long ID_BUTTON1;
		//*)

	protected:

		//(*Handlers(AdvancedGuidingParams)
		void OnClose(wxCloseEvent& event);
		void OnResetDefaultsButtonClick(wxCommandEvent& event);
		void OnRA_dz_SpinCtrlChange(wxSpinEvent& event);
		void OnRA_k_SpinCtrlChange(wxSpinEvent& event);
		void OnRA_q_SpinCtrlChange(wxSpinEvent& event);
		void OnDEC_dz_SpinCtrlChange(wxSpinEvent& event);
		void OnDEC_k_SpinCtrlChange(wxSpinEvent& event);
		void OnDEC_q_SpinCtrlChange(wxSpinEvent& event);
		//*)

		//(*Declarations(AdvancedGuidingParams)
		wxSpinCtrlDbl* m_DEC_dz_SpinCtrl;
		wxSpinCtrlDbl* m_RA_q_SpinCtrl;
		wxSpinCtrlDbl* m_RA_k_SpinCtrl;
		wxSpinCtrlDbl* m_DEC_q_SpinCtrl;
		wxSpinCtrlDbl* m_RA_dz_SpinCtrl;
		wxSpinCtrlDbl* m_DEC_k_SpinCtrl;
		//*)

	private:

		DECLARE_EVENT_TABLE()

   private:
      static AdvancedGuidingParams* m_self;
};

#endif