FLTK 1.3.4
Fl_Double_Window.H
1 //
2 // "$Id: Fl_Double_Window.H 9637 2012-07-24 04:37:22Z matt $"
3 //
4 // Double-buffered window header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 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_Double_Window widget . */
21 
22 #ifndef Fl_Double_Window_H
23 #define Fl_Double_Window_H
24 
25 #include "Fl_Window.H"
26 
40 class FL_EXPORT Fl_Double_Window : public Fl_Window {
41 protected:
42  void flush(int eraseoverlay);
48 public:
49  void show();
50  void show(int a, char **b) {Fl_Window::show(a,b);}
51  void flush();
52  void resize(int,int,int,int);
53  void hide();
55 
60  Fl_Double_Window(int W, int H, const char *l = 0);
61 
65  Fl_Double_Window(int X, int Y, int W, int H, const char *l = 0);
66 
67 };
68 
69 #endif
70 
71 //
72 // End of "$Id: Fl_Double_Window.H 9637 2012-07-24 04:37:22Z matt $".
73 //
This widget produces an actual window.
Definition: Fl_Window.H:57
virtual void resize(int X, int Y, int W, int H)
Changes the size and position of the window.
char force_doublebuffering_
Force double buffering, even if the OS already buffers windows (overlays need that on MacOS and Windo...
Definition: Fl_Double_Window.H:47
The Fl_Double_Window provides a double-buffered window.
Definition: Fl_Double_Window.H:40
virtual void show()
Puts the window on the screen.
Fl_Window widget .
virtual void flush()
Forces the window to be drawn, this window is also made current and calls draw(). ...
Definition: Fl.cxx:1900
virtual void hide()
Removes the window from the screen.
Definition: Fl.cxx:1530