diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-21 11:57:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-10 23:13:14 +0200 |
| commit | 9db2168dcc14a803dcd9da047ddd70e2142d82e2 (patch) | |
| tree | 452103b2ed3a65cbaf9f3b4bb731c2afdbd809f7 /src/wx/spl_entry_dialog.h | |
| parent | d1c151cfdedbf1946d30e9072dc4a5b2ea5f2f80 (diff) | |
Allow specification of player crop in playlist.
Diffstat (limited to 'src/wx/spl_entry_dialog.h')
| -rw-r--r-- | src/wx/spl_entry_dialog.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/wx/spl_entry_dialog.h b/src/wx/spl_entry_dialog.h new file mode 100644 index 000000000..63e4ba56f --- /dev/null +++ b/src/wx/spl_entry_dialog.h @@ -0,0 +1,42 @@ +/* + Copyright (C) 2025 Carl Hetherington <cth@carlh.net> + + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DCP-o-matic is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>. + +*/ + + +#include "table_dialog.h" +#include "lib/spl.h" + + +class RatioPicker; + + +class SPLEntryDialog : public TableDialog +{ +public: + SPLEntryDialog(wxWindow* parent, SPLEntry entry); + + SPLEntry get() const; + +private: + void crop_changed(boost::optional<float> ratio); + + SPLEntry _entry; + + RatioPicker* _crop; +}; |
