aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/menu/UMenu.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-01-12 16:55:45 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-01-12 16:55:45 +0000
commit2e66e4bb6719e92c53bcbf40c82bf5d7644719cb (patch)
tree1cbb718dc4aed6b47d6ee38820072994f415fca1 /unicode/src/menu/UMenu.pas
parent589f7901a9ab5595dcf026ddee3fd93477f0b46a (diff)
downloadusdx-2e66e4bb6719e92c53bcbf40c82bf5d7644719cb.tar.gz
usdx-2e66e4bb6719e92c53bcbf40c82bf5d7644719cb.tar.xz
usdx-2e66e4bb6719e92c53bcbf40c82bf5d7644719cb.zip
CharCode parameter of ParseInput changed from WideChar to UCS4Char (as some chars might reguire two WideChar).
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1565 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'unicode/src/menu/UMenu.pas')
-rw-r--r--unicode/src/menu/UMenu.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/unicode/src/menu/UMenu.pas b/unicode/src/menu/UMenu.pas
index 5528c6fe..6d9fba96 100644
--- a/unicode/src/menu/UMenu.pas
+++ b/unicode/src/menu/UMenu.pas
@@ -142,7 +142,7 @@ type
function DrawBG: boolean; virtual;
function DrawFG: boolean; virtual;
function Draw: boolean; virtual;
- function ParseInput(PressedKey: cardinal; CharCode: WideChar; PressedDown : boolean): boolean; virtual;
+ function ParseInput(PressedKey: cardinal; CharCode: UCS4Char; PressedDown : boolean): boolean; virtual;
// FIXME: ParseMouse is not implemented in any subclass and not even used anywhere in the code
// -> do this before activation of this method
//function ParseMouse(Typ: integer; X: integer; Y: integer): boolean; virtual; abstract;
@@ -1521,7 +1521,7 @@ begin
Background.OnFinish;
end;
-function TMenu.ParseInput(PressedKey: cardinal; CharCode: WideChar; PressedDown: boolean): boolean;
+function TMenu.ParseInput(PressedKey: Cardinal; CharCode: UCS4Char; PressedDown: boolean): boolean;
begin
// nothing
Result := true;