Blame hdspconf/src/HC_AboutText.cxx

Packit Service b98cfc
/*
Packit Service b98cfc
 *   HDSPConf
Packit Service b98cfc
 *    
Packit Service b98cfc
 *   Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
Packit Service b98cfc
 *    
Packit Service b98cfc
 *   This program is free software; you can redistribute it and/or modify
Packit Service b98cfc
 *   it under the terms of the GNU General Public License as published by
Packit Service b98cfc
 *   the Free Software Foundation; either version 2 of the License, or
Packit Service b98cfc
 *   (at your option) any later version.
Packit Service b98cfc
 *
Packit Service b98cfc
 *   This program is distributed in the hope that it will be useful,
Packit Service b98cfc
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service b98cfc
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service b98cfc
 *   GNU General Public License for more details.
Packit Service b98cfc
 *
Packit Service b98cfc
 *   You should have received a copy of the GNU General Public License
Packit Service b98cfc
 *   along with this program; if not, write to the Free Software
Packit Service b98cfc
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Packit Service b98cfc
 */
Packit Service b98cfc
Packit Service b98cfc
#pragma implementation
Packit Service b98cfc
#include "HC_AboutText.h"
Packit Service b98cfc
Packit Service b98cfc
HC_AboutText::HC_AboutText(int x, int y, int w, int h):Fl_Widget(x, y, w, h, "About Text")
Packit Service b98cfc
{
Packit Service b98cfc
	text = "HDSPConf " VERSION " (C) 2003 Thomas Charbonnel <thomas@@undata.org>\n\n"
Packit Service b98cfc
	       "This Program is free software; you can redistribute it and/or modify\n"
Packit Service b98cfc
	       "it under the terms of the GNU General Public License as published by\n"
Packit Service b98cfc
	       "the Free Software Foundation; either version 2 of the License, or\n"
Packit Service b98cfc
	       "(at your option) any later version.\n\n"
Packit Service b98cfc
	       "This program is distributed in the hope that it will be useful,\n"
Packit Service b98cfc
	       "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
Packit Service b98cfc
	       "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
Packit Service b98cfc
	       "See the GNU General Public License for more details.\n\n"
Packit Service b98cfc
	       "You should have received a copy of the GNU General Public License\n"
Packit Service b98cfc
	       "along with this program; if not, write to the Free Software\n"
Packit Service b98cfc
	       "Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n";
Packit Service b98cfc
}
Packit Service b98cfc
Packit Service b98cfc
void HC_AboutText::draw()
Packit Service b98cfc
{
Packit Service b98cfc
	fl_color(FL_FOREGROUND_COLOR);
Packit Service b98cfc
	fl_font(FL_HELVETICA, 10);
Packit Service b98cfc
	fl_draw(text, x(), y(), w(), h(), FL_ALIGN_LEFT);
Packit Service b98cfc
}
Packit Service b98cfc