Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SectorMap::Label Class Referenceabstract
Inheritance diagram for SectorMap::Label:
Inheritance graph
[legend]
Collaboration diagram for SectorMap::Label:
Collaboration graph
[legend]

Public Member Functions

virtual ~Label ()
 
virtual bool Hovered (const ImVec2 &p)=0
 
virtual void Draw (ImDrawList &dl, bool hovered=false)=0
 
virtual void OnClick ()=0
 
ImVec2 GetPos ()
 
float Depth () const
 
 Label (Labels &host, const vector3f &pos, ImU32 color)
 

Protected Attributes

vector3f pos
 
ImU32 color
 
Labels & host
 

Constructor & Destructor Documentation

◆ ~Label()

virtual SectorMap::Label::~Label ( )
inlinevirtual

◆ Label()

SectorMap::Label::Label ( Labels &  host,
const vector3f pos,
ImU32  color 
)
inline

Member Function Documentation

◆ Depth()

float SectorMap::Label::Depth ( ) const
inline

◆ Draw()

virtual void SectorMap::Label::Draw ( ImDrawList &  dl,
bool  hovered = false 
)
pure virtual

◆ GetPos()

ImVec2 SectorMap::Label::GetPos ( )
inline

◆ Hovered()

virtual bool SectorMap::Label::Hovered ( const ImVec2 &  p)
pure virtual

◆ OnClick()

virtual void SectorMap::Label::OnClick ( )
pure virtual

Member Data Documentation

◆ color

ImU32 SectorMap::Label::color
protected

◆ host

Labels& SectorMap::Label::host
protected

◆ pos

vector3f SectorMap::Label::pos
protected

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