Cleanup includes.

pull/3/head
Jonathan Moore Liles 2008-06-17 23:01:22 -05:00
parent c1217e649b
commit a7d9e30038
12 changed files with 25 additions and 29 deletions

View File

@ -23,6 +23,8 @@
#include "Annotation_Region.H"
void
Annotation_Region::get ( Log_Entry &e ) const
{

View File

@ -19,12 +19,9 @@
#include <FL/fl_draw.H>
#include <FL/Fl.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Widget.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Menu_Item.H>
#include <FL/fl_show_colormap.H>
#include <stdio.h>
#include "Sequence.H"
#include "Audio_Region.H"

View File

@ -21,6 +21,7 @@
#include "Audio_Sequence.H"
#include "Waveform.H"
#include <list>
using namespace std;

View File

@ -17,9 +17,11 @@
/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/*******************************************************************************/
#include <FL/fl_draw.H>
#include "Control_Point.H"
#include <FL/fl_draw.H>
Control_Point::Control_Point ( Sequence *t, nframes_t when, float y )
{

View File

@ -18,8 +18,6 @@
/*******************************************************************************/
#include <FL/fl_ask.H>
#include <list>
using std::list;
#include "Control_Sequence.H"
#include "Track.H"
@ -27,6 +25,9 @@ using std::list;
#include "Engine/Engine.H" // for lock()
#include <list>
using std::list;
bool Control_Sequence::draw_with_gradient = true;

View File

@ -18,8 +18,7 @@
/*******************************************************************************/
/* Routings for opening/closing/creation of projects. All the actual
project state belongs to Timeline and other classes. */
project state belongs to Timeline and other classes. */
#include <stdio.h>
#include <stdlib.h>
@ -38,6 +37,9 @@ project state belongs to Timeline and other classes. */
#include <FL/filename.H>
#include "util/debug.h"
#include "util/file.h"
extern TLE *tle;
/* FIXME: wrong place for this */
@ -45,9 +47,6 @@ extern TLE *tle;
#define PROJECT_VERSION "0.28.0"
#include "util/debug.h"
#include "util/file.h"
char Project::_name[256];

View File

@ -21,8 +21,6 @@
#include "Sequence.H"
#include "Timeline.H"
#include "Audio_Region.H"
#include <FL/fl_draw.H>
#include "Track.H"

View File

@ -17,12 +17,12 @@
/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/*******************************************************************************/
#include "Tempo_Point.H"
#include "Tempo_Sequence.H"
#include "Timeline.H" // for timeline->tempo_track
void
Tempo_Point::get ( Log_Entry &e ) const
{

View File

@ -17,11 +17,12 @@
/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/*******************************************************************************/
#include "Time_Point.H"
#include "Time_Sequence.H"
#include "Timeline.H" // for timeline->time_track
void
Time_Point::get ( Log_Entry &e ) const
{

View File

@ -23,9 +23,6 @@
#include <FL/Fl_Scrollbar.H>
#include <FL/Fl_Widget.H>
#include <FL/fl_draw.H>
#include <FL/Fl_Scrollbar.H>
#include <FL/Fl_Menu_Button.H>
#include "Timeline.H"
@ -41,7 +38,6 @@
#include "Engine/Engine.H" // for lock()
#include "FL/menu_popup.H"

View File

@ -26,7 +26,6 @@
#include "../FL/Fl_Sometimes_Input.H"
#include <FL/fl_ask.H>
#include <FL/Fl_Color_Chooser.H>
// #include <FL/fl_draw.H>
#include <FL/Fl.H>
#include "Engine/Engine.H" // for lock()
@ -34,10 +33,14 @@
#include "Control_Sequence.H"
#include "Annotation_Sequence.H"
int Track::_soloing = 0;
const char *Track::capture_format = "Wav 24";
void
Track::cb_input_field ( Fl_Widget *, void *v )
{

View File

@ -17,31 +17,27 @@
/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/*******************************************************************************/
#include <stdio.h>
#include <FL/Enumerations.H>
#include <FL/Fl.H>
#include <FL/fl_draw.H>
#include "Timeline.H"
#include "Waveform.H"
#include <math.h>
#include <algorithm>
using std::min;
using std::max;
bool Waveform::fill = true;
bool Waveform::outline = true;
bool Waveform::vary_color = true;
bool Waveform::logarithmic = true;
/* TODO: split the variations into separate functions. eg, plain,
* outlined, filled, polygonal, rectified. */
void
Waveform::scale ( Peak *pbuf, int npeaks, float gain )
{