mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-02 14:42:41 +00:00
UI vectors
This commit is contained in:
parent
a2f55e655a
commit
0c07952397
1 changed files with 4 additions and 1 deletions
|
@ -2251,6 +2251,9 @@ static void UI_RQ3_DrawPreset(rectDef_t * rect, float scale, vec4_t color, int n
|
||||||
if (radioPresets[num-1].Text->string[0]) {
|
if (radioPresets[num-1].Text->string[0]) {
|
||||||
text = radioPresets[num-1].Text->string;
|
text = radioPresets[num-1].Text->string;
|
||||||
}
|
}
|
||||||
|
if (rect->hasVectors)
|
||||||
|
Text_PaintAngled(rect->x, rect->y, rect->u, rect->v, scale, color, text, 0, 0, 0, textStyle, qfalse);
|
||||||
|
else
|
||||||
Text_Paint(rect->x, rect->y, scale, color, text, 0, 0, 0, textStyle, qfalse);
|
Text_Paint(rect->x, rect->y, scale, color, text, 0, 0, 0, textStyle, qfalse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue