x += end_button->get_w(); x_end = max(x, x_end);
y_end = max(y + end_button->get_h(), y_end);
#endif
- x_end += 10; y_end += 10;
+ x_end += xS(10); y_end += yS(10);
}
void RecordTransport::reposition_window(int x, int y)
x += end_button->get_w(); x_end = max(x, x_end);
y_end = max(y + end_button->get_h(), y_end);
#endif
- x_end += 10; y_end += 10;
+ x_end += xS(10); y_end += yS(10);
}
int RecordTransport::get_h()
{
this->record_transport = record_transport;
set_tooltip(_("Start recording\nfrom current position"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Recording Immediately to Capture");
}
RecordGUIRec::~RecordGUIRec()
int RecordGUIRec::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}
RecordGUIRecFrame::RecordGUIRecFrame(RecordTransport *record_transport, int x, int y)
{
this->record_transport = record_transport;
set_tooltip(_("RecordTransport single frame"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Recording Immediately to Capture");
}
RecordGUIRecFrame::~RecordGUIRecFrame()
int RecordGUIRecFrame::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}
RecordGUIPlay::RecordGUIPlay(RecordTransport *record_transport, int x, int y)
int RecordGUIPlay::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}
{
this->record_transport = record_transport;
set_tooltip(_("Stop operation"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Recording Immediately to Capture");
}
RecordGUIStop::~RecordGUIStop()
int RecordGUIStop::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}
int RecordGUIPause::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}
{
this->record_transport = record_transport;
set_tooltip(_("Start over"));
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Recording Immediately to Capture");
}
RecordGUIRewind::~RecordGUIRewind()
int RecordGUIRewind::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}
int RecordGUIBack::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}
int RecordGUIFwd::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}
int RecordGUIEnd::keypress_event()
{
- return 0;
+ return context_help_check_and_show();
}