1
/**************************************************************************\
3
* This file is part of the Coin 3D visualization library.
4
* Copyright (C) 1998-2005 by Systems in Motion. All rights reserved.
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* ("GPL") version 2 as published by the Free Software Foundation.
9
* See the file LICENSE.GPL at the root directory of this source
10
* distribution for additional information about the GNU GPL.
12
* For using Coin with software that can not be combined with the GNU
13
* GPL, and for taking advantage of the additional benefits of our
14
* support services, please contact Systems in Motion about acquiring
15
* a Coin Professional Edition License.
17
* See <URL:http://www.coin3d.org/> for more information.
19
* Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
20
* <URL:http://www.sim.no/>.
22
\**************************************************************************/
27
#include <Inventor/SbLinear.h>
28
#include <Inventor/Qt/SoQtBasic.h>
30
class SOQT_DLL_API SoQtCursor {
32
static void initClass(void);
37
unsigned char * bitmap;
42
// FIXME: add more default shapes. 20011119 pederb.
52
SoQtCursor(const Shape shape);
53
SoQtCursor(const CustomCursor * cc);
54
SoQtCursor(const SoQtCursor & cursor);
57
SoQtCursor & operator=(const SoQtCursor & c);
59
Shape getShape(void) const;
60
void setShape(const Shape shape);
62
const CustomCursor & getCustomCursor(void) const;
64
static const SoQtCursor & getZoomCursor(void);
65
static const SoQtCursor & getPanCursor(void);
66
static const SoQtCursor & getRotateCursor(void);
67
static const SoQtCursor & getBlankCursor(void);
70
void commonConstructor(const Shape shape, const CustomCursor * cc);
76
#endif // ! SOQT_CURSOR_H