FLTK 1.3.8: Fl_Double_Window.H Source File

FLTK 1.3.8

Fl_Double_Window.H
1//
2// "$Id$"
3//
4// Double-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_Double_Window widget . */
21
22#ifndef Fl_Double_Window_H
23#define Fl_Double_Window_H
24
25#include "Fl_Window.H"
26
40 class FL_EXPORT Fl_Double_Window : public Fl_Window {
41protected:
42 void flush(int eraseoverlay);
47 char force_doublebuffering_;
48public:
49 void show();
50 void show(int a, char **b) {Fl_Window::show(a,b);}
51 void flush();
52 void resize(int,int,int,int);
53 void hide();
54 ~Fl_Double_Window();
55
60 Fl_Double_Window(int W, int H, const char *l = 0);
61
65 Fl_Double_Window(int X, int Y, int W, int H, const char *l = 0);
66
67};
68
69#endif
70
71//
72// End of "$Id$".
73//
Fl_Window.H
Fl_Window widget .
Fl_Double_Window
The Fl_Double_Window provides a double-buffered window.
Definition: Fl_Double_Window.H:40
Fl_Double_Window::force_doublebuffering_
char force_doublebuffering_
Force double buffering, even if the OS already buffers windows (overlays need that on MacOS and Windo...
Definition: Fl_Double_Window.H:47
Fl_Window
This widget produces an actual window.
Definition: Fl_Window.H:57
Fl_Window::flush
virtual void flush()
Forces the window to be drawn, this window is also made current and calls draw().
Definition: Fl.cxx:1920
Fl_Window::show
virtual void show()
Puts the window on the screen.
Fl_Window::hide
virtual void hide()
Removes the window from the screen.
Definition: Fl.cxx:1550
Fl_Window::resize
virtual void resize(int X, int Y, int W, int H)
Changes the size and position of the window.
- Copyright © 1998-2021 by Bill Spitzak and others.