diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-02-03 21:56:42 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-02-03 21:57:47 +0100 |
| commit | e73f9d466da578f31af7b24d5f016eaa927a5c91 (patch) | |
| tree | 631c800c9d68f32c46529de4f632eef8e9097b87 /src/print_button.h | |
| parent | c483c4c5de8ffa732eac2a8710008a1c67a23955 (diff) | |
Rearrange "Print Button Window" functions
- Rename Fl_Screen_Driver::print_or_copy_window() to
fl_print_or_copy_window()
- Add header file src/print_button.h
- Update dependencies
Diffstat (limited to 'src/print_button.h')
| -rw-r--r-- | src/print_button.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/print_button.h b/src/print_button.h new file mode 100644 index 000000000..e218e7301 --- /dev/null +++ b/src/print_button.h @@ -0,0 +1,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_ |
