Steppable 0.0.1
A CAS project written from scratch in C++
Loading...
Searching...
No Matches
ImColor Struct Reference

#include <imgui.h>

Collaboration diagram for ImColor:
[legend]

Public Member Functions

constexpr ImColor ()
 
constexpr ImColor (float r, float g, float b, float a=1.0f)
 
constexpr ImColor (const ImVec4 &col)
 
constexpr ImColor (int r, int g, int b, int a=255)
 
constexpr ImColor (ImU32 rgba)
 
 operator ImU32 () const
 
 operator ImVec4 () const
 
void SetHSV (float h, float s, float v, float a=1.0f)
 

Static Public Member Functions

static ImColor HSV (float h, float s, float v, float a=1.0f)
 

Public Attributes

ImVec4 Value
 

Constructor & Destructor Documentation

◆ ImColor() [1/5]

ImColor::ImColor ( )
inlineconstexpr
Here is the caller graph for this function:

◆ ImColor() [2/5]

ImColor::ImColor ( float r,
float g,
float b,
float a = 1.0f )
inlineconstexpr

◆ ImColor() [3/5]

ImColor::ImColor ( const ImVec4 & col)
inlineconstexpr

◆ ImColor() [4/5]

ImColor::ImColor ( int r,
int g,
int b,
int a = 255 )
inlineconstexpr

◆ ImColor() [5/5]

ImColor::ImColor ( ImU32 rgba)
inlineconstexpr

Member Function Documentation

◆ HSV()

static ImColor ImColor::HSV ( float h,
float s,
float v,
float a = 1.0f )
inlinestatic
Here is the call graph for this function:

◆ operator ImU32()

ImColor::operator ImU32 ( ) const
inline
Here is the call graph for this function:

◆ operator ImVec4()

ImColor::operator ImVec4 ( ) const
inline

◆ SetHSV()

void ImColor::SetHSV ( float h,
float s,
float v,
float a = 1.0f )
inline
Here is the call graph for this function:

Member Data Documentation

◆ Value

ImVec4 ImColor::Value

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