/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+ *
*/
#include "asset.h"
#include "units.h"
-RecordTransport::RecordTransport(MWindow *mwindow, Record *record,
+RecordTransport::RecordTransport(MWindow *mwindow, Record *record,
BC_WindowBase *window, int x, int y)
{
this->mwindow = mwindow;
RecordGUIRecFrame::RecordGUIRecFrame(RecordTransport *record_transport, int x, int y)
: BC_Button(x, y, record_transport->mwindow->theme->get_image_set("recframe"))
-{
- this->record_transport = record_transport;
+{
+ this->record_transport = record_transport;
set_tooltip(_("RecordTransport single frame"));
}
RecordGUIPlay::RecordGUIPlay(RecordTransport *record_transport, int x, int y)
: BC_Button(x, y, record_transport->mwindow->theme->get_image_set("play"))
-{
- this->record_transport = record_transport;
+{
+ this->record_transport = record_transport;
set_tooltip(_("Preview recording"));
}
RecordGUIStop::RecordGUIStop(RecordTransport *record_transport, int x, int y)
: BC_Button(x, y, record_transport->mwindow->theme->get_image_set("stoprec"))
{
- this->record_transport = record_transport;
+ this->record_transport = record_transport;
set_tooltip(_("Stop operation"));
}
RecordGUIPause::RecordGUIPause(RecordTransport *record_transport, int x, int y)
: BC_Button(x, y, record_transport->mwindow->theme->get_image_set("pause"))
{
- this->record_transport = record_transport;
+ this->record_transport = record_transport;
set_tooltip(_("Pause"));
}
RecordGUIRewind::RecordGUIRewind(RecordTransport *record_transport, int x, int y)
: BC_Button(x, y, record_transport->mwindow->theme->get_image_set("rewind"))
{
- this->record_transport = record_transport;
+ this->record_transport = record_transport;
set_tooltip(_("Start over"));
}
RecordGUIBack::RecordGUIBack(RecordTransport *record_transport, int x, int y)
: BC_Button(x, y, record_transport->mwindow->theme->get_image_set("fastrev"))
-{
- this->record_transport = record_transport;
+{
+ this->record_transport = record_transport;
set_tooltip(_("Fast rewind"));
}
RecordGUIFwd::RecordGUIFwd(RecordTransport *record_transport, int x, int y)
: BC_Button(x, y, record_transport->mwindow->theme->get_image_set("fastfwd"))
-{
- this->record_transport = record_transport;
+{
+ this->record_transport = record_transport;
set_tooltip(_("Fast forward"));
}
RecordGUIEnd::RecordGUIEnd(RecordTransport *record_transport, int x, int y)
: BC_Button(x, y, record_transport->mwindow->theme->get_image_set("end"))
-{
- this->record_transport = record_transport;
+{
+ this->record_transport = record_transport;
set_tooltip(_("Seek to end of recording"));
}