Documentation updates (STR #505, STR #513)

The old source file "fl_set_gray.cxx" is not needed (STR #516)

Fl_Text_Display still called delete[] instead of free() in one
place (STR #503)

Fl_File_Chooser didn't correctly call isprint() and isspace()
when checking to see if the current file was text that can be
previewed (STR #517)

FLUID didn't compile with Borland C++ due to a compiler bug (STR
#496)

Fl_Positioner did not handle reversed min and max values (STR
#510)

fl_descent(), fl_height(), and fl_width() would crash a program
if you didn't call fl_font() first; they now return -1 if no
font is set (STR #500)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2004-09-07 20:59:18 +00:00
parent d7fe9245b4
commit a8b58dc223
12 changed files with 100 additions and 98 deletions
+6 -1
View File
@@ -333,7 +333,7 @@ MyWindow::~MyWindow() {
<H3>Setting the Icon of a Window</H3>
<P>FLTK currently supports setting a window's icon *before* it
<P>FLTK currently supports setting a window's icon <b>before</b> it
is shown using the <TT>Fl_Window::icon()</TT> method.
<H4>void Fl_Window::icon(char *)</H4>
@@ -358,6 +358,7 @@ window-&gt;icon((char *)p);
should be used as follows:
<UL><PRE>
#include &lt;X11/xpm.h&gt;
#include &quot;icon.xpm&quot;
fl_opendisplay(); // needed if display has not been previously opened
@@ -370,6 +371,10 @@ XpmCreatePixmapFromData(fl_display, DefaultRootWindow(fl_display),
window-&gt;icon((char *)p);
</PRE></UL>
<p>When using the Xpm library, be sure to include it in the list
of libraries that are used to link the application (usually
"-lXpm").</p>
<CENTER><TABLE WIDTH="90%" BORDER="1" CELLPADDING="5" CELLSPACING="0" BGCOLOR="#cccccc">
<TR>
<TD><B>NOTE:</B>