FLTK 1.3.11
Toggle main menu visibility
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
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
);
57
~Fl_Overlay_Window
();
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$".
81
//
Fl_Double_Window::flush
void flush()
Forces the window to be redrawn.
Definition
Fl_Double_Window.cxx:388
Fl_Double_Window::show
void show()
Puts the window on the screen.
Definition
Fl_Double_Window.cxx:79
Fl_Double_Window::hide
void hide()
Removes the window from the screen.
Definition
Fl_Double_Window.cxx:505
Fl_Double_Window::resize
void resize(int, int, int, int)
Changes the size and position of the window.
Definition
Fl_Double_Window.cxx:483
Fl_Double_Window::Fl_Double_Window
Fl_Double_Window(int W, int H, const char *l=0)
Creates a new Fl_Double_Window widget using the given position, size, and label (title) string.
Definition
Fl_Double_Window.cxx:63
Fl_Overlay_Window::redraw_overlay
void redraw_overlay()
Call this to indicate that the overlay data has changed and needs to be redrawn.
Definition
Fl_Overlay_Window.cxx:78
Fl_Overlay_Window::Fl_Overlay_Window
Fl_Overlay_Window(int W, int H, const char *l=0)
See Fl_Overlay_Window::Fl_Overlay_Window(int X, int Y, int W, int H, const char *l=0).
Definition
Fl_Double_Window.cxx:529
Fl_Overlay_Window::can_do_overlay
int can_do_overlay()
Returns non-zero if there's hardware overlay support.
Definition
Fl_Overlay_Window.cxx:70
Fl_Overlay_Window::draw_overlay
virtual void draw_overlay()=0
You must subclass Fl_Overlay_Window and provide this method.
FL
Fl_Overlay_Window.H
Generated by
1.17.0