diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-09 21:41:06 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-09 21:41:06 +0000 |
| commit | 7f8062032e16d9c9cfc28659a6da67f8205dc27b (patch) | |
| tree | e6315a838adcb34f3ac2cf2a517e84ea956e891d /src/wx/kdm_dialog.h | |
| parent | 29d863fb2533fe754a82a5274caf19a3b19e2994 (diff) | |
Basic cinema / screen database.
Diffstat (limited to 'src/wx/kdm_dialog.h')
| -rw-r--r-- | src/wx/kdm_dialog.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/wx/kdm_dialog.h b/src/wx/kdm_dialog.h index d45d4bef8..4e449cee3 100644 --- a/src/wx/kdm_dialog.h +++ b/src/wx/kdm_dialog.h @@ -40,12 +40,23 @@ private: void add_cinema (boost::shared_ptr<Cinema>); void add_screen (boost::shared_ptr<Cinema>, boost::shared_ptr<Screen>); void targets_selection_changed (wxCommandEvent &); - void new_cinema_clicked (wxCommandEvent &); - void new_screen_clicked (wxCommandEvent &); + void add_cinema_clicked (wxCommandEvent &); + void edit_cinema_clicked (wxCommandEvent &); + void remove_cinema_clicked (wxCommandEvent &); + void add_screen_clicked (wxCommandEvent &); + void edit_screen_clicked (wxCommandEvent &); + void remove_screen_clicked (wxCommandEvent &); + std::list<std::pair<wxTreeItemId, boost::shared_ptr<Cinema> > > selected_cinemas () const; + std::list<std::pair<wxTreeItemId, boost::shared_ptr<Screen> > > selected_screens () const; + void setup_sensitivity (); wxTreeCtrl* _targets; - wxButton* _new_cinema; - wxButton* _new_screen; + wxButton* _add_cinema; + wxButton* _edit_cinema; + wxButton* _remove_cinema; + wxButton* _add_screen; + wxButton* _edit_screen; + wxButton* _remove_screen; wxDatePickerCtrl* _from_date; wxDatePickerCtrl* _to_date; wxTimePickerCtrl* _from_time; |
