From 87dd7f0d23eba5c09e71ec6efeb34c6844f5e95f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 29 Dec 1998 14:21:17 +0000 Subject: Revised documentation files. git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Overlay_Window.html | 70 ++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 documentation/Fl_Overlay_Window.html (limited to 'documentation/Fl_Overlay_Window.html') diff --git a/documentation/Fl_Overlay_Window.html b/documentation/Fl_Overlay_Window.html new file mode 100644 index 000000000..b9b0218de --- /dev/null +++ b/documentation/Fl_Overlay_Window.html @@ -0,0 +1,70 @@ + + + +
+ +

class Fl_Overlay_Window

+ +
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +This window provides double buffering and also the ability to draw the +"overlay" which is another picture placed on top of the main image. +The overlay is designed to be a rapidly-changing but simple graphic +such as a mouse selection box. Fl_Overlay_Window uses the +overlay planes provided by your graphics hardware if they are available. + +

If no hardware support is found the overlay is simulated by drawing +directly into the on-screen copy of the double-buffered window, and +"erased" by copying the backbuffer over it again. This means the +overlay will blink if you change the image in the window. + +

Methods

+ + + +

Fl_Overlay_Window::Fl_Overlay_Window(int x, int y, int w, int h, const char *label = 0)

+ +Creates a new Fl_Overlay_Window widget using the given position, size, and +label (title) string. + +

virtual Fl_Overlay_Window::~Fl_Overlay_Window()

+ +Destroys the window and all child widgets. + +

virtual void Fl_Overlay_Window::draw_overlay() = 0

+ +You must subclass Fl_Overlay_Window and provide this method. It is +just like a draw() method, except it draws the overlay. The overlay +will have already been "cleared" when this is called. You can use any +of the routines described in <FL/fl_draw.H>. + +

void Fl_Overlay_Window::redraw_overlay()

+ +Call this to indicate that the overlay data has changed and needs to +be redrawn. The overlay will be clear until the first time this is +called, so if you want an initial display you must call this after +calling show(). + + + -- cgit v1.2.3