FLTK 1.3.9
Loading...
Searching...
No Matches
Fl_Overlay_Window.H
1//
2// "$Id$"
3//
4// Overlay 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_Overlay_Window class . */
21
22#ifndef Fl_Overlay_Window_H
23#define Fl_Overlay_Window_H
24
25#include "Fl_Double_Window.H"
26
38class FL_EXPORT Fl_Overlay_Window : public Fl_Double_Window {
39#ifndef FL_DOXYGEN
40 friend class _Fl_Overlay;
41#endif
42protected:
49 virtual void draw_overlay() = 0;
50private:
51 Fl_Window *overlay_;
52public:
53 void show();
54 void flush();
55 void hide();
56 void resize(int,int,int,int);
59 int can_do_overlay();
60 void redraw_overlay();
61protected:
65 Fl_Overlay_Window(int W, int H, const char *l=0);
72 Fl_Overlay_Window(int X, int Y, int W, int H, const char *l=0);
73public:
74 void show(int a, char **b) {Fl_Double_Window::show(a,b);}
75};
76
77#endif
78
79//
80// End of "$Id$".
81//
The Fl_Double_Window provides a double-buffered window.
Definition Fl_Double_Window.H:40
void flush()
Forces the window to be redrawn.
Definition Fl_Double_Window.cxx:388
void show()
Puts the window on the screen.
Definition Fl_Double_Window.cxx:79
void hide()
Removes the window from the screen.
Definition Fl_Double_Window.cxx:505
void resize(int, int, int, int)
Changes the size and position of the window.
Definition Fl_Double_Window.cxx:483
This window provides double buffering and also the ability to draw the "overlay" which is another pic...
Definition Fl_Overlay_Window.H:38
virtual void draw_overlay()=0
You must subclass Fl_Overlay_Window and provide this method.
This widget produces an actual window.
Definition Fl_Window.H:57