screenshot: Add include_cursor parameter

Add a boolean parameter to Screenshot and ScreenshotWindow which draws the cursor on the screenshot when set
to true.

https://bugzilla.gnome.org/show_bug.cgi?id=670086
This commit is contained in:
Adel Gadllah
2012-02-14 19:24:41 +01:00
parent 570a029f27
commit b2ec340f9e
4 changed files with 81 additions and 4 deletions

View File

@ -154,10 +154,12 @@ void shell_global_screenshot_area (ShellGlobal *global,
void shell_global_screenshot_window (ShellGlobal *global,
gboolean include_frame,
gboolean include_cursor,
const char *filename,
ShellGlobalScreenshotCallback callback);
void shell_global_screenshot (ShellGlobal *global,
gboolean include_cursor,
const char *filename,
ShellGlobalScreenshotCallback callback);
typedef enum {