projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor improvements from Andrew
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
filejpeg.C
diff --git
a/cinelerra-5.1/cinelerra/filejpeg.C
b/cinelerra-5.1/cinelerra/filejpeg.C
index 65dc0e3b1c59e41716794e63597f84fc2d002486..15ae547cbeea9fd1ea6e016e960c468ae41a194c 100644
(file)
--- a/
cinelerra-5.1/cinelerra/filejpeg.C
+++ b/
cinelerra-5.1/cinelerra/filejpeg.C
@@
-329,10
+329,12
@@
JPEGConfigVideo::JPEGConfigVideo(BC_WindowBase *parent_window, Asset *asset)
: BC_Window(_(PROGRAM_NAME ": Video Compression"),
parent_window->get_abs_cursor_x(1),
parent_window->get_abs_cursor_y(1),
: BC_Window(_(PROGRAM_NAME ": Video Compression"),
parent_window->get_abs_cursor_x(1),
parent_window->get_abs_cursor_y(1),
-
400, 200
)
+
xS(400), yS(200)
)
{
this->parent_window = parent_window;
this->asset = asset;
{
this->parent_window = parent_window;
this->asset = asset;
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Single File Rendering");
}
JPEGConfigVideo::~JPEGConfigVideo()
}
JPEGConfigVideo::~JPEGConfigVideo()
@@
-341,14
+343,15
@@
JPEGConfigVideo::~JPEGConfigVideo()
void JPEGConfigVideo::create_objects()
{
void JPEGConfigVideo::create_objects()
{
- int x = 10, y = 10;
+ int xs10 = xS(10), ys10 = yS(10);
+ int x = xs10, y = ys10;
lock_window("JPEGConfigVideo::create_objects");
add_subwindow(new BC_Title(x, y, _("Quality:")));
BC_ISlider *slider;
lock_window("JPEGConfigVideo::create_objects");
add_subwindow(new BC_Title(x, y, _("Quality:")));
BC_ISlider *slider;
- add_subwindow(slider = new BC_ISlider(x +
80
, y,
- 0,
200, 200, 0, 100
, asset->jpeg_quality, 0, 0,
+ add_subwindow(slider = new BC_ISlider(x +
xS(80)
, y,
+ 0,
xS(200), xS(200), 0, xS(100)
, asset->jpeg_quality, 0, 0,
&asset->jpeg_quality));
&asset->jpeg_quality));
- y += slider->get_h() + 10;
+ y += slider->get_h() +
ys
10;
add_subwindow(new BC_CheckBox(x, y,
&asset->jpeg_sphere, _("Tag for spherical playback")));
add_subwindow(new BC_CheckBox(x, y,
&asset->jpeg_sphere, _("Tag for spherical playback")));