Browse Source

Remove dependence on FLTK >= 1.1.8.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
b6e0826684
4 changed files with 22 additions and 13 deletions
  1. +19
    -10
      Timeline/TLE.fl
  2. +1
    -1
      configure
  3. +1
    -1
      doc/OVERVIEW.html
  4. +1
    -1
      doc/OVERVIEW.mu

+ 19
- 10
Timeline/TLE.fl View File

@@ -192,8 +192,7 @@ menubar->add( "&Timeline", 0, 0, const_cast< Fl_Menu_Item *>( timeline->menu->me
} }




Loggable::progress_callback( &TLE::progress_cb, this );} {selected
}
Loggable::progress_callback( &TLE::progress_cb, this );} {}
} }
Function {make_window()} {open Function {make_window()} {open
} { } {
@@ -783,7 +782,8 @@ Fl::check();} {}


snprintf( pat, 256, "file://%s%s.html", DOCUMENT_PATH, file ); snprintf( pat, 256, "file://%s%s.html", DOCUMENT_PATH, file );


fl_open_uri( pat );} {}
open_url( pat );} {selected
}
} }
} }


@@ -970,7 +970,8 @@ window->do_callback();}
} }
} }


class About_Dialog {} {
class About_Dialog {open
} {
Function {About_Dialog()} {open Function {About_Dialog()} {open
} { } {
code {make_window();} {} code {make_window();} {}
@@ -1047,12 +1048,7 @@ You should have received a copy of the GNU General Public License along with thi
} }
Fl_Button {} { Fl_Button {} {
label {http://non-daw.tuxfamily.org} label {http://non-daw.tuxfamily.org}
callback {\#if ! ( FL_MAJOR_VERSION >= 1 && FL_MINOR_VERSION >= 1 && FL_PATCH_VERSION >= 8 )
// FIXME: got a better idea?
system( "x-www-browser http://non-daw.tuxfamily.org &" );
\#else
fl_open_uri( "http://non-daw.tuxfamily.org" );
\#endif}
callback {open_url( o->label() );}
xywh {125 614 245 30} color 14 labeltype SHADOW_LABEL labelcolor 6 xywh {125 614 245 30} color 14 labeltype SHADOW_LABEL labelcolor 6
} }
Fl_Box {} { Fl_Box {} {
@@ -1062,3 +1058,16 @@ You should have received a copy of the GNU General Public License along with thi
} }
} }
} }

Function {open_url( const char *url )} {open return_type void
} {
code {\#if ! ( FL_MAJOR_VERSION >= 1 && FL_MINOR_VERSION >= 1 && FL_PATCH_VERSION >= 8 )
// FIXME: got a better idea?
char cmd[256];
snprintf( cmd, sizeof( cmd ), "x-www-browser '%s' &", url );
system( cmd );
\#else
fl_open_uri( url );
\#endif} {}
}

+ 1
- 1
configure View File

@@ -15,7 +15,7 @@ ask "Build for debugging" USE_DEBUG no


begin_tests begin_tests


require_FLTK 1.1.8 images
require_FLTK 1.1.7 images
require_command FLUID fluid require_command FLUID fluid
require_package JACK 0.103.0 jack require_package JACK 0.103.0 jack
require_package sndfile 1.0.17 sndfile require_package sndfile 1.0.17 sndfile


+ 1
- 1
doc/OVERVIEW.html View File

@@ -206,7 +206,7 @@ There are no pre-compiled binaries available.
<p> <p>
The following libraries are required to build Non-DAW The following libraries are required to build Non-DAW
</p> </p>
<ul><li><span>FLTK >= 1.1.8 (with `fluid`)</span>
<ul><li><span>FLTK >= 1.1.7 (with `fluid`)</span>
<li><span>JACK >= 0.103.0</span> <li><span>JACK >= 0.103.0</span>
<li><span>libsndfile >= 0.18.0</span> <li><span>libsndfile >= 0.18.0</span>
</ul><p> </ul><p>


+ 1
- 1
doc/OVERVIEW.mu View File

@@ -363,7 +363,7 @@


The following libraries are required to build Non-DAW The following libraries are required to build Non-DAW


* FLTK >= 1.1.8 (with `fluid`)
* FLTK >= 1.1.7 (with `fluid`)
* JACK >= 0.103.0 * JACK >= 0.103.0
* libsndfile >= 0.18.0 * libsndfile >= 0.18.0




Loading…
Cancel
Save