PageRenderTime 31ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llcommon/llcursortypes.h

https://bitbucket.org/lindenlab/viewer-beta/
C Header | 73 lines | 43 code | 4 blank | 26 comment | 0 complexity | 14570c03eadca67da327740a27054510 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llcursortypes.h
  3. * @brief Cursor types
  4. *
  5. * $LicenseInfo:firstyear=2008&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_LLCURSORTYPES_H
  27. #define LL_LLCURSORTYPES_H
  28. // If you add types here, add them in LLCursor::getCursorFromString
  29. enum ECursorType {
  30. UI_CURSOR_ARROW,
  31. UI_CURSOR_WAIT,
  32. UI_CURSOR_HAND,
  33. UI_CURSOR_IBEAM,
  34. UI_CURSOR_CROSS,
  35. UI_CURSOR_SIZENWSE,
  36. UI_CURSOR_SIZENESW,
  37. UI_CURSOR_SIZEWE,
  38. UI_CURSOR_SIZENS,
  39. UI_CURSOR_NO,
  40. UI_CURSOR_WORKING,
  41. UI_CURSOR_TOOLGRAB,
  42. UI_CURSOR_TOOLLAND,
  43. UI_CURSOR_TOOLFOCUS,
  44. UI_CURSOR_TOOLCREATE,
  45. UI_CURSOR_ARROWDRAG,
  46. UI_CURSOR_ARROWCOPY, // drag with copy
  47. UI_CURSOR_ARROWDRAGMULTI,
  48. UI_CURSOR_ARROWCOPYMULTI, // drag with copy
  49. UI_CURSOR_NOLOCKED,
  50. UI_CURSOR_ARROWLOCKED,
  51. UI_CURSOR_GRABLOCKED,
  52. UI_CURSOR_TOOLTRANSLATE,
  53. UI_CURSOR_TOOLROTATE,
  54. UI_CURSOR_TOOLSCALE,
  55. UI_CURSOR_TOOLCAMERA,
  56. UI_CURSOR_TOOLPAN,
  57. UI_CURSOR_TOOLZOOMIN,
  58. UI_CURSOR_TOOLPICKOBJECT3,
  59. UI_CURSOR_TOOLPLAY,
  60. UI_CURSOR_TOOLPAUSE,
  61. UI_CURSOR_TOOLMEDIAOPEN,
  62. UI_CURSOR_PIPETTE,
  63. UI_CURSOR_TOOLSIT,
  64. UI_CURSOR_TOOLBUY,
  65. UI_CURSOR_TOOLOPEN,
  66. UI_CURSOR_COUNT // Number of elements in this enum (NOT a cursor)
  67. };
  68. LL_COMMON_API ECursorType getCursorFromString(const std::string& cursor_string);
  69. #endif // LL_LLCURSORTYPES_H