summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatereditextdaycycle.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-05-24 13:30:39 -0700
committerRider Linden <rider@lindenlab.com>2018-05-24 13:30:39 -0700
commit581869f2ca01aaa3349baef8785f1b26198d576e (patch)
tree88b50ee872cffd5851f113fdacf956ad264a4812 /indra/newview/llfloatereditextdaycycle.h
parentfa4ac065cb332c8c90fb59eeff0b983a1fd56691 (diff)
parentc75eeab8391859e0819de0afbf9acc2293864f1e (diff)
Merge
Diffstat (limited to 'indra/newview/llfloatereditextdaycycle.h')
-rw-r--r--indra/newview/llfloatereditextdaycycle.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/indra/newview/llfloatereditextdaycycle.h b/indra/newview/llfloatereditextdaycycle.h
index 6ef3563e8f..c68e189cae 100644
--- a/indra/newview/llfloatereditextdaycycle.h
+++ b/indra/newview/llfloatereditextdaycycle.h
@@ -87,12 +87,14 @@ private:
void onRemoveTrack();
void onCommitName(class LLLineEditor* caller, void* user_data);
void onTrackSelectionCallback(const LLSD& user_data);
+ void onPlayActionCallback(const LLSD& user_data);
// time slider moved
void onTimeSliderMoved();
// a frame moved or frame selection changed
void onFrameSliderCallback();
void selectTrack(U32 track_index);
+ void selectFrame(F32 frame);
void clearTabs();
void updateTabs();
void updateWaterTabs(const LLSettingsWaterPtr_t &p_water);
@@ -126,11 +128,13 @@ private:
void reblendSettings();
// **RIDER**
-
- // data for restoring previous displayed environment
+
+ // play functions
+ void startPlay();
+ void stopPlay();
+ static void onIdlePlay(void* user_data);
LLSettingsDay::ptr_t mEditDay; // edited copy
- LLSettingsDay::ptr_t mOriginalDay; // the one we are editing
S64Seconds mDayLength;
U32 mCurrentTrack;
std::string mLastFrameSlider;
@@ -158,6 +162,9 @@ private:
LLFlyoutComboBtnCtrl * mFlyoutControl;
+ LLFrameTimer mPlayTimer;
+ F32 mPlayStartFrame; // an env frame
+
edit_commit_signal_t mCommitSignal;
// For map of sliders to parameters