 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "generalmod.h"
18 namespace OD {
class RGBImage; }
57 SizeVer, SizeHor, SizeBDiag, SizeFDiag, SizeAll,
58 Blank,
SplitV, SplitH, PointingHand, Forbidden,
60 Last = ClosedHand, Bitmap = 24,
NotSet,
115 static void setOverride(
const char* filenm,
int hotx=-1,
int hoty=-1,
128 int hotx,
int hoty,
bool replace) = 0;
Sets another cursor for current application.
Definition: mousecursor.h:108
MouseCursorChanger(MouseCursor::Shape cs)
BufferString filename_
Only used if shape_==Bitmap.
Definition: mousecursor.h:74
static void setOverride(const char *filenm, int hotx=-1, int hoty=-1, bool replace=false)
@ SizeVer
Definition: mousecursor.h:57
@ Rotator
Definition: mousecursor.h:62
int hoty_
Definition: mousecursor.h:80
OpendTect.
Definition: commontypes.h:28
#define mExpClass(module)
Definition: commondefs.h:177
@ NotSet
Definition: mousecursor.h:60
Shape shape_
Definition: mousecursor.h:72
static MouseCursorManager * mgr_
Definition: mousecursor.h:132
static void setMgr(MouseCursorManager *)
virtual void setOverrideShape(MouseCursor::Shape, bool replace)=0
virtual ~MouseCursorManager()
Definition: mousecursor.h:111
Class for Red, Green, Blue image.
Definition: odimage.h:28
bool operator!=(const MouseCursor &) const
static void restoreOverride()
MouseCursorChanger(const char *fnm, int hotx, int hoty)
int hotx_
Definition: mousecursor.h:79
static void setOverride(MouseCursor::Shape, bool replace=false)
virtual void setOverrideCursor(const MouseCursor &, bool replace)=0
@ SplitV
Definition: mousecursor.h:58
Class to automatically change cursor, and change it back automatically when class is running out of s...
Definition: mousecursor.h:142
bool active_
Definition: mousecursor.h:151
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
OD::RGBImage * image_
Only used if shape_==Bitmap && filename_ is empty.
Definition: mousecursor.h:76
Definition of a mouse cursor, can be either a predefined shape (from the enum, or a file....
Definition: mousecursor.h:26
@ Cross
Definition: gmtdef.h:20
bool operator==(const MouseCursor &) const
MouseCursor(const char *fnm)
virtual void restoreInternal()=0
static MouseCursorManager * mgr()
virtual void setOverrideFile(const char *filenm, int hotx, int hoty, bool replace)=0
@ WhatsThis
Definition: mousecursor.h:59
@ Wait
Definition: mousecursor.h:56
static void setOverride(const MouseCursor &, bool replace=false)
Shape
Definition: mousecursor.h:56
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021