FLTK 1.3.11
Toggle main menu visibility
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
// http://www.fltk.org/COPYING.php
11
//
12
// Please report all bugs and problems on the following page:
13
//
14
// http://www.fltk.org/str.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
32
class
FL_EXPORT
Fl_Single_Window
:
public
Fl_Window {
33
public
:
34
void
show
();
35
void
show
(
int
a,
char
**b) {
Fl_Window::show
(a,b);}
36
void
flush
();
41
Fl_Single_Window
(
int
W,
int
H,
const
char
*l=0);
42
47
Fl_Single_Window
(
int
X,
int
Y,
int
W,
int
H,
const
char
*l=0);
48
52
void
make_current
() {
Fl_Window::make_current
(); }
53
};
54
55
#endif
Fl_Window.H
Fl_Window widget .
Fl_Single_Window::Fl_Single_Window
Fl_Single_Window(int W, int H, const char *l=0)
Creates a new Fl_Single_Window widget using the given size, and label (title) string.
Definition
Fl_Single_Window.cxx:40
Fl_Single_Window::make_current
void make_current()
Same as Fl_Window::make_current().
Definition
Fl_Single_Window.H:52
Fl_Window::flush
virtual void flush()
Forces the window to be drawn, this window is also made current and calls draw().
Definition
Fl.cxx:1945
Fl_Window::make_current
void make_current()
Sets things up so that the drawing functions in <FL/fl_draw.H> will go into this window.
Fl_Window::show
virtual void show()
Puts the window on the screen.
FL
Fl_Single_Window.H
Generated by
1.17.0