diff options
author | Jonathan Yap <jhwelch@gmail.com> | 2014-12-03 06:35:46 -0500 |
---|---|---|
committer | Jonathan Yap <jhwelch@gmail.com> | 2014-12-03 06:35:46 -0500 |
commit | cc22efa4c0d6b06bac6f49b6243df7726f89c7c4 (patch) | |
tree | 4ab1120c671cfb5953ee7e4f362df2da0ea319d9 /indra/newview/llpanelpresetspulldown.h | |
parent | ade3953e380d9211ad6d332b9b27fa23e57a7d81 (diff) |
STORM-2082 Remove Apply button.
Add new control variable to track which preset is active. Save settings
to active preset when clicking on Ok button.
Initial work to make pulldown operational. Still to do: add pretty icon for current preset.
Notifications do not appear when called from this panel.
Diffstat (limited to 'indra/newview/llpanelpresetspulldown.h')
-rw-r--r-- | indra/newview/llpanelpresetspulldown.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpanelpresetspulldown.h b/indra/newview/llpanelpresetspulldown.h index 0cabf4aaad..f3e0340247 100644 --- a/indra/newview/llpanelpresetspulldown.h +++ b/indra/newview/llpanelpresetspulldown.h @@ -45,9 +45,11 @@ class LLPanelPresetsPulldown : public LLPanel /*virtual*/ BOOL postBuild(); private: + void populatePanel(); void onGraphicsButtonClick(const LLSD& user_data); - void onMoveViewButtonClick(const LLSD& user_data); + void onRowClick(const LLSD& user_data); + std::list<std::string> mPresetNames; LLFrameTimer mHoverTimer; static const F32 sAutoCloseFadeStartTimeSec; static const F32 sAutoCloseTotalTimeSec; |