2015-11-08 05:21:53 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2018-07-12 05:27:07 +08:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2015-11-08 05:21:53 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SCREENSHOT_X11_H__
|
|
|
|
#define __SCREENSHOT_X11_H__
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef GDK_WINDOWING_X11
|
|
|
|
|
2016-03-30 04:06:31 +08:00
|
|
|
gboolean screenshot_x11_available (void);
|
|
|
|
|
2015-11-08 05:21:53 +08:00
|
|
|
ScreenshotCapabilities screenshot_x11_get_capabilities (void);
|
|
|
|
|
2016-04-02 07:28:34 +08:00
|
|
|
GimpPDBStatusType screenshot_x11_shoot (ScreenshotValues *shootvals,
|
2018-04-29 23:27:47 +08:00
|
|
|
GdkMonitor *monitor,
|
2019-08-16 17:54:50 +08:00
|
|
|
GimpImage **image,
|
2016-04-02 07:28:34 +08:00
|
|
|
GError **error);
|
2015-11-08 05:21:53 +08:00
|
|
|
|
|
|
|
#endif /* GDK_WINDOWING_X11 */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __SCREENSHOT_X11_H__ */
|