Ylva And Malin
Public Member Functions | Static Public Member Functions | Data Fields
ImColor Struct Reference

#include <imgui.h>

Collaboration diagram for ImColor:
Collaboration graph

Public Member Functions

 ImColor ()
 
 ImColor (int r, int g, int b, int a=255)
 
 ImColor (ImU32 rgba)
 
 ImColor (float r, float g, float b, float a=1.0f)
 
 ImColor (const ImVec4 &col)
 
 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)
 

Data Fields

ImVec4 Value
 

Constructor & Destructor Documentation

ImColor::ImColor ( )
inline
ImColor::ImColor ( int  r,
int  g,
int  b,
int  a = 255 
)
inline
ImColor::ImColor ( ImU32  rgba)
inline
ImColor::ImColor ( float  r,
float  g,
float  b,
float  a = 1.0f 
)
inline
ImColor::ImColor ( const ImVec4 col)
inline

Member Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

ImColor::operator ImU32 ( ) const
inline

Here is the call graph for this function:

ImColor::operator ImVec4 ( ) const
inline

Here is the call graph for this function:

void ImColor::SetHSV ( float  h,
float  s,
float  v,
float  a = 1.0f 
)
inline

Here is the call graph for this function:

Field Documentation

ImVec4 ImColor::Value

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