From cd17687f01420952712a500107e0f93e7ab8d5f8 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:34 -0500 Subject: Second Life viewer sources 1.19.1.0 --- linden/indra/newview/llviewerwindow.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'linden/indra/newview/llviewerwindow.h') diff --git a/linden/indra/newview/llviewerwindow.h b/linden/indra/newview/llviewerwindow.h index d27e74b..3122d8c 100644 --- a/linden/indra/newview/llviewerwindow.h +++ b/linden/indra/newview/llviewerwindow.h @@ -41,7 +41,6 @@ #ifndef LL_LLVIEWERWINDOW_H #define LL_LLVIEWERWINDOW_H -#include "linked_lists.h" #include "v3dmath.h" #include "v2math.h" #include "llwindow.h" @@ -61,6 +60,8 @@ class LLTextBox; class LLImageRaw; class LLHUDIcon; +#define MAX_IMAGE_SIZE 6144 //6 * 1024, max snapshot image size 6144 * 6144 + class LLViewerWindow : public LLWindowCallbacks { public: @@ -219,8 +220,8 @@ public: } ESnapshotType; BOOL saveSnapshot(const LLString& filename, S32 image_width, S32 image_height, BOOL show_ui = TRUE, BOOL do_rebuild = FALSE, ESnapshotType type = SNAPSHOT_TYPE_COLOR); - BOOL rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_height, BOOL keep_window_aspect = TRUE, - BOOL show_ui = TRUE, BOOL do_rebuild = FALSE, ESnapshotType type = SNAPSHOT_TYPE_COLOR ); + BOOL rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_height, BOOL keep_window_aspect = TRUE, BOOL is_texture = FALSE, + BOOL show_ui = TRUE, BOOL do_rebuild = FALSE, ESnapshotType type = SNAPSHOT_TYPE_COLOR, S32 max_size = MAX_IMAGE_SIZE ); BOOL saveImageNumbered(LLImageRaw *raw, const LLString& extension = LLString()); void playSnapshotAnimAndSound(); -- cgit v1.1