y += operation[CWINDOW_TOOL_WINDOW]->get_h();
subwindow->add_subwindow(operation[CWINDOW_TITLESAFE] = new CPanelTitleSafe(mwindow, this, x, y));
y += operation[CWINDOW_TITLESAFE]->get_h();
- x += (w - BC_Slider::get_span(1)) / 2; y += 15;
- subwindow->add_subwindow(cpanel_zoom = new CPanelZoom(mwindow, this, x, y, h-y-20));
+ x += (w - BC_Slider::get_span(1)) / 2; y += yS(15);
+ subwindow->add_subwindow(cpanel_zoom = new CPanelZoom(mwindow, this, x, y, h-y-yS(20)));
}
void CPanel::reposition_buttons(int x, int y, int h)
y += operation[i]->get_h();
}
x += (w - BC_Slider::get_span(1)) / 2;
- y += 15;
+ y += yS(15);
h = this->h - this->y;
- cpanel_zoom->reposition_window(x, y, w, h-y-20);
+ cpanel_zoom->reposition_window(x, y, w, h-y-yS(20));
cpanel_zoom->set_pointer_motion_range(h);
}
operation[CWINDOW_CAMERA]->get_value() ||
operation[CWINDOW_PROJECTOR]->get_value() ) {
cpanel_zoom->set_shown(1);
+ subwindow->update_canvas(0);
}
else
cpanel_zoom->set_shown(0);
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Protect video from changes (F1)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Compositor Toolbar");
}
CPanelProtect::~CPanelProtect()
{
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Edit mask (F3)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Masks");
}
CPanelMask::~CPanelMask()
{
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Ruler (F4)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Compositor Toolbar");
}
CPanelRuler::~CPanelRuler()
{
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Zoom view (F2)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Compositor Toolbar");
}
CPanelMagnify::~CPanelMagnify()
{
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Adjust camera automation (F5)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Camera and Projector");
}
CPanelCamera::~CPanelCamera()
{
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Adjust projector automation (F6)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Camera and Projector");
}
CPanelProj::~CPanelProj()
{
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Crop a layer or output (F7)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Cropping");
}
CPanelCrop::~CPanelCrop()
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Get color (F8)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Compositor Toolbar");
}
CPanelEyedrop::~CPanelEyedrop()
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Show tool info (F9)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Compositor Toolbar");
}
CPanelToolWindow::~CPanelToolWindow()
this->mwindow = mwindow;
this->gui = gui;
set_tooltip(_("Show safe regions (F10)"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Compositor Toolbar");
}
CPanelTitleSafe::~CPanelTitleSafe()
{
double zoom = pow(10.,value);
switch( mwindow->edl->session->cwindow_operation ) {
case CWINDOW_ZOOM:
- gui->subwindow->zoom_canvas(zoom, 1);
+ gui->subwindow->canvas->set_zoom(mwindow->edl, zoom);
+ gui->subwindow->update_canvas();
break;
case CWINDOW_CAMERA:
aidx = AUTOMATION_CAMERA_Z;