FLTK
Fl_Single_Window.H
1 //
2 // Single-buffered window header file for the Fast Light Tool Kit (FLTK).
3 //
4 // Copyright 1998-2015 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_Single_Window class . */
19 
20 #ifndef Fl_Single_Window_H
21 #define Fl_Single_Window_H
22 
23 #include "Fl_Window.H"
24 
32 class FL_EXPORT Fl_Single_Window : public Fl_Window {
33 public:
34  void show();
35  void show(int a, char **b) {Fl_Window::show(a,b);}
36 
41  Fl_Single_Window(int W, int H, const char *l=0);
42 
47  Fl_Single_Window(int X, int Y, int W, int H, const char *l=0);
48 
49  int make_current();
50 };
51 
52 #endif
This widget produces an actual window.
Definition: Fl_Window.H:53
virtual void show()
Puts the window on the screen.
Definition: Fl_Window.cxx:533
Fl_Window widget .
void make_current()
Sets things up so that the drawing functions in <FL/fl_draw.H> will go into this window.
Definition: Fl_Window.cxx:521
This is the same as Fl_Window.
Definition: Fl_Single_Window.H:32