Searched defs:ImColor (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.h1701 struct ImColor struct
1705 ImColor() { Value.x = Value.y = Value.z = Value.w = 0.0f; } function in struct:ImColor
1706 ImColor(int r, int g, int b, int a = 255) { float sc = 1.0f/255.0f; Value.x = (float)r * sc; Value.y = (float)g * sc; Value.z = (float)b * sc; Value.w = (float)a * sc; } function in struct:ImColor
1707 ImColor(ImU32 rgba) { float sc = 1.0f/255.0f; Value.x = (float)((rgba>>IM_COL32_R_SHIFT)&0xFF) * sc; Value.y = (float)((rgba>>IM_COL32_G_SHIFT)&0xFF) * sc; Value.z = (float)((rgba>>IM_COL32_B_SHIFT)&0xFF) * sc; Value.w = (float)((rgba>>IM_COL32_A_SHIFT)&0xFF) * sc; } function in struct:ImColor
1708 ImColor(floa function in struct:ImColor
1709 ImColor(const ImVec4& col) { Value = col; } function in struct:ImColor
[all...]
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h1701 struct ImColor struct
1705 ImColor() { Value.x = Value.y = Value.z = Value.w = 0.0f; } function in struct:ImColor
1706 ImColor(int r, int g, int b, int a = 255) { float sc = 1.0f/255.0f; Value.x = (float)r * sc; Value.y = (float)g * sc; Value.z = (float)b * sc; Value.w = (float)a * sc; } function in struct:ImColor
1707 ImColor(ImU32 rgba) { float sc = 1.0f/255.0f; Value.x = (float)((rgba>>IM_COL32_R_SHIFT)&0xFF) * sc; Value.y = (float)((rgba>>IM_COL32_G_SHIFT)&0xFF) * sc; Value.z = (float)((rgba>>IM_COL32_B_SHIFT)&0xFF) * sc; Value.w = (float)((rgba>>IM_COL32_A_SHIFT)&0xFF) * sc; } function in struct:ImColor
1708 ImColor(floa function in struct:ImColor
1709 ImColor(const ImVec4& col) { Value = col; } function in struct:ImColor
[all...]

Completed in 16 milliseconds