00001
00007 #ifndef _PlotStatus_h
00008 #define _PlotStatus_h
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 class PlotStatus
00024 : public wxPanel
00025 {
00026 public:
00027
00028
00031 PlotStatus(wxWindow* pParent,
00032 wxWindowID id,
00033 bool univariate,
00034 const wxPoint& position = wxDefaultPosition,
00035 const wxSize& size = wxDefaultSize);
00036
00037
00040 ~PlotStatus(void);
00041
00042
00043
00044
00045
00046 void UpdatePosition(double value,
00047 double argument1,
00048 double argument2 = 0.0);
00049
00050 void UpdatePositionNoValue(double argument1,
00051 double argument2 = 0.0);
00052
00053 void ClearPosition();
00054
00055 void UpdateVariables(const wxString& variable1,
00056 const wxString& variable2 = wxT(""));
00057
00058 void UpdateFormatStrings(double functionScale,
00059 double variable1Scale,
00060 double variable2Scale = 0.0);
00061
00062
00063
00064 protected:
00065 private:
00066 wxStaticText* mpVariable1Label;
00067 wxStaticText* mpVariable1Value;
00068 wxStaticText* mpVariable2Label;
00069 wxStaticText* mpVariable2Value;
00070 wxStaticText* mpFunctionLabel;
00071 wxStaticText* mpFunctionValue;
00072
00073 wxString mNumberFormat;
00074
00075 bool mUnivariate;
00076 };
00077
00078
00079
00080
00081
00082
00083
00084 #endif // _PlotStatus_h