InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
CCursorProvider.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Dave Burnard
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
// Provides a starting point creating cursor providers.
24
//
25
//========================================================================================
26
27
#ifndef __CCursorProvider__
28
#define __CCursorProvider__
29
30
#include "ICursorProvider.h"
31
#include "HelperInterface.h"
32
#include "CursorSpec.h"
33
34
40
class
CCursorProvider
:
public
ICursorProvider
41
{
42
public
:
43
CCursorProvider
(
IPMUnknown
* boss);
44
~
CCursorProvider
();
45
47
virtual
CursorSpec
GetCursor
(
IControlView
* viewUnderMouse,
const
SysPoint
globalLocation,
ICursorMgr::eCursorModifierState
modifiers)
const
;
48
50
virtual
bool16
LocationAffectsCursor
(SysRgn cursorRgn)
const
;
51
53
virtual
bool16
ModifiersAffectCursor
(SysRgn cursorRgn)
const
;
54
56
virtual
bool16
HasLockedState
()
const
;
57
61
virtual
void
SetSingleCursor
(
const
CursorSpec
&);
62
63
private
:
64
65
};
66
67
68
#endif // __CCursorProvider__
tmpdoxygeninput
CCursorProvider.h
Generated on Sat Jul 19 2025 02:54:11 for InDesign SDK by
1.8.3.1