diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llviewerwindow.h | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llviewerwindow.h')
-rw-r--r-- | linden/indra/newview/llviewerwindow.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 @@ | |||
41 | #ifndef LL_LLVIEWERWINDOW_H | 41 | #ifndef LL_LLVIEWERWINDOW_H |
42 | #define LL_LLVIEWERWINDOW_H | 42 | #define LL_LLVIEWERWINDOW_H |
43 | 43 | ||
44 | #include "linked_lists.h" | ||
45 | #include "v3dmath.h" | 44 | #include "v3dmath.h" |
46 | #include "v2math.h" | 45 | #include "v2math.h" |
47 | #include "llwindow.h" | 46 | #include "llwindow.h" |
@@ -61,6 +60,8 @@ class LLTextBox; | |||
61 | class LLImageRaw; | 60 | class LLImageRaw; |
62 | class LLHUDIcon; | 61 | class LLHUDIcon; |
63 | 62 | ||
63 | #define MAX_IMAGE_SIZE 6144 //6 * 1024, max snapshot image size 6144 * 6144 | ||
64 | |||
64 | class LLViewerWindow : public LLWindowCallbacks | 65 | class LLViewerWindow : public LLWindowCallbacks |
65 | { | 66 | { |
66 | public: | 67 | public: |
@@ -219,8 +220,8 @@ public: | |||
219 | } ESnapshotType; | 220 | } ESnapshotType; |
220 | 221 | ||
221 | BOOL saveSnapshot(const LLString& filename, S32 image_width, S32 image_height, BOOL show_ui = TRUE, BOOL do_rebuild = FALSE, ESnapshotType type = SNAPSHOT_TYPE_COLOR); | 222 | BOOL saveSnapshot(const LLString& filename, S32 image_width, S32 image_height, BOOL show_ui = TRUE, BOOL do_rebuild = FALSE, ESnapshotType type = SNAPSHOT_TYPE_COLOR); |
222 | BOOL rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_height, BOOL keep_window_aspect = TRUE, | 223 | BOOL rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_height, BOOL keep_window_aspect = TRUE, BOOL is_texture = FALSE, |
223 | BOOL show_ui = TRUE, BOOL do_rebuild = FALSE, ESnapshotType type = SNAPSHOT_TYPE_COLOR ); | 224 | BOOL show_ui = TRUE, BOOL do_rebuild = FALSE, ESnapshotType type = SNAPSHOT_TYPE_COLOR, S32 max_size = MAX_IMAGE_SIZE ); |
224 | BOOL saveImageNumbered(LLImageRaw *raw, const LLString& extension = LLString()); | 225 | BOOL saveImageNumbered(LLImageRaw *raw, const LLString& extension = LLString()); |
225 | 226 | ||
226 | void playSnapshotAnimAndSound(); | 227 | void playSnapshotAnimAndSound(); |