Blame hdspmixer/src/HDSPMixerAboutText.cxx

Packit 427e91
/*
Packit 427e91
 *   HDSPMixer
Packit 427e91
 *    
Packit 427e91
 *   Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
Packit 427e91
 *
Packit 427e91
 *   Copyright (C) 2011 Adrian Knoth (adi@drcomp.erfurt.thur.de)
Packit 427e91
 *                      Fredrik Lingvall (fredrik.lingvall@gmail.com)
Packit 427e91
 *    
Packit 427e91
 *   This program is free software; you can redistribute it and/or modify
Packit 427e91
 *   it under the terms of the GNU General Public License as published by
Packit 427e91
 *   the Free Software Foundation; either version 2 of the License, or
Packit 427e91
 *   (at your option) any later version.
Packit 427e91
 *
Packit 427e91
 *   This program is distributed in the hope that it will be useful,
Packit 427e91
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 427e91
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 427e91
 *   GNU General Public License for more details.
Packit 427e91
 *
Packit 427e91
 *   You should have received a copy of the GNU General Public License
Packit 427e91
 *   along with this program; if not, write to the Free Software
Packit 427e91
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Packit 427e91
 */
Packit 427e91
Packit 427e91
#pragma implementation
Packit 427e91
#include "HDSPMixerAboutText.h"
Packit 427e91
Packit 427e91
HDSPMixerAboutText::HDSPMixerAboutText(int x, int y, int w, int h):Fl_Widget(x, y, w, h, "About Text")
Packit 427e91
{
Packit 427e91
	text = "HDSPMixer " VERSION " (C) 2003 Thomas Charbonnel <thomas@@undata.org>\n"
Packit 427e91
		"(C) 2009 Florian Faber <faber@@faberman.de>\n"
Packit 427e91
		"(C) 2011 Adrian Knoth <adi@@drcomp.erfurt.thur.de>\n"
Packit 427e91
		"(C) 2011 Fredrik lingvall <fredrik.lingvall@@gmail.com>\n\n"
Packit 427e91
	       "Bitmaps by Ralf Brunner\n"
Packit 427e91
	       "Many thanks to Martin Björnsen, Matthias Carstens and Paul Davis\n\n"
Packit 427e91
	       "This Program is free software; you can redistribute it and/or modify\n"
Packit 427e91
	       "it under the terms of the GNU General Public License as published by\n"
Packit 427e91
	       "the Free Software Foundation; either version 2 of the License, or\n"
Packit 427e91
	       "(at your option) any later version.\n\n"
Packit 427e91
	       "This program is distributed in the hope that it will be useful,\n"
Packit 427e91
	       "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
Packit 427e91
	       "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
Packit 427e91
	       "See the GNU General Public License for more details.\n\n"
Packit 427e91
	       "You should have received a copy of the GNU General Public License\n"
Packit 427e91
	       "along with this program; if not, write to the\n"
Packit 427e91
	       "Free Software Foundation, Inc., 51 Franklin Street, Suite 500,\n"
Packit 427e91
	       "Boston, MA 02110-1335, USA.\n";
Packit 427e91
}
Packit 427e91
Packit 427e91
void HDSPMixerAboutText::draw()
Packit 427e91
{
Packit 427e91
	fl_color(FL_FOREGROUND_COLOR);
Packit 427e91
	fl_font(FL_HELVETICA, 10);
Packit 427e91
	fl_draw(text, x(), y(), w(), h(), FL_ALIGN_LEFT);
Packit 427e91
}
Packit 427e91