summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-04-09 15:03:13 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-04-09 15:03:13 +0000
commit705e7f97da51551ca26986526ebd8f1ed265075e (patch)
treed80e6130f65b32bb07ba22b0ee9774f6afe879e2 /src/corelib
parent02117d94c83422011dc8d87b3f30329f54f6ec51 (diff)
downloadfpGUI-705e7f97da51551ca26986526ebd8f1ed265075e.tar.xz
* Added a user defined Message Record type for any custom data.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/gfxbase.pas8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/gfxbase.pas b/src/corelib/gfxbase.pas
index 0054f9c1..80245ce1 100644
--- a/src/corelib/gfxbase.pas
+++ b/src/corelib/gfxbase.pas
@@ -118,12 +118,20 @@ type
shiftstate: TShiftState;
end;
+
+ TfpgMsgParmUser = record
+ Param1: Integer;
+ Param2: Integer;
+ Param3: Integer;
+ end;
+
TfpgMessageParams = record
case integer of
0: (mouse: TfpgMsgParmMouse);
1: (keyboard: TfpgMsgParmKeyboard);
2: (rect: TfpgRect);
+ 3: (user: TfpgMsgParmUser);
end;