FLTK 1.3.2
Fl_Overlay_Window.H
00001 //
00002 // "$Id$"
00003 //
00004 // Overlay window header file for the Fast Light Tool Kit (FLTK).
00005 //
00006 // Copyright 1998-2010 by Bill Spitzak and others.
00007 //
00008 // This library is free software. Distribution and use rights are outlined in
00009 // the file "COPYING" which should have been included with this file.  If this
00010 // file is missing or damaged, see the license at:
00011 //
00012 //     http://www.fltk.org/COPYING.php
00013 //
00014 // Please report all bugs and problems on the following page:
00015 //
00016 //     http://www.fltk.org/str.php
00017 //
00018 
00019 /* \file
00020    Fl_Overlay_Window class . */
00021 
00022 #ifndef Fl_Overlay_Window_H
00023 #define Fl_Overlay_Window_H
00024 
00025 #include "Fl_Double_Window.H"
00026 
00038 class FL_EXPORT Fl_Overlay_Window : public Fl_Double_Window {
00039 #ifndef FL_DOXYGEN
00040   friend class _Fl_Overlay;
00041 #endif
00042 protected:
00049   virtual void draw_overlay() = 0;
00050 private:
00051   Fl_Window *overlay_;
00052 public:
00053   void show();
00054   void flush();
00055   void hide();
00056   void resize(int,int,int,int);
00057   ~Fl_Overlay_Window();
00059   int can_do_overlay();
00060   void redraw_overlay();
00061 protected:
00065   Fl_Overlay_Window(int W, int H, const char *l=0);
00072   Fl_Overlay_Window(int X, int Y, int W, int H, const char *l=0);
00073 public:
00074   void show(int a, char **b) {Fl_Double_Window::show(a,b);}
00075 };
00076 
00077 #endif
00078 
00079 //
00080 // End of "$Id$".
00081 //