FLTK 1.5.0
Loading...
Searching...
No Matches
Fl_Single_Window.H
1//
2// Single-buffered window header file for the Fast Light Tool Kit (FLTK).
3//
4// Copyright 1998-2024 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_Single_Window class . */
19
20#ifndef Fl_Single_Window_H
21#define Fl_Single_Window_H
22
23#include "Fl_Window.H"
24
32class FL_EXPORT Fl_Single_Window : public Fl_Window {
33public:
34 void show() FL_OVERRIDE;
36 void show(int argc, char **argv) { Fl_Window::show(argc, argv);}
37
42 Fl_Single_Window(int W, int H, const char *l=0);
43
48 Fl_Single_Window(int X, int Y, int W, int H, const char *l=0);
49
54
59};
60
61#endif
Fl_Window widget .
This is the same as Fl_Window.
Definition Fl_Single_Window.H:32
void flush() FL_OVERRIDE
Same as Fl_Window::flush()
Definition Fl_Single_Window.H:58
void make_current()
Same as Fl_Window::make_current()
Definition Fl_Single_Window.H:53
void show(int argc, char **argv)
Same as Fl_Window::show(int argc, char **argv)
Definition Fl_Single_Window.H:36
This widget produces an actual window.
Definition Fl_Window.H:55
virtual void flush()
Forces the window to be drawn, this window is also made current and calls draw().
Definition Fl_Window.cxx:481
void make_current()
Sets things up so that the drawing functions in <FL/fl_draw.H> will go into this window.
Definition Fl_Window.cxx:534
void show() FL_OVERRIDE
Puts the window on the screen.
Definition Fl_Window.cxx:546
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:38