4#ifndef FIFEGUI_TOOLTIP_H
5#define FIFEGUI_TOOLTIP_H
11#include "fifechan/platform.hpp"
12#include "fifechan/widgets/container.hpp"
65 std::function<std::string(
int widgetId)>
content;
154 void update(
int deltaMs,
int modifierState);
182 void generateNormalContent();
183 void generateExtendedContent();
187 bool mIsHovering{
false};
189 int mModifierState{0};
191 std::string mCurrentContent;
192 bool mIsExtended{
false};
Abstract interface providing primitive drawing functions (lines, rectangles, etc.).
Represents a rectangular area (X, Y, Width, Height).
Used replacement tokens by configure_file():
TooltipPlacement
Tooltip placement relative to cursor.
TooltipTrigger
Tooltip trigger type.