projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved plugins with added Tumbler box and visible values
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
cropvideo.C
diff --git
a/cinelerra-5.1/cinelerra/cropvideo.C
b/cinelerra-5.1/cinelerra/cropvideo.C
index f1c2abf57d83321287bd8be42f19c45b7a3abb77..72aa0b9d96f0f390828c77cf07f89bbd80bc8080 100644
(file)
--- a/
cinelerra-5.1/cinelerra/cropvideo.C
+++ b/
cinelerra-5.1/cinelerra/cropvideo.C
@@
-94,7
+94,7
@@
int CropVideo::save_defaults()
}
CropVideoWindow::CropVideoWindow(MWindow *mwindow, CropVideo *thread)
}
CropVideoWindow::CropVideoWindow(MWindow *mwindow, CropVideo *thread)
- : BC_Window(_(PROGRAM_NAME ": Crop"),
380, 75
, 0, 0)
+ : BC_Window(_(PROGRAM_NAME ": Crop"),
xS(380), yS(75)
, 0, 0)
{
this->mwindow = mwindow;
this->thread = thread;
{
this->mwindow = mwindow;
this->thread = thread;
@@
-107,11
+107,11
@@
CropVideoWindow::~CropVideoWindow()
void CropVideoWindow::create_objects()
{
lock_window("CropVideoWindow::create_objects");
void CropVideoWindow::create_objects()
{
lock_window("CropVideoWindow::create_objects");
- int x =
10, y = 10
;
+ int x =
xS(10), y = yS(10)
;
add_subwindow(new BC_Title(x, y, _("Select a region to crop in the video output window")));
add_subwindow(new BC_Title(x, y, _("Select a region to crop in the video output window")));
- y +=
30
;
+ y +=
yS(30)
;
add_subwindow(new BC_OKButton(x, y));
add_subwindow(new BC_OKButton(x, y));
- x = get_w() -
100
;
+ x = get_w() -
xS(100)
;
add_subwindow(new BC_CancelButton(x, y));
unlock_window();
}
add_subwindow(new BC_CancelButton(x, y));
unlock_window();
}