PageRenderTime 21ms CodeModel.GetById 14ms app.highlight 4ms RepoModel.GetById 1ms 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
 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
27#ifndef LL_LLCURSORTYPES_H
28#define LL_LLCURSORTYPES_H
29
30// If you add types here, add them in LLCursor::getCursorFromString
31enum ECursorType {
32	UI_CURSOR_ARROW,
33	UI_CURSOR_WAIT,
34	UI_CURSOR_HAND,
35	UI_CURSOR_IBEAM,
36	UI_CURSOR_CROSS,
37	UI_CURSOR_SIZENWSE,
38	UI_CURSOR_SIZENESW,
39	UI_CURSOR_SIZEWE,
40	UI_CURSOR_SIZENS,
41	UI_CURSOR_NO,
42	UI_CURSOR_WORKING,
43	UI_CURSOR_TOOLGRAB,
44	UI_CURSOR_TOOLLAND,
45	UI_CURSOR_TOOLFOCUS,
46	UI_CURSOR_TOOLCREATE,
47	UI_CURSOR_ARROWDRAG,
48	UI_CURSOR_ARROWCOPY,	// drag with copy
49	UI_CURSOR_ARROWDRAGMULTI,
50	UI_CURSOR_ARROWCOPYMULTI,	// drag with copy
51	UI_CURSOR_NOLOCKED,
52	UI_CURSOR_ARROWLOCKED,
53	UI_CURSOR_GRABLOCKED,
54	UI_CURSOR_TOOLTRANSLATE,
55	UI_CURSOR_TOOLROTATE,
56	UI_CURSOR_TOOLSCALE,
57	UI_CURSOR_TOOLCAMERA,
58	UI_CURSOR_TOOLPAN,
59	UI_CURSOR_TOOLZOOMIN,
60	UI_CURSOR_TOOLPICKOBJECT3,
61	UI_CURSOR_TOOLPLAY,
62	UI_CURSOR_TOOLPAUSE,
63	UI_CURSOR_TOOLMEDIAOPEN,
64	UI_CURSOR_PIPETTE,
65	UI_CURSOR_TOOLSIT,
66	UI_CURSOR_TOOLBUY,
67	UI_CURSOR_TOOLOPEN,
68	UI_CURSOR_COUNT			// Number of elements in this enum (NOT a cursor)
69};
70
71LL_COMMON_API ECursorType getCursorFromString(const std::string& cursor_string);
72
73#endif // LL_LLCURSORTYPES_H