0.4.1
Loading...
Searching...
No Matches
NAV::gui::widgets::PinIcon Namespace Reference

Enumerations

enum class  Type : uint8_t {
  Flow ,
  Circle ,
  Square ,
  Grid ,
  RoundSquare ,
  Diamond
}
 

Functions

void Draw (const ImVec2 &size, Type type, bool filled, const ImVec4 &color=ImVec4(1, 1, 1, 1), const ImVec4 &innerColor=ImVec4(0, 0, 0, 0))
 Draws an Icon for a Pin with the specified settings.
 

Enumeration Type Documentation

◆ Type

enum class NAV::gui::widgets::PinIcon::Type : uint8_t
strong
Enumerator
Flow 
Circle 
Square 
Grid 
RoundSquare 
Diamond 

Definition at line 21 of file PinIcon.hpp.

Function Documentation

◆ Draw()

void NAV::gui::widgets::PinIcon::Draw ( const ImVec2 & size,
Type type,
bool filled,
const ImVec4 & color = ImVec4(1, 1, 1, 1),
const ImVec4 & innerColor = ImVec4(0, 0, 0, 0) )

Draws an Icon for a Pin with the specified settings.

Parameters
[in]sizeSize of the Icons
[in]typeType of the Icon (Flow, Circle, Square, Grid, ...)
[in]filledSpecifies if the icons should be filled
[in]colorColor of the Icon
[in]innerColorColor to fill the Icon with

Definition at line 253 of file PinIcon.cpp.