PageRenderTime 26ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/newview/llfloaterpostprocess.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 77 lines | 33 code | 10 blank | 34 comment | 0 complexity | b3dab2142c0464670faff936ee642e04 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llfloaterpostprocess.h
  3. * @brief LLFloaterPostProcess class definition
  4. *
  5. * $LicenseInfo:firstyear=2007&license=viewerlgpl$
  6. * Second Life Viewer Source Code
  7. * Copyright (C) 2010, Linden Research, Inc.
  8. *
  9. * This library is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation;
  12. * version 2.1 of the License only.
  13. *
  14. * This library is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with this library; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. *
  23. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  24. * $/LicenseInfo$
  25. */
  26. #ifndef LL_LLFLOATERPOSTPROCESS_H
  27. #define LL_LLFLOATERPOSTPROCESS_H
  28. #include "llfloater.h"
  29. class LLButton;
  30. class LLComboBox;
  31. class LLLineEditor;
  32. class LLSliderCtrl;
  33. class LLTabContainer;
  34. class LLPanelPermissions;
  35. class LLPanelObject;
  36. class LLPanelVolume;
  37. class LLPanelContents;
  38. class LLPanelFace;
  39. /**
  40. * Menu for adjusting the post process settings of the world
  41. */
  42. class LLFloaterPostProcess : public LLFloater
  43. {
  44. public:
  45. LLFloaterPostProcess(const LLSD& key);
  46. virtual ~LLFloaterPostProcess();
  47. /*virtual*/ BOOL postBuild();
  48. /// post process callbacks
  49. static void onBoolToggle(LLUICtrl* ctrl, void* userData);
  50. static void onFloatControlMoved(LLUICtrl* ctrl, void* userData);
  51. static void onColorControlRMoved(LLUICtrl* ctrl, void* userData);
  52. static void onColorControlGMoved(LLUICtrl* ctrl, void* userData);
  53. static void onColorControlBMoved(LLUICtrl* ctrl, void* userData);
  54. static void onColorControlIMoved(LLUICtrl* ctrl, void* userData);
  55. void onLoadEffect(LLComboBox* comboBox);
  56. void onSaveEffect(LLLineEditor* editBox);
  57. void onChangeEffectName(LLUICtrl* ctrl);
  58. /// prompts a user when overwriting an effect
  59. bool saveAlertCallback(const LLSD& notification, const LLSD& response);
  60. /// sync up sliders
  61. void syncMenu();
  62. /*
  63. void refresh();
  64. */
  65. public:
  66. };
  67. #endif