summaryrefslogtreecommitdiff
path: root/src/print_button.h
blob: e218e7301d0a7e27ec1b0b1128582737b9d7d43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Header for "Print Window" functions for the Fast Light Tool Kit (FLTK).
//
// Copyright 1998-2022 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file.  If this
// file is missing or damaged, see the license at:
//
//     https://www.fltk.org/COPYING.php
//
// Please see the following page on how to report bugs and issues:
//
//     https://www.fltk.org/bugs.php
//

#ifndef _SRC_FL_PRINT_BUTTON_H_
#define _SRC_FL_PRINT_BUTTON_H_

#include <FL/Fl_Window.H>

// These are all internal functions, do not FL_EXPORT these functions!
// These functions are mplemented in src/print_button.cxx

// Create and initialize the "Print/copy front window" dialog window

int fl_create_print_window();

// Print a window or copy its contents to the clipboard.

int fl_print_or_copy_window(Fl_Window *win, bool grab_decoration, int mode);

#endif // _SRC_FL_PRINT_BUTTON_H_