1 // 2 // "$Id$" 3 // 4 // Multi line output header file for the Fast Light Tool Kit (FLTK). 5 // 6 // Copyright 1998-2011 by Bill Spitzak and others. 7 // 8 // This library is free software. Distribution and use rights are outlined in 9 // the file "COPYING" which should have been included with this file. If this 10 // file is missing or damaged, see the license at: 11 // 12 // http://www.fltk.org/COPYING.php 13 // 14 // Please report all bugs and problems on the following page: 15 // 16 // http://www.fltk.org/str.php 17 // 18 19 /* \file 20 Fl_Multiline_Output widget . */ 21 22 #ifndef Fl_Multiline_Output_H 23 #define Fl_Multiline_Output_H 24 25 #include "Fl_Output.H" 26 27 /** 28 This widget is a subclass of Fl_Output that displays multiple 29 lines of text. It also displays tab characters as whitespace to the 30 next column. 31 32 Note that this widget does not support scrollbars, or per-character 33 color control. 34 35 If you are presenting large amounts of read-only text 36 and need scrollbars, or full color control of characters, 37 then use Fl_Text_Display. If you want to display HTML text, 38 use Fl_Help_View. 39 */ 40 class FL_EXPORT Fl_Multiline_Output : public Fl_Output { 41 public: 42 43 /** 44 Creates a new Fl_Multiline_Output widget using the given position, 45 size, and label string. The default boxtype is FL_DOWN_BOX. 46 47 Inherited destructor destroys the widget and any value associated with it. 48 */ 49 Fl_Multiline_Output(int X,int Y,int W,int H,const char *l = 0); 50 }; 51 52 #endif 53 54 // 55 // End of "$Id$". 56 // 57