FLTK 1.3.8: Fl_Menu_Window.H Source File

FLTK 1.3.8

Fl_Menu_Window.H
1//
2// "$Id$"
3//
4// Menu 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_Menu_Window widget . */
21
22#ifndef Fl_Menu_Window_H
23#define Fl_Menu_Window_H
24
25#include "Fl_Single_Window.H"
26
33 class FL_EXPORT Fl_Menu_Window : public Fl_Single_Window {
34public:
35 void show();
36 void erase();
37 void flush();
38 void hide();
40 unsigned int overlay() {return !(flags()&NO_OVERLAY);}
42 void set_overlay() {clear_flag(NO_OVERLAY);}
45 void clear_overlay() {set_flag(NO_OVERLAY);}
46 ~Fl_Menu_Window();
48 Fl_Menu_Window(int W, int H, const char *l = 0);
50 Fl_Menu_Window(int X, int Y, int W, int H, const char *l = 0);
51};
52
53#endif
54
55//
56// End of "$Id$".
57//
Fl_Single_Window
This is the same as Fl_Window.
Definition: Fl_Single_Window.H:34
Fl_Single_Window::flush
void flush()
Forces the window to be drawn, this window is also made current and calls draw().
Definition: Fl_Single_Window.cxx:34
Fl_Single_Window::show
void show()
Puts the window on the screen.
Definition: Fl_Single_Window.cxx:28
Fl_Widget::NO_OVERLAY
@ NO_OVERLAY
window not using a hardware overlay plane (Fl_Menu_Window)
Definition: Fl_Widget.H:171
Fl_Widget::flags
unsigned int flags() const
Gets the widget flags mask.
Definition: Fl_Widget.H:147
Fl_Widget::set_flag
void set_flag(unsigned int c)
Sets a flag in the flags mask.
Definition: Fl_Widget.H:149
Fl_Widget::clear_flag
void clear_flag(unsigned int c)
Clears a flag in the flags mask.
Definition: Fl_Widget.H:151
Fl_Window::hide
virtual void hide()
Removes the window from the screen.
Definition: Fl.cxx:1550
- Copyright © 1998-2021 by Bill Spitzak and others.