From: FruitieX Date: Wed, 7 Jul 2010 18:08:46 +0000 (+0300) Subject: use drawcolorcodedstring_aspect in the vote window X-Git-Tag: xonotic-v0.1.0preview~457^2~2^2~22 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b304b4aae7a614144ec2875e32f234ef9f5da11d;p=xonotic%2Fxonotic-data.pk3dir.git use drawcolorcodedstring_aspect in the vote window --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 4a5630f83..71cce610e 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -3546,8 +3546,8 @@ void HUD_VoteWindow(void) drawstring_aspect(pos, s, eX * mySize_x + eY * (2/8) * mySize_y, '1 1 1', a * panel_fg_alpha, DRAWFLAG_NORMAL); s = textShortenToWidth(vote_called_vote, mySize_x, '1 1 0' * mySize_y * (1.75/8), stringwidth_colors); if(autocvar__hud_configure) - s = "Configure the HUD"; - drawstring_aspect(pos + eY * (2/8) * mySize_y, s, eX * mySize_x + eY * (1.75/8) * mySize_y, '1 1 1', a * panel_fg_alpha, DRAWFLAG_NORMAL); + s = "^1Configure the HUD"; + drawcolorcodedstring_aspect(pos + eY * (2/8) * mySize_y, s, eX * mySize_x + eY * (1.75/8) * mySize_y, a * panel_fg_alpha, DRAWFLAG_NORMAL); // print the yes/no counts s = strcat("Yes (", getcommandkey("not bound", "vyes"), "): ", ftos(vote_yescount));