diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llfloatersnapshot.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llfloatersnapshot.h')
-rw-r--r-- | linden/indra/newview/llfloatersnapshot.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloatersnapshot.h b/linden/indra/newview/llfloatersnapshot.h index 3948a0f..c97923b 100644 --- a/linden/indra/newview/llfloatersnapshot.h +++ b/linden/indra/newview/llfloatersnapshot.h | |||
@@ -38,15 +38,23 @@ | |||
38 | #include "llimagegl.h" | 38 | #include "llimagegl.h" |
39 | #include "llcharacter.h" | 39 | #include "llcharacter.h" |
40 | 40 | ||
41 | |||
41 | class LLFloaterSnapshot : public LLFloater | 42 | class LLFloaterSnapshot : public LLFloater |
42 | { | 43 | { |
43 | public: | 44 | public: |
44 | LLFloaterSnapshot(); | 45 | typedef enum e_snapshot_format |
46 | { | ||
47 | SNAPSHOT_FORMAT_PNG, | ||
48 | SNAPSHOT_FORMAT_JPEG, | ||
49 | SNAPSHOT_FORMAT_BMP | ||
50 | } ESnapshotFormat; | ||
51 | |||
52 | LLFloaterSnapshot(); | ||
45 | virtual ~LLFloaterSnapshot(); | 53 | virtual ~LLFloaterSnapshot(); |
46 | 54 | ||
47 | virtual BOOL postBuild(); | 55 | /*virtual*/ BOOL postBuild(); |
48 | virtual void draw(); | 56 | /*virtual*/ void draw(); |
49 | virtual void onClose(bool app_quitting); | 57 | /*virtual*/ void onClose(bool app_quitting); |
50 | 58 | ||
51 | static void show(void*); | 59 | static void show(void*); |
52 | static void hide(void*); | 60 | static void hide(void*); |
@@ -69,7 +77,7 @@ private: | |||
69 | class LLSnapshotFloaterView : public LLFloaterView | 77 | class LLSnapshotFloaterView : public LLFloaterView |
70 | { | 78 | { |
71 | public: | 79 | public: |
72 | LLSnapshotFloaterView( const LLString& name, const LLRect& rect ); | 80 | LLSnapshotFloaterView( const std::string& name, const LLRect& rect ); |
73 | virtual ~LLSnapshotFloaterView(); | 81 | virtual ~LLSnapshotFloaterView(); |
74 | 82 | ||
75 | /*virtual*/ BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent); | 83 | /*virtual*/ BOOL handleKey(KEY key, MASK mask, BOOL called_from_parent); |
@@ -79,4 +87,5 @@ public: | |||
79 | }; | 87 | }; |
80 | 88 | ||
81 | extern LLSnapshotFloaterView* gSnapshotFloaterView; | 89 | extern LLSnapshotFloaterView* gSnapshotFloaterView; |
90 | |||
82 | #endif // LL_LLFLOATERSNAPSHOT_H | 91 | #endif // LL_LLFLOATERSNAPSHOT_H |