Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
SectorView::FactionLabel Class Reference
Inheritance diagram for SectorView::FactionLabel:
Inheritance graph
[legend]
Collaboration diagram for SectorView::FactionLabel:
Collaboration graph
[legend]

Public Member Functions

 FactionLabel (Labels &host, const vector3f &pos, const Color &color, const std::string &home, const std::string &name, const float radius, const SystemPath &path)
 
bool Hovered (const ImVec2 &p) override
 
void Draw (ImDrawList &dl, bool hovered=false) override
 
void OnClick () override
 
- Public Member Functions inherited from SectorView::Label
virtual ~Label ()
 
virtual bool Hovered (const ImVec2 &p)=0
 
virtual void Draw (ImDrawList &dl, bool hovered=false)=0
 
virtual void OnClick ()=0
 
float Depth () const
 
 Label (Labels &host, const vector3f &pos, ImU32 color)
 

Static Public Member Functions

static void InitFonts (Labels &host, ImDrawList &dl)
 

Additional Inherited Members

- Protected Attributes inherited from SectorView::Label
vector3f pos
 
ImU32 color
 
Labels & host
 

Constructor & Destructor Documentation

◆ FactionLabel()

SectorView::FactionLabel::FactionLabel ( Labels &  host,
const vector3f pos,
const Color color,
const std::string &  home,
const std::string &  name,
const float  radius,
const SystemPath path 
)
inline

Member Function Documentation

◆ Draw()

void SectorView::FactionLabel::Draw ( ImDrawList &  dl,
bool  hovered = false 
)
inlineoverridevirtual

Implements SectorView::Label.

◆ Hovered()

bool SectorView::FactionLabel::Hovered ( const ImVec2 &  p)
inlineoverridevirtual

Implements SectorView::Label.

◆ InitFonts()

static void SectorView::FactionLabel::InitFonts ( Labels &  host,
ImDrawList &  dl 
)
inlinestatic
Here is the call graph for this function:

◆ OnClick()

void SectorView::FactionLabel::OnClick ( )
inlineoverridevirtual

Implements SectorView::Label.


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