mirror of
https://github.com/nzp-team/quakec.git
synced 2024-12-11 05:00:52 +00:00
CLIENT: Make controller glyph on useprint smaller; useprint less claustrophobic
This commit is contained in:
parent
b3c25885ef
commit
514d98c6e8
1 changed files with 2 additions and 2 deletions
|
@ -1053,7 +1053,7 @@ void(float width, float height) HUD_Useprint =
|
||||||
if (usecost != "") {
|
if (usecost != "") {
|
||||||
float cost_width = getTextWidth(usecost, 12);
|
float cost_width = getTextWidth(usecost, 12);
|
||||||
float x3 = (width - cost_width)/2;
|
float x3 = (width - cost_width)/2;
|
||||||
Draw_String([x3, g_height/2 + 78, 0], usecost, [12, 12, 0], [1, 1, 1], 1, 0);
|
Draw_String([x3, g_height/2 + 84, 0], usecost, [12, 12, 0], [1, 1, 1], 1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw highlighted usebutton
|
// Draw highlighted usebutton
|
||||||
|
@ -1061,7 +1061,7 @@ void(float width, float height) HUD_Useprint =
|
||||||
button_width = x + getTextWidth("Hold ", 12);
|
button_width = x + getTextWidth("Hold ", 12);
|
||||||
|
|
||||||
if (Key_IsControllerGlyph(usebutton))
|
if (Key_IsControllerGlyph(usebutton))
|
||||||
Key_DrawControllerGlyph([button_width - 5, g_height/2 + 60], usebutton, [22, 22]);
|
Key_DrawControllerGlyph([button_width - 5, g_height/2 + 62], usebutton, [18, 18]);
|
||||||
else
|
else
|
||||||
Draw_String([button_width, g_height/2 + 65, 0], usebutton, [12, 12, 0], [1, 1, 0], 1, 0);
|
Draw_String([button_width, g_height/2 + 65, 0], usebutton, [12, 12, 0], [1, 1, 0], 1, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue