diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-12-29 14:21:17 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-12-29 14:21:17 +0000 |
| commit | 87dd7f0d23eba5c09e71ec6efeb34c6844f5e95f (patch) | |
| tree | ecd25b3fbecdd2d1c6abf106d0c94ac2b1e9926e /documentation/Fl_Double_Window.html | |
| parent | 20adb6834b22523e9d1fecdb7bb8a117f7b6179a (diff) | |
Revised documentation files.
git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Double_Window.html')
| -rw-r--r-- | documentation/Fl_Double_Window.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/documentation/Fl_Double_Window.html b/documentation/Fl_Double_Window.html new file mode 100644 index 000000000..9018b850c --- /dev/null +++ b/documentation/Fl_Double_Window.html @@ -0,0 +1,66 @@ +<html> +<body> + +<hr break> + +<h2><a name="Fl_Double_Window">class Fl_Double_Window</a></h2> + +<hr> + +<h3>Class Hierarchy</h3> + +<ul><pre> +<a href="#Fl_Window">Fl_Window</a> + | + +----<b>Fl_Double_Window</b> +</pre></ul> + +<h3>Include Files</h3> + +<ul><pre> +#include <FL/Fl_Double_Window.H> +</pre></ul> + +<h3>Description</h3> + +The <tt>Fl_Double_Window</tt> class provides a double-buffered window. +If possible this will use the X double buffering extension (Xdbe). If +not, it will draw the window data into an off-screen pixmap, and then +copy it to the on-screen window. + +<p>It is highly recommended that you put the following code before the +first <tt>show()</tt> of <i>any</i> window in your program: + +<ul><pre> +Fl::visual(FL_DOUBLE|FL_INDEX) +</pre></ul> + +This makes sure you can use Xdbe on servers where double buffering does +not exist for every visual. + +<h3>Methods</h3> + +<ul> + <li><a href="#Fl_Double_Window.Fl_Double_Window">Fl_Double_Window</a> + <li><a href="#Fl_Double_Window.~Fl_Double_Window">~Fl_Double_Window</a> + <li><a href="#Fl_Double_Window.pixmap">pixmap</a> +</ul> + +<h4><a name="Fl_Double_Window.Fl_Double_Window">Fl_Double_Window::Fl_Double_Window(int x, int y, int w, int h, const char *label = 0)</a></h4> + +Creates a new <tt>Fl_Double_Window</tt> widget using the given position, size, and +label (title) string. + +<h4><a name="Fl_Double_Window.~Fl_Double_Window">virtual Fl_Double_Window::~Fl_Double_Window()</a></h4> + +The destructor <i>also deletes all the children</i>. This allows a +whole tree to be deleted at once, without having to keep a pointer to all +the children in the user code. + +<h4><a name="Fl_Double_Window.pixmap>ulong Fl_Double_Window::pixmap() const</a></h4> + +Returns the off-screen pixmap or back buffer. This value is zero until +the first time <tt>flush()</tt> is called. + +</body> +</html> |
