FLTK 1.5.0
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
30class FL_EXPORT Fl_Double_Window : public Fl_Window
31{
32public:
34 void show() FL_OVERRIDE;
36 void show(int a, char **b) {Fl_Window::show(a,b);}
37 void resize(int,int,int,int) FL_OVERRIDE;
38 void hide() FL_OVERRIDE;
39 void flush() FL_OVERRIDE;
41
46 Fl_Double_Window(int W, int H, const char *l = 0);
47
51 Fl_Double_Window(int X, int Y, int W, int H, const char *l = 0);
52
53};
54
55#endif
Fl_Window widget .
The Fl_Double_Window provides a double-buffered window.
Definition: Fl_Double_Window.H:31
Fl_Double_Window * as_double_window() FL_OVERRIDE
Return non-null if this is an Fl_Double_Window object.
Definition: Fl_Double_Window.H:33
This widget produces an actual window.
Definition: Fl_Window.H:55
void hide() FL_OVERRIDE
Removes the window from the screen.
Definition: Fl_Window.cxx:564
void show() FL_OVERRIDE
Puts the window on the screen.
Definition: Fl_Window.cxx:546
void resize(int X, int Y, int W, int H) FL_OVERRIDE
Changes the size and position of the window.
Definition: Fl_Window.cxx:560
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition: fl_attr.h:38