diff options
author | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
commit | c07901e29ed545bbb02e3bddf148fe1104b94e9f (patch) | |
tree | f1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llpreview.h | |
parent | Second Life viewer sources 1.15.0.2 (diff) | |
download | meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2 meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz |
Second Life viewer sources 1.15.1.3
Diffstat (limited to 'linden/indra/newview/llpreview.h')
-rw-r--r-- | linden/indra/newview/llpreview.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/llpreview.h b/linden/indra/newview/llpreview.h index 266bdd1..c8c0355 100644 --- a/linden/indra/newview/llpreview.h +++ b/linden/indra/newview/llpreview.h | |||
@@ -48,6 +48,7 @@ public: | |||
48 | 48 | ||
49 | /*virtual*/void open(); /*Flawfinder: ignore*/ | 49 | /*virtual*/void open(); /*Flawfinder: ignore*/ |
50 | /*virtual*/void tabOpen(LLFloater* opened_floater, bool from_click); | 50 | /*virtual*/void tabOpen(LLFloater* opened_floater, bool from_click); |
51 | /*virtual*/ void userSetShape(const LLRect& new_rect); | ||
51 | 52 | ||
52 | static LLMultiPreview* getAutoOpenInstance(const LLUUID& id); | 53 | static LLMultiPreview* getAutoOpenInstance(const LLUUID& id); |
53 | static void setAutoOpenInstance(LLMultiPreview* previewp, const LLUUID& id); | 54 | static void setAutoOpenInstance(LLMultiPreview* previewp, const LLUUID& id); |
@@ -101,6 +102,9 @@ public: | |||
101 | void addKeepDiscardButtons(); | 102 | void addKeepDiscardButtons(); |
102 | static void onKeepBtn(void* data); | 103 | static void onKeepBtn(void* data); |
103 | static void onDiscardBtn(void* data); | 104 | static void onDiscardBtn(void* data); |
105 | /*virtual*/ void userSetShape(const LLRect& new_rect); | ||
106 | |||
107 | void userResized() { mUserResized = TRUE; }; | ||
104 | 108 | ||
105 | virtual void loadAsset() { mAssetStatus = PREVIEW_ASSET_LOADED; } | 109 | virtual void loadAsset() { mAssetStatus = PREVIEW_ASSET_LOADED; } |
106 | virtual EAssetStatus getAssetStatus() { return mAssetStatus;} | 110 | virtual EAssetStatus getAssetStatus() { return mAssetStatus;} |
@@ -135,6 +139,8 @@ protected: | |||
135 | // Close without saving changes | 139 | // Close without saving changes |
136 | BOOL mForceClose; | 140 | BOOL mForceClose; |
137 | 141 | ||
142 | BOOL mUserResized; | ||
143 | |||
138 | // When closing springs a "Want to save?" dialog, we want | 144 | // When closing springs a "Want to save?" dialog, we want |
139 | // to keep the preview open until the save completes. | 145 | // to keep the preview open until the save completes. |
140 | BOOL mCloseAfterSave; | 146 | BOOL mCloseAfterSave; |