FLTK 1.3.2
Fl_Single_Window.H
1 //
2 // "$Id: Fl_Single_Window.H 9637 2012-07-24 04:37:22Z matt $"
3 //
4 // Single-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_Single_Window class . */
21 
22 #ifndef Fl_Single_Window_H
23 #define Fl_Single_Window_H
24 
25 #include "Fl_Window.H"
26 
34 class FL_EXPORT Fl_Single_Window : public Fl_Window {
35 public:
36  void show();
37  void show(int a, char **b) {Fl_Window::show(a,b);}
38  void flush();
43  Fl_Single_Window(int W, int H, const char *l=0);
44 
49  Fl_Single_Window(int X, int Y, int W, int H, const char *l=0);
50 
51  int make_current();
52 };
53 
54 #endif
55 
56 //
57 // End of "$Id: Fl_Single_Window.H 9637 2012-07-24 04:37:22Z matt $".
58 //
This widget produces an actual window.
Definition: Fl_Window.H:50
virtual void show()
Puts the window on the screen.
void make_current()
Sets things up so that the drawing functions in will go into this window.
virtual void flush()
Forces the window to be drawn, this window is also made current and calls draw(). ...
Definition: Fl.cxx:1761
This is the same as Fl_Window.
Definition: Fl_Single_Window.H:34