summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewtexture.h
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2024-05-06 16:48:58 -0500
committerRunitaiLinden <davep@lindenlab.com>2024-05-06 16:48:58 -0500
commitc6d752b880cacca8fb8f10f28790a50161fcb9ab (patch)
tree14910a69597962134f2e78e864a2f05962a16356 /indra/newview/llpreviewtexture.h
parent76101843c0d390c25a783f212eb1ea75e508ada4 (diff)
parent7d87e41bbd5d4761b1eb17e49b7a00b948d84213 (diff)
Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into gltf-dev-maint-a-merge
Diffstat (limited to 'indra/newview/llpreviewtexture.h')
-rw-r--r--indra/newview/llpreviewtexture.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/indra/newview/llpreviewtexture.h b/indra/newview/llpreviewtexture.h
index 16db51332e..fdc6dddb38 100644
--- a/indra/newview/llpreviewtexture.h
+++ b/indra/newview/llpreviewtexture.h
@@ -43,22 +43,22 @@ public:
virtual void draw();
- virtual BOOL canSaveAs() const;
+ virtual bool canSaveAs() const;
virtual void saveAs();
virtual void loadAsset();
virtual EAssetStatus getAssetStatus();
- virtual void reshape(S32 width, S32 height, BOOL called_from_parent = TRUE);
+ virtual void reshape(S32 width, S32 height, bool called_from_parent = true);
virtual void onFocusReceived();
static void onFileLoadedForSave(
- BOOL success,
+ bool success,
LLViewerFetchedTexture *src_vi,
LLImageRaw* src,
LLImageRaw* aux_src,
S32 discard_level,
- BOOL final,
+ bool final,
void* userdata );
void openToSave();
@@ -73,7 +73,7 @@ public:
protected:
void init();
void populateRatioList();
- /* virtual */ BOOL postBuild();
+ /* virtual */ bool postBuild();
bool setAspectRatio(const F32 width, const F32 height);
static void onAspectRatioCommit(LLUICtrl*,void* userdata);
void adjustAspectRatio();
@@ -86,18 +86,18 @@ private:
S32 mImageOldBoostLevel;
std::string mSaveFileName;
LLFrameTimer mSavedFileTimer;
- BOOL mLoadingFullImage;
- BOOL mShowKeepDiscard;
- BOOL mCopyToInv;
+ bool mLoadingFullImage;
+ bool mShowKeepDiscard;
+ bool mCopyToInv;
// Save the image once it's loaded.
- BOOL mPreviewToSave;
+ bool mPreviewToSave;
// This is stored off in a member variable, because the save-as
// button and drag and drop functionality need to know.
- BOOL mIsCopyable;
- BOOL mIsFullPerm;
- BOOL mUpdateDimensions;
+ bool mIsCopyable;
+ bool mIsFullPerm;
+ bool mUpdateDimensions;
S32 mLastHeight;
S32 mLastWidth;
F32 mAspectRatio;