projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add language property to SubtitleContent and use it in output DCP subtitle files.
[dcpomatic.git]
/
src
/
wx
/
subtitle_panel.h
diff --git
a/src/wx/subtitle_panel.h
b/src/wx/subtitle_panel.h
index 20d7c40c2eb1d3eb1add4350a1b1482b3cbfc2a1..f82fb14e5bfe49ad2a224db55ef35fc59b633a3a 100644
(file)
--- a/
src/wx/subtitle_panel.h
+++ b/
src/wx/subtitle_panel.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2012-201
3
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-201
4
Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-17,32
+17,40
@@
*/
*/
-#include "
film_editor
_panel.h"
+#include "
content_sub
_panel.h"
class wxCheckBox;
class wxSpinCtrl;
class wxCheckBox;
class wxSpinCtrl;
+class SubtitleView;
-class SubtitlePanel : public
FilmEditor
Panel
+class SubtitlePanel : public
ContentSub
Panel
{
public:
{
public:
- SubtitlePanel (
FilmEditor
*);
+ SubtitlePanel (
ContentPanel
*);
void film_changed (Film::Property);
void film_content_changed (int);
void content_selection_changed ();
private:
void film_changed (Film::Property);
void film_content_changed (int);
void content_selection_changed ();
private:
- void
with_subtitles
_toggled ();
+ void
use
_toggled ();
void x_offset_changed ();
void y_offset_changed ();
void x_offset_changed ();
void y_offset_changed ();
- void scale_changed ();
+ void x_scale_changed ();
+ void y_scale_changed ();
+ void language_changed ();
void stream_changed ();
void stream_changed ();
+ void view_clicked ();
void setup_sensitivity ();
void setup_sensitivity ();
- wxCheckBox* _
with_subtitles
;
+ wxCheckBox* _
use
;
wxSpinCtrl* _x_offset;
wxSpinCtrl* _y_offset;
wxSpinCtrl* _x_offset;
wxSpinCtrl* _y_offset;
- wxSpinCtrl* _scale;
+ wxSpinCtrl* _x_scale;
+ wxSpinCtrl* _y_scale;
+ wxTextCtrl* _language;
wxChoice* _stream;
wxChoice* _stream;
+ wxButton* _view_button;
+ SubtitleView* _view;
};
};