spek-window.h (700B)
1 #pragma once 2 3 #include <wx/wx.h> 4 5 class SpekSpectrogram; 6 7 class SpekWindow : public wxFrame 8 { 9 public: 10 SpekWindow(const wxString& path); 11 void open(const wxString& path); 12 13 private: 14 void on_open(wxCommandEvent& event); 15 void on_save(wxCommandEvent& event); 16 void on_exit(wxCommandEvent& event); 17 void on_preferences(wxCommandEvent& event); 18 void on_help(wxCommandEvent& event); 19 void on_about(wxCommandEvent& event); 20 void on_notify(wxCommandEvent& event); 21 void on_visit(wxCommandEvent& event); 22 void on_close(wxCommandEvent& event); 23 24 SpekSpectrogram *spectrogram; 25 wxString path; 26 wxString cur_dir; 27 wxString description; 28 29 DECLARE_EVENT_TABLE() 30 };