00001 #ifndef _WX_SCREEN_SETTINGS_H_
00002 #define _WX_SCREEN_SETTINGS_H_
00003
00004 #include <wx/wx.h>
00005
00006
00007
00008
00009
00010 #include "../inc/ViewManager.h"
00011 using namespace FemViewer;
00012
00013
00014 class wxScreenSetts : public wxDialog
00015 {
00016 public:
00017 wxScreenSetts( ViewManager& vmgr, wxWindow* parent);
00018 ~wxScreenSetts();
00019
00020
00021
00022
00023
00024
00025
00026 private:
00027 void OnBtnApply(wxCommandEvent& event);
00028 void OnBtnClose(wxCommandEvent& event);
00029
00030
00031 private:
00032 ViewManager& _viewMgr;
00033
00034 enum {
00035 IDS_AXES,
00036 IDS_GRID,
00037 IDS_LEGEND,
00038 IDS_MESH,
00039 IDS_FIELD,
00040 };
00041
00042 enum {
00043 btnAxes,
00044 btnGrid,
00045 btnLegend,
00046 btnMesh,
00047 btnField,
00048 btnMax,
00049 };
00050
00051 struct BtnInfo
00052 {
00053 int flag;
00054 const char *name;
00055 };
00056
00057 static const BtnInfo _btnInfo[btnMax];
00058
00059 wxCheckBox *buttons[btnMax];
00060
00061
00062 DECLARE_EVENT_TABLE()
00063
00064
00065 wxScreenSetts(const wxScreenSetts &);
00066 wxScreenSetts& operator=(const wxScreenSetts&);
00067
00068 };
00069
00070 #endif
00071