00001 /* 00002 * $Id: Fl_Wordwrap_Output.h,v 1.4 2003/03/15 16:09:56 laza2000 Exp $ 00003 * 00004 * Extended Fast Light Toolkit (EFLTK) 00005 * Copyright (C) 2002-2003 by EDE-Team 00006 * WWW: http://www.sourceforge.net/projects/ede 00007 * 00008 * Fast Light Toolkit (FLTK) 00009 * Copyright (C) 1998-2003 by Bill Spitzak and others. 00010 * WWW: http://www.fltk.org 00011 * 00012 * This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE 00013 * version 2. See COPYING for details. 00014 * 00015 * Author : Mikko Lahteenmaki 00016 * Email : mikko@fltk.net 00017 * 00018 * Please report all bugs and problems to "efltk-bugs@fltk.net" 00019 * 00020 */ 00021 00022 #ifndef _FL_WORDWRAP_OUTPUT_H_ 00023 #define _FL_WORDWRAP_OUTPUT_H_ 00024 00025 #include "Fl_Output.h" 00026 00027 // This class is entirely inline. If that changes, add FL_API to its declaration 00028 00030 class Fl_Wordwrap_Output : public Fl_Output { 00031 public: 00032 Fl_Wordwrap_Output(int x,int y,int w,int h,const char *l = 0) : Fl_Output(x,y,w,h,l) { input_type(MULTILINE); wordwrap(1); } 00033 }; 00034 00035 #endif