VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
ImColor Struct Reference

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

Constructor & Destructor Documentation

ImColor::ImColor ( )
inline

References ImGui::Value().

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

References ImGui::Value().

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

References ImGui::Value().

ImColor::ImColor ( const ImVec4 col)
inline

References ImGui::Value().

Member Function Documentation

ImColor::operator ImU32 ( ) const
inline
ImColor::operator ImVec4 ( ) const
inline

References ImGui::Value().

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

Member Data Documentation

ImVec4 ImColor::Value

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)