summaryrefslogtreecommitdiff
path: root/src/wx/screens_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-21 00:54:18 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-21 00:54:18 +0100
commitbac28a7b12f7a3df11fc7c9a06d67dd175d24809 (patch)
tree9546ca2373cf31e9afc6b1c72131992fe6239d07 /src/wx/screens_panel.h
parentcbdd9d4b569d1ffe59ccfb9c88c1ddf71adc1607 (diff)
Add check/uncheck all buttons to screens panel.
Diffstat (limited to 'src/wx/screens_panel.h')
-rw-r--r--src/wx/screens_panel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/screens_panel.h b/src/wx/screens_panel.h
index e3c7023df..9c9811c1d 100644
--- a/src/wx/screens_panel.h
+++ b/src/wx/screens_panel.h
@@ -69,6 +69,8 @@ private:
void set_screen_checked (wxTreeListItem item, bool checked);
void setup_cinema_checked_state (wxTreeListItem screen);
int compare (std::string const& utf8_a, std::string const& utf8_b);
+ void check_all ();
+ void uncheck_all ();
std::shared_ptr<Cinema> item_to_cinema (wxTreeListItem item) const;
std::shared_ptr<dcpomatic::Screen> item_to_screen (wxTreeListItem item) const;
@@ -83,6 +85,8 @@ private:
wxButton* _add_screen;
wxButton* _edit_screen;
wxButton* _remove_screen;
+ wxButton* _check_all;
+ wxButton* _uncheck_all;
/* We want to be able to search (and so remove selected things from the view)
* but not deselect them, so we maintain lists of selected cinemas and screens.