76 int millisecondsBeforeTipAppears = 700);
85 void setMillisecondsBeforeTipAppears (
int newTimeMs = 700)
noexcept;
114 backgroundColourId = 0x1001b00,
115 textColourId = 0x1001c00,
116 outlineColourId = 0x1001c10
129 virtual void drawTooltip (
Graphics&,
const String& text,
int width,
int height) = 0;
134 float getDesktopScaleFactor()
const override;
142 String tipShowing, lastTipUnderMouse, manuallyShownTip;
143 int millisecondsBeforeTipAppears;
144 unsigned int lastCompChangeTime = 0, lastHideTime = 0;
145 bool reentrant =
false, dismissalMouseEventOccurred =
false;
147 enum ShownManually { yes, no };
154 void timerCallback()
override;
Holds a pointer to some type of Component, which automatically becomes null if the component is delet...
The base class for all JUCE user-interface objects.
A graphics context, used for drawing a component or image.
Contains position and status information about a mouse event.
A pair of (x, y) coordinates.
Manages a rectangle and allows geometric operations to be performed on it.
Makes repeated callbacks to a virtual method at a specified time interval.
Contains status information about a mouse wheel event.