InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
CToolCursorProvider.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Lonnie Millett
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//========================================================================================
23
24
#ifndef __CToolCursorProvider__
25
#define __CToolCursorProvider__
26
27
#include "CCursorProvider.h"
28
29
#include "IControlView.h"
30
#include "ISnapTo.h"
31
32
40
class
CToolCursorProvider
:
public
CCursorProvider
41
{
42
public
:
44
static
CursorSpec
GetSelectionCursor
(
IControlView
* viewUnderMouse,
const
SysPoint
globalLocation,
ICursorMgr::eCursorModifierState
modifiers);
46
static
CursorSpec
GetDirectSelectionCursor
(
IControlView
* viewUnderMouse,
const
SysPoint
globalLocation,
ICursorMgr::eCursorModifierState
modifiers);
47
48
CToolCursorProvider
(
IPMUnknown
* boss);
49
~
CToolCursorProvider
();
50
52
bool16
HasLockedState
()
const
;
53
55
virtual
CursorSpec
GetCursor
(
IControlView
* viewUnderMouse,
const
SysPoint
globalMouse,
ICursorMgr::eCursorModifierState
modifiers)
const
;
56
57
using
CCursorProvider::GetCursor
;
// needed to defeat C++ name lookup rules, so that we can find the other function with the same name in the base class.
58
60
virtual
bool16
ModifiersAffectCursor
(SysRgn cursorRgn)
const
;
61
62
63
protected
:
76
virtual
SnapType
SnapCursor
(
const
SysPoint
globalLocation,
ICursorMgr::eCursorModifierState
modifiers,
IControlView
* layoutView, SnapFlags snapFlags = ISnapTo::kSnapAllPageMarks)
const
;
77
};
78
79
80
#endif
tmpdoxygeninput
CToolCursorProvider.h
Generated on Sat Jul 19 2025 02:54:11 for InDesign SDK by
1.8.3.1