56 const std::string& plotName,
60 bool otherHoverTooltipsShown,
61 const std::function<
void(
size_t)>& showTooltipCallback);
73 const std::string& plotName,
74 const std::string& uid,
75 const std::vector<int*>& parentWindows,
76 const std::function<
InsTime(
size_t)>& getInsTime,
77 const std::function<
void(
size_t,
const char*)>& showTooltipCallback);
The class is responsible for all time-related tasks.
The class is responsible for all time-related tasks.
void ShowPlotTooltipWindows(std::vector< PlotTooltip > &tooltips, size_t plotItemIdx, const std::string &plotName, const std::string &uid, const std::vector< int * > &parentWindows, const std::function< InsTime(size_t)> &getInsTime, const std::function< void(size_t, const char *)> &showTooltipCallback)
Shows all tooltip windows in the vector.
bool ShowPlotTooltip(std::vector< PlotTooltip > &tooltips, size_t plotItemIdx, const std::string &plotName, ImAxis axis, const ScrollingBuffer< double > &xData, const ScrollingBuffer< double > &yData, bool otherHoverTooltipsShown, const std::function< void(size_t)> &showTooltipCallback)
Shows a tooltip if the plot is hovered.