FLTK
Fl_Double_Window.H
1 //
2 // Double-buffered window header file for the Fast Light Tool Kit (FLTK).
3 //
4 // Copyright 1998-2010 by Bill Spitzak and others.
5 //
6 // This library is free software. Distribution and use rights are outlined in
7 // the file "COPYING" which should have been included with this file. If this
8 // file is missing or damaged, see the license at:
9 //
10 // https://www.fltk.org/COPYING.php
11 //
12 // Please see the following page on how to report bugs and issues:
13 //
14 // https://www.fltk.org/bugs.php
15 //
16 
17 /* \file
18  Fl_Double_Window widget . */
19 
20 #ifndef Fl_Double_Window_H
21 #define Fl_Double_Window_H
22 
23 #include "Fl_Window.H"
24 
38 class FL_EXPORT Fl_Double_Window : public Fl_Window
39 {
40 public:
44  virtual Fl_Double_Window *as_double_window() {return this; }
45  void show();
46  void show(int a, char **b) {Fl_Window::show(a,b);}
47  void resize(int,int,int,int);
48  void hide();
49  void flush();
51 
56  Fl_Double_Window(int W, int H, const char *l = 0);
57 
61  Fl_Double_Window(int X, int Y, int W, int H, const char *l = 0);
62 
63 };
64 
65 #endif
This widget produces an actual window.
Definition: Fl_Window.H:53
The Fl_Double_Window provides a double-buffered window.
Definition: Fl_Double_Window.H:38
virtual void resize(int X, int Y, int W, int H)
Changes the size and position of the window.
Definition: Fl_Window.cxx:545
virtual Fl_Double_Window * as_double_window()
Return non-null if this is an Fl_Overlay_Window object.
Definition: Fl_Double_Window.H:44
virtual void show()
Puts the window on the screen.
Definition: Fl_Window.cxx:533
Fl_Window widget .
virtual void flush()
Forces the window to be drawn, this window is also made current and calls draw(). ...
Definition: Fl_Window.cxx:472
virtual void hide()
Removes the window from the screen.
Definition: Fl_Window.cxx:549