PageRenderTime 30ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/newview/llfloateravatar.cpp

https://bitbucket.org/lindenlab/viewer-beta/
C++ | 54 lines | 15 code | 9 blank | 30 comment | 0 complexity | b483158aba924d0edf076dbfaa0155f5 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llfloateravatar.h
  3. * @author Leyla Farazha
  4. * @brief floater for the avatar changer
  5. *
  6. * $LicenseInfo:firstyear=2011&license=viewerlgpl$
  7. * Second Life Viewer Source Code
  8. * Copyright (C) 2011, Linden Research, Inc.
  9. *
  10. * This library is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU Lesser General Public
  12. * License as published by the Free Software Foundation;
  13. * version 2.1 of the License only.
  14. *
  15. * This library is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. * Lesser General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU Lesser General Public
  21. * License along with this library; if not, write to the Free Software
  22. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. *
  24. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  25. * $/LicenseInfo$
  26. */
  27. /**
  28. * Floater that appears when buying an object, giving a preview
  29. * of its contents and their permissions.
  30. */
  31. #include "llviewerprecompiledheaders.h"
  32. #include "llfloateravatar.h"
  33. #include "lluictrlfactory.h"
  34. LLFloaterAvatar::LLFloaterAvatar(const LLSD& key)
  35. : LLFloater(key)
  36. {
  37. }
  38. LLFloaterAvatar::~LLFloaterAvatar()
  39. {
  40. }
  41. BOOL LLFloaterAvatar::postBuild()
  42. {
  43. enableResizeCtrls(true, true, false);
  44. return TRUE;
  45. }