OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ImColor Struct Reference

#include <imgui.h>

Collaboration diagram for ImColor:
[legend]

Public Member Functions

 ImColor (int r, int g, int b, int a=255)
 
 ImColor (float r, float g, float b, float a=1.0f)
 
 ImColor (const ImVec4 &col)
 
 operator ImU32 () const
 
 operator ImVec4 () const
 

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 768 of file imgui.h.

Constructor & Destructor Documentation

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

Definition at line 772 of file imgui.h.

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

Definition at line 773 of file imgui.h.

ImColor::ImColor ( const ImVec4 col)
inline

Definition at line 774 of file imgui.h.

Member Function Documentation

ImColor::operator ImU32 ( ) const
inline

Definition at line 775 of file imgui.h.

ImColor::operator ImVec4 ( ) const
inline

Definition at line 776 of file imgui.h.

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

Definition at line 778 of file imgui.h.

Member Data Documentation

ImVec4 ImColor::Value

Definition at line 770 of file imgui.h.


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