25 #ifndef JUCE_TOOLTIPWINDOW_H_INCLUDED
26 #define JUCE_TOOLTIPWINDOW_H_INCLUDED
70 int millisecondsBeforeTipAppears = 700);
79 void setMillisecondsBeforeTipAppears (
int newTimeMs = 700)
noexcept;
97 backgroundColourId = 0x1001b00,
98 textColourId = 0x1001c00,
99 outlineColourId = 0x1001c10
112 virtual void drawTooltip (
Graphics&,
const String& text,
int width,
int height) = 0;
114 #if JUCE_CATCH_DEPRECATED_CODE_MISUSE
116 virtual int getTooltipSize (
const String&,
int&,
int&) {
return 0; }
124 String tipShowing, lastTipUnderMouse;
125 int millisecondsBeforeTipAppears;
126 int mouseClicks, mouseWheelMoves;
127 unsigned int lastCompChangeTime, lastHideTime;
132 void timerCallback()
override;
141 #endif // JUCE_TOOLTIPWINDOW_H_INCLUDED