Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ImColor Struct Reference

#include <imgui.h>

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)
 

Public Attributes

ImVec4 Value
 

Detailed Description

Definition at line 1104 of file imgui.h.

Constructor & Destructor Documentation

ImColor::ImColor ( )
inline

Definition at line 1108 of file imgui.h.

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

Definition at line 1109 of file imgui.h.

ImColor::ImColor ( ImU32  rgba)
inline

Definition at line 1110 of file imgui.h.

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

Definition at line 1111 of file imgui.h.

ImColor::ImColor ( const ImVec4 col)
inline

Definition at line 1112 of file imgui.h.

Member Function Documentation

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

Definition at line 1118 of file imgui.h.

ImColor::operator ImU32 ( ) const
inline

Definition at line 1113 of file imgui.h.

ImColor::operator ImVec4 ( ) const
inline

Definition at line 1114 of file imgui.h.

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

Definition at line 1116 of file imgui.h.

Member Data Documentation

ImVec4 ImColor::Value

Definition at line 1106 of file imgui.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32