FLTK 1.3.4
Fl_Overlay_Window.H
1 //
2 // "$Id: Fl_Overlay_Window.H 9637 2012-07-24 04:37:22Z matt $"
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 
38 class FL_EXPORT Fl_Overlay_Window : public Fl_Double_Window {
39 #ifndef FL_DOXYGEN
40  friend class _Fl_Overlay;
41 #endif
42 protected:
49  virtual void draw_overlay() = 0;
50 private:
51  Fl_Window *overlay_;
52 public:
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();
61 protected:
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);
73 public:
74  void show(int a, char **b) {Fl_Double_Window::show(a,b);}
75 };
76 
77 #endif
78 
79 //
80 // End of "$Id: Fl_Overlay_Window.H 9637 2012-07-24 04:37:22Z matt $".
81 //
void resize(int, int, int, int)
Changes the size and position of the window.
Definition: Fl_Double_Window.cxx:483
This widget produces an actual window.
Definition: Fl_Window.H:57
void flush()
Forces the window to be redrawn.
Definition: Fl_Double_Window.cxx:388
The Fl_Double_Window provides a double-buffered window.
Definition: Fl_Double_Window.H:40
void hide()
Removes the window from the screen.
Definition: Fl_Double_Window.cxx:505
void show()
Puts the window on the screen.
Definition: Fl_Double_Window.cxx:79
This window provides double buffering and also the ability to draw the "overlay" which is another pic...
Definition: Fl_Overlay_Window.H:38