Searched refs:IM_COL32_R_SHIFT (Results 1 – 4 of 4) sorted by relevance
1680 #define IM_COL32_R_SHIFT 16 macro1686 #define IM_COL32_R_SHIFT 0 macro1692 …| ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))1707 … { float sc = 1.0f/255.0f; Value.x = (float)((rgba>>IM_COL32_R_SHIFT)&0xFF) * sc; … in ImColor()
1321 … int r = ImLerp((int)(col0 >> IM_COL32_R_SHIFT) & 0xFF, (int)(col1 >> IM_COL32_R_SHIFT) & 0xFF, t); in ShadeVertsLinearColorGradientKeepAlpha()1324 …vert->col = (r << IM_COL32_R_SHIFT) | (g << IM_COL32_G_SHIFT) | (b << IM_COL32_B_SHIFT) | (vert->c… in ShadeVertsLinearColorGradientKeepAlpha()
4048 …int r = ImLerp((int)(col_a >> IM_COL32_R_SHIFT) & 0xFF, (int)(col_b >> IM_COL32_R_SHIFT) & 0xFF, t… in ImAlphaBlendColor()
1760 ((in >> IM_COL32_R_SHIFT) & 0xFF) * s, in ColorConvertU32ToFloat4()1769 out = ((ImU32)IM_F32_TO_INT8_SAT(in.x)) << IM_COL32_R_SHIFT; in ColorConvertFloat4ToU32()