libncurses5-dev libxinerama-dev libfreetype6-dev libxft-dev libgif-dev \
libtiff5-dev exuberant-ctags ttf-bitstream-vera xfonts-75dpi xfonts-100dpi \
fonts-dejavu libopenexr-dev festival libfftw3-dev gdb \
- libdc1394-22-dev libesd0-dev libflac-dev libjbig-dev libvdpau-dev
+ libdc1394-22-dev libesd0-dev libflac-dev libjbig-dev libvdpau-dev \
inkscape libsndfile1-dev libtheora-dev cmake udftools libxml2-utils git \
autoconf automake debhelper
;;
else
if(file->tag.title_is("ASSETS"))
{
- if(load_flags & LOAD_ASSETS)
+ if((load_flags & LOAD_ASSETS) &&
+ !parent_edl)
assets->load(file, load_flags);
else
result = file->skip_tag();
char File::cinplg_path[BCTEXTLEN];
char File::cinlad_path[BCTEXTLEN];
char File::cinlcl_path[BCTEXTLEN];
+char File::cinbwr_path[BCTEXTLEN];
void File::init_cin_path()
{
getenv_path(env_path, LOCALE_DIR);
snprintf(cinlcl_path, sizeof(cinlcl_path), "CIN_LOCALE=%s", env_path);
putenv(cinlcl_path);
+
+#ifndef CIN_BROWSER
+#define CIN_BROWSER "firefox"
+#endif
+ getenv_path(env_path, CIN_BROWSER);
+ snprintf(cinbwr_path, sizeof(cinlcl_path), "CIN_BROWSER=%s", env_path);
+ putenv(cinbwr_path);
}
static char cindat_path[BCTEXTLEN], cinlib_path[BCTEXTLEN];
static char cincfg_path[BCTEXTLEN], cinplg_path[BCTEXTLEN];
static char cinlad_path[BCTEXTLEN], cinlcl_path[BCTEXTLEN];
+ static char cinbwr_path[BCTEXTLEN];
static const char *get_cin() { return getenv("CIN_PKG"); }
static const char *get_cin_path() { return getenv("CIN_PATH"); }
static const char *get_cindat_path() { return getenv("CIN_DAT"); }
static const char *get_plugin_path() { return getenv("CIN_PLUGIN"); }
static const char *get_ladspa_path() { return getenv("CIN_LADSPA"); }
static const char *get_locale_path() { return getenv("CIN_LOCALE"); }
+ static const char *get_browser_path() { return getenv("CIN_BROWSER"); }
static const char *default_probes[];
static const int nb_probes;
{
this->mwindow = mwindow;
this->mbuttons = mbuttons;
- set_tooltip( !get_value() ? _("Try FFMpeg first") : _("Try FFMpeg last") );
+ set_tooltip(!get_value() ?
+ _("Currently: Try FFMpeg last\n Click to: Try FFMpeg first") :
+ _("Currently: Try FFMpeg first\n Click to: Try FFMpeg last"));
}
FFMpegToggle::~FFMpegToggle()
int FFMpegToggle::handle_event()
{
int ffmpeg_early_probe = get_value();
- set_tooltip( !ffmpeg_early_probe ? _("Try FFMpeg first") : _("Try FFMpeg last"));
+ set_tooltip(!ffmpeg_early_probe ?
+ _("Currently: Try FFMpeg last\n Click to: Try FFMpeg first") :
+ _("Currently: Try FFMpeg first\n Click to: Try FFMpeg last"));
mwindow->preferences->set_file_probe_armed("FFMPEG_Early", ffmpeg_early_probe);
mwindow->preferences->set_file_probe_armed("FFMPEG_Late", !ffmpeg_early_probe);
shbtn_prefs.remove_all_objects();
int shbtns_total = defaults->get("SHBTNS_TOTAL", -1);
if( shbtns_total < 0 ) {
- shbtn_prefs.append(new ShBtnPref("Features5", "firefox file://$CIN_DAT/doc/Features5.pdf", 0));
- shbtn_prefs.append(new ShBtnPref("Online Help", "firefox https://cinelerra-cv.org/docs.php", 0));
- shbtn_prefs.append(new ShBtnPref("Orignal Manual", "firefox file://$CIN_DAT/doc/cinelerra.html", 0));
+ shbtn_prefs.append(new ShBtnPref(_("Features5"), "$CIN_BROWSER file://$CIN_DAT/doc/Features5.pdf", 0));
+ shbtn_prefs.append(new ShBtnPref(_("Online Help"), "$CIN_BROWSER https://cinelerra-cv.org/docs.php", 0));
+ shbtn_prefs.append(new ShBtnPref(_("Original Manual"), "$CIN_BROWSER file://$CIN_DAT/doc/cinelerra.html", 0));
+ shbtn_prefs.append(new ShBtnPref(_("Setting Shell Commands"), "$CIN_BROWSER file://$CIN_DAT/doc/ShellCmds.html", 0));
shbtns_total = 0;
}
for( int i=0; i<shbtns_total; ++i ) {
install: all
mkdir -p $(TARGET_DIR)
cp -a *.png $(TARGET_DIR)/.
+ cp -a ShellCmds.* $(TARGET_DIR)/.
cp -a cinelerra.html $(TARGET_DIR)/.
cp -a Features5.pdf $(TARGET_DIR)/.
--- /dev/null
+<!DOCTYPE html><html>
+<head>
+<title></title>
+<style type="text/css">
+<!--
+.xflip {
+ -moz-transform: scaleX(-1);
+ -webkit-transform: scaleX(-1);
+ -o-transform: scaleX(-1);
+ transform: scaleX(-1);
+ filter: fliph;
+}
+.yflip {
+ -moz-transform: scaleY(-1);
+ -webkit-transform: scaleY(-1);
+ -o-transform: scaleY(-1);
+ transform: scaleY(-1);
+ filter: flipv;
+}
+.xyflip {
+ -moz-transform: scaleX(-1) scaleY(-1);
+ -webkit-transform: scaleX(-1) scaleY(-1);
+ -o-transform: scaleX(-1) scaleY(-1);
+ transform: scaleX(-1) scaleY(-1);
+ filter: fliph + flipv;
+}
+-->
+</style>
+</head>
+<body>
+<a name=1></a>The Shell Cmds popup menu items are configured in:<br/>
+<b>Settings->Preferences->Interface->Shell Commands</b><br/>
+This runs a dialog that lets you Add/Del/Edit the items in the main menu popup.  Possible options are:<br/> <br/>1) Add a new menu item/script: <br/>    click Add<br/>    in the Label box, change the word "new" to the desired menu label<br/>    in the Commands box, type the command lines to be included in the script<br/>    (for example: Label => gimp; Commands => gimp)<br/>    check-OK in the Commands window<br/>    check-OK in the Shell window<br/>    click on OK or Apply in the Preferences window (WILL NOT TAKE EFFECT UNTIL CLICK)<br/>
+2) Del to delete an existing menu item (for example manual):<br/>     select to highlight an entry in the Cinelerra: Shell listbox<br/>     click Del <br/>     check-OK in the Shell window<br/>     click on OK or Apply in the Preferences window (the entry is destroyed)<br/>
+3) Edit an existing menu item:<br/>    click Edit<br/>    select to highlight an entry in the Cinelerra: Shell listbox<br/>    click edit (the edit dialog appears)<br/>    set the label and/or commands to the new desired values<br/>    check-OK in the Shell window<br/>    click on OK or Apply in the Preferences window<br/>
+<hr/>
+<a name="outline"></a><h1>Document Outline</h1>
+<ul>
+<li><a href="ShellCmdss.html#1">Slide 1</a></li>
+</ul>
+<hr/>
+</body>
+</html>