LMMS
Loading...
Searching...
No Matches
juce_MouseCursor.h
Go to the documentation of this file.
1/*
2 ==============================================================================
3
4 This file is part of the JUCE library.
5 Copyright (c) 2022 - Raw Material Software Limited
6
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
9
10 By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11 Agreement and JUCE Privacy Policy.
12
13 End User License Agreement: www.juce.com/juce-7-licence
14 Privacy Policy: www.juce.com/juce-privacy-policy
15
16 Or: You may also use this code under the terms of the GPL v3 (see
17 www.gnu.org/licenses).
18
19 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 DISCLAIMED.
22
23 ==============================================================================
24*/
25
26namespace juce
27{
28
29//==============================================================================
39{
40public:
41 //==============================================================================
74
75 //==============================================================================
78
81
91 MouseCursor (const Image& image, int hotSpotX, int hotSpotY);
92
104 MouseCursor (const Image& image, int hotSpotX, int hotSpotY, float scaleFactor);
105
114 MouseCursor (const ScaledImage& image, Point<int> hotSpot);
115
116 //==============================================================================
119
122
125
128
131
138 bool operator== (const MouseCursor&) const noexcept;
139
146 bool operator!= (const MouseCursor&) const noexcept;
147
149 bool operator== (StandardCursorType type) const noexcept;
150
152 bool operator!= (StandardCursorType type) const noexcept;
153
154 //==============================================================================
163 static void showWaitCursor();
164
173 static void hideWaitCursor();
174
175
176private:
177 //==============================================================================
178 class SharedCursorHandle;
180
182
186
188};
189
190} // namespace juce
#define noexcept
Definition DistrhoDefines.h:72
#define final
Definition DistrhoDefines.h:74
CAdPlugDatabase::CRecord::RecordType type
Definition adplugdb.cpp:93
Definition juce_ComponentPeer.h:44
Definition juce_Image.h:58
Definition juce_linux_Windowing.cpp:707
Definition juce_MouseCursor.cpp:30
void showInWindow(ComponentPeer *) const
Definition juce_MouseCursor.cpp:148
static void hideWaitCursor()
Definition juce_MouseCursor.cpp:138
std::shared_ptr< SharedCursorHandle > cursorHandle
Definition juce_MouseCursor.h:179
static void showWaitCursor()
Definition juce_MouseCursor.cpp:133
MouseCursor() noexcept
friend class MouseInputSourceInternal
Definition juce_MouseCursor.h:183
StandardCursorType
Definition juce_MouseCursor.h:44
@ CrosshairCursor
Definition juce_MouseCursor.h:52
@ TopLeftCornerResizeCursor
Definition juce_MouseCursor.h:67
@ BottomLeftCornerResizeCursor
Definition juce_MouseCursor.h:69
@ LeftRightResizeCursor
Definition juce_MouseCursor.h:59
@ DraggingHandCursor
Definition juce_MouseCursor.h:57
@ NoCursor
Definition juce_MouseCursor.h:47
@ PointingHandCursor
Definition juce_MouseCursor.h:56
@ NumStandardCursorTypes
Definition juce_MouseCursor.h:72
@ NormalCursor
Definition juce_MouseCursor.h:48
@ LeftEdgeResizeCursor
Definition juce_MouseCursor.h:65
@ CopyingCursor
Definition juce_MouseCursor.h:53
@ UpDownResizeCursor
Definition juce_MouseCursor.h:60
@ BottomEdgeResizeCursor
Definition juce_MouseCursor.h:64
@ TopEdgeResizeCursor
Definition juce_MouseCursor.h:63
@ BottomRightCornerResizeCursor
Definition juce_MouseCursor.h:70
@ IBeamCursor
Definition juce_MouseCursor.h:51
@ ParentCursor
Definition juce_MouseCursor.h:45
@ WaitCursor
Definition juce_MouseCursor.h:50
@ RightEdgeResizeCursor
Definition juce_MouseCursor.h:66
@ UpDownLeftRightResizeCursor
Definition juce_MouseCursor.h:61
@ TopRightCornerResizeCursor
Definition juce_MouseCursor.h:68
PlatformSpecificHandle * getHandle() const noexcept
Definition juce_MouseCursor.cpp:143
Definition juce_Point.h:42
Definition juce_ScaledImage.h:45
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition juce_LeakedObjectDetector.h:138
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
Definition juce_Uuid.h:141
#define const
Definition zconf.h:137