summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewanim.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpreviewanim.h')
-rw-r--r--indra/newview/llpreviewanim.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/indra/newview/llpreviewanim.h b/indra/newview/llpreviewanim.h
index 8eaed6ca1f..14cd53b500 100644
--- a/indra/newview/llpreviewanim.h
+++ b/indra/newview/llpreviewanim.h
@@ -30,21 +30,29 @@
#include "llpreview.h"
#include "llcharacter.h"
+class LLMotion;
+class LLTextBox;
+
class LLPreviewAnim : public LLPreview
{
public:
LLPreviewAnim(const LLSD& key);
- /*virtual*/ BOOL postBuild();
- /*virtual*/ void onClose(bool app_quitting);
- void draw();
- void cleanup();
+ BOOL postBuild() override;
+ void onClose(bool app_quitting) override;
+ void draw() override;
+ void refreshFromItem() override;
+
+ void cleanup(); // cleanup 'playing' state
void play(const LLSD& param);
-
+ void showAdvanced();
+
protected:
- LLUUID mItemID;
+ LLUUID mItemID; // Not an item id, but a playing asset id
bool mDidStart;
+ LLMotion* pMotion;
+ LLTextBox* pAdvancedStatsTextBox;
};
#endif // LL_LLPREVIEWANIM_H