HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::utils::Color Struct Reference

#include <hal_core/utilities/utils.h>

Collaboration diagram for hal::utils::Color:
Collaboration graph

Public Member Functions

 Color (int _h=0, int _s=0, int _v=0)
 
std::string toString ()
 

Public Attributes

int h
 
int s
 
int v
 

Detailed Description

Class for color in HSV representation (hue, saturation, value).
Used for grouping colors. Default is black.

Definition at line 782 of file utils.h.

Constructor & Destructor Documentation

◆ Color()

hal::utils::Color::Color ( int  _h = 0,
int  _s = 0,
int  _v = 0 
)
inline

Definition at line 788 of file utils.h.

Member Function Documentation

◆ toString()

std::string hal::utils::Color::toString ( )
inline

Definition at line 792 of file utils.h.

Referenced by hal::event_log::handle_grouping_event().

Member Data Documentation

◆ h

int hal::utils::Color::h

Definition at line 784 of file utils.h.

Referenced by hal::toQColor().

◆ s

int hal::utils::Color::s

Definition at line 785 of file utils.h.

Referenced by hal::toQColor().

◆ v

int hal::utils::Color::v

Definition at line 786 of file utils.h.

Referenced by hal::toQColor().


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