diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-03-21 15:13:23 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-03-21 15:13:23 +0000 |
commit | b08c9047b5cdd5628f45877c90149e3bedd57b89 (patch) | |
tree | 9a08f9ed604290801814b8c21327aab6f317263e /Game/Code/Screens/UScreenSing.pas | |
parent | 35572be5588c92bff06d21791122175d05819374 (diff) | |
download | usdx-b08c9047b5cdd5628f45877c90149e3bedd57b89.tar.gz usdx-b08c9047b5cdd5628f45877c90149e3bedd57b89.tar.xz usdx-b08c9047b5cdd5628f45877c90149e3bedd57b89.zip |
ParseInput(... ScanCode: byte; ...) -> ParseInput(... CharCode: WideChar; ...)
See: http://trac2.assembla.com/usdx/ticket/35
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@966 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Screens/UScreenSing.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenSing.pas b/Game/Code/Screens/UScreenSing.pas index 23e9cb1e..9c64c01b 100644 --- a/Game/Code/Screens/UScreenSing.pas +++ b/Game/Code/Screens/UScreenSing.pas @@ -105,7 +105,7 @@ type procedure onShow; override; procedure onShowFinish; override; - function ParseInput(PressedKey: Cardinal; ScanCode: byte; PressedDown: Boolean): Boolean; override; + function ParseInput(PressedKey: Cardinal; CharCode: WideChar; PressedDown: Boolean): Boolean; override; function Draw: boolean; override; procedure Finish; virtual; @@ -129,7 +129,7 @@ uses UGraphic, // Method for input parsing. If False is returned, GetNextWindow // should be checked to know the next window to load; -function TScreenSing.ParseInput(PressedKey: Cardinal; ScanCode: byte; PressedDown: Boolean): Boolean; +function TScreenSing.ParseInput(PressedKey: Cardinal; CharCode: WideChar; PressedDown: Boolean): Boolean; begin Result := true; If (PressedDown) Then |