| 129 | } |
| 130 | |
| 131 | void CRenderTools::RenderCursor(vec2 Center, float Size) const |
| 132 | { |
| 133 | Graphics()->WrapClamp(); |
| 134 | Graphics()->TextureSet(g_pData->m_aImages[IMAGE_CURSOR].m_Id); |
| 135 | Graphics()->QuadsBegin(); |
| 136 | Graphics()->SetColor(1.0f, 1.0f, 1.0f, 1.0f); |
| 137 | IGraphics::CQuadItem QuadItem(Center.x, Center.y, Size, Size); |
| 138 | Graphics()->QuadsDrawTL(&QuadItem, 1); |
| 139 | Graphics()->QuadsEnd(); |
| 140 | Graphics()->WrapNormal(); |
| 141 | } |
| 142 | |
| 143 | void CRenderTools::RenderIcon(int ImageId, int SpriteId, const CUIRect *pRect, const ColorRGBA *pColor) const |
| 144 | { |
nothing calls this directly
no test coverage detected