FLTK 1.4.4

Loading...
Searching...
No Matches
Fl_Double_Window.H
1//
2// Double-buffered window header file for the Fast Light Tool Kit (FLTK).
3//
4// Copyright 1998-2010 by Bill Spitzak and others.
5//
6// This library is free software. Distribution and use rights are outlined in
7// the file "COPYING" which should have been included with this file. If this
8// file is missing or damaged, see the license at:
9//
10// https://www.fltk.org/COPYING.php
11//
12// Please see the following page on how to report bugs and issues:
13//
14// https://www.fltk.org/bugs.php
15//
16
17/* \file
18 Fl_Double_Window widget . */
19
20#ifndef Fl_Double_Window_H
21#define Fl_Double_Window_H
22
23#include "Fl_Window.H"
24
30 class FL_EXPORT Fl_Double_Window : public Fl_Window
31{
32 public:
33 Fl_Double_Window *as_double_window() FL_OVERRIDE {return this; }
34 void show() FL_OVERRIDE;
36 void show(int a, char **b) {Fl_Window::show(a,b);}
37 void resize(int,int,int,int) FL_OVERRIDE;
38 void hide() FL_OVERRIDE;
39 void flush() FL_OVERRIDE;
40 ~Fl_Double_Window();
41
46 Fl_Double_Window(int W, int H, const char *l = 0);
47
51 Fl_Double_Window(int X, int Y, int W, int H, const char *l = 0);
52
53};
54
55#endif
Fl_Window.H
Fl_Window widget .
Fl_Double_Window
The Fl_Double_Window provides a double-buffered window.
Definition Fl_Double_Window.H:31
Fl_Double_Window::show
void show() FL_OVERRIDE
Makes a widget visible.
Definition Fl_Double_Window.cxx:45
Fl_Double_Window::as_double_window
Fl_Double_Window * as_double_window() FL_OVERRIDE
Return non-null if this is an Fl_Double_Window object.
Definition Fl_Double_Window.H:33
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:31
Fl_Window::hide
void hide() FL_OVERRIDE
Removes the window from the screen.
Definition Fl_Window.cxx:564
Fl_Window::show
void show() FL_OVERRIDE
Puts the window on the screen.
Definition Fl_Window.cxx:546
Fl_Window::resize
void resize(int X, int Y, int W, int H) FL_OVERRIDE
Changes the size and position of the window.
Definition Fl_Window.cxx:560
FL_OVERRIDE
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46