0.4.1
Loading...
Searching...
No Matches
NAV::PlotTooltip Struct Reference

Plot Tooltip windows to show. More...

Public Member Functions

 PlotTooltip (size_t plotItemIdx, size_t dataIdx, const ImVec2 &startPos)
 Constructor.
 

Data Fields

size_t dataIdx
 The data index the tooltip belongs to.
 
size_t plotItemIdx
 The plot item index the tooltip belongs to.
 
std::optional< ImVec2 > startPos
 Initial start position of the tooltip window.
 

Detailed Description

Plot Tooltip windows to show.

Definition at line 30 of file PlotTooltip.hpp.

Constructor & Destructor Documentation

◆ PlotTooltip()

NAV::PlotTooltip::PlotTooltip ( size_t plotItemIdx,
size_t dataIdx,
const ImVec2 & startPos )
inline

Constructor.

Parameters
[in]plotItemIdxThe plot item index the tooltip belongs to
[in]dataIdxThe data index the tooltip belongs to
[in]startPosInitial start position of the tooltip window

Definition at line 36 of file PlotTooltip.hpp.

Field Documentation

◆ dataIdx

size_t NAV::PlotTooltip::dataIdx

The data index the tooltip belongs to.

Definition at line 40 of file PlotTooltip.hpp.

◆ plotItemIdx

size_t NAV::PlotTooltip::plotItemIdx

The plot item index the tooltip belongs to.

Definition at line 39 of file PlotTooltip.hpp.

◆ startPos

std::optional<ImVec2> NAV::PlotTooltip::startPos

Initial start position of the tooltip window.

Definition at line 41 of file PlotTooltip.hpp.


The documentation for this struct was generated from the following file: