summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: defbc8a)
raw | patch | inline | side by side (parent: defbc8a)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 14 May 2018 13:58:47 +0000 (16:58 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 14 May 2018 13:59:10 +0000 (16:59 +0300) |
src/game/g_touch.pas | patch | blob | history |
diff --git a/src/game/g_touch.pas b/src/game/g_touch.pas
index 1778eca23bfcbfd96762b2bfbcae92ee79153fba..cab5c776b209a1cf1c484402b488f47def9363d6 100644 (file)
--- a/src/game/g_touch.pas
+++ b/src/game/g_touch.pas
end
end;
- procedure DrawRect(x, y, w, h: Integer);
- begin
- e_DrawQuad(x, y, x + w, y + h, 0, 255, 0, 31);
- end;
-
function IntersectControl(ctl, xx, yy: Integer): Boolean;
var
x, y, w, h: Integer;
GetKeyRect(i, x, y, w, h, founded);
if founded then
begin
- DrawRect(x, y, w, h);
- e_TextureFontPrint(x, y, GetKeyName(i), gStdFont)
+ e_DrawQuad(x, y, x + w, y + h, 0, 255, 0, 31);
+ e_TextureFontPrintEx(x, y, GetKeyName(i), gStdFont, 255, 255, 255, 1, True)
end;
end;
{$ENDIF}