52 void SetData(
DASH_CAP,
double, wxString);
53 wxSize GetSize(
int orient, wxSize hint);
57 int m_spd_rec_cnt, m_dir_rec_cnt, m_spd_start_val, m_dir_start_val;
63 double m_array_baro_history[BARO_RECORD_COUNT];
64 double m_array_press_history[BARO_RECORD_COUNT];
65 double m_exp_smooth_array_pressure[BARO_RECORD_COUNT];
67 wxDateTime::Tm m_array_rec_time[BARO_RECORD_COUNT];
71 double m_total_max_press;
72 double m_total_min_press;
74 double m_max_press_scale;
81 wxRect m_draw_area_rect;
82 int m_drawing_width, m_top_line_height, m_drawing_height;
83 int m_width, m_height;
84 int m_left_legend, m_right_legend;
85 int m_curr_sec, m_last_sec, m_spd_cntper_sec;
86 double m_cnt_spd, m_cnt_dir, m_avg_spd, m_avg_dir;
88 void Draw(wxGCDC* dc);
89 void DrawBackground(wxGCDC* dc);
90 void DrawForeground(wxGCDC* dc);
91 void SetMinMaxWindScale();
93 void DrawWindSpeedScale(wxGCDC* dc);