FLTK 1.3.11
Fl_Single_Window.H
1 //
2 // Single-buffered window header file for the Fast Light Tool Kit (FLTK).
3 //
4 // Copyright 1998-2024 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 // http://www.fltk.org/COPYING.php
11 //
12 // Please report all bugs and problems on the following page:
13 //
14 // http://www.fltk.org/str.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  void flush();
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 
53 };
54 
55 #endif
This widget produces an actual window.
Definition: Fl_Window.H:57
void make_current()
Same as Fl_Window::make_current()
Definition: Fl_Single_Window.H:52
virtual void show()
Puts the window on the screen.
Fl_Window widget .
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:1945
This is the same as Fl_Window.
Definition: Fl_Single_Window.H:32