summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-21 09:15:02 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-21 09:15:02 +0200
commitbc7e3c21ee53986a53535013638ea267abca2f3d (patch)
treef84b18a88039c9f7a984fba3eb796b4d277d63ef /src/corelib
parent6a38a1bda815f0a40ab4fc16172da215d1a64186 (diff)
downloadfpGUI-bc7e3c21ee53986a53535013638ea267abca2f3d.tar.xz
new overloaded version of PrintCoord() helper procedure.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/fpg_main.pas8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas
index 64c224d4..b341b0fd 100644
--- a/src/corelib/fpg_main.pas
+++ b/src/corelib/fpg_main.pas
@@ -371,6 +371,7 @@ function fpgRectToRect(const ARect: TfpgRect): TRect;
procedure PrintRect(const Rect: TRect);
procedure PrintRect(const Rect: TfpgRect);
procedure PrintCoord(const x, y: TfpgCoord);
+procedure PrintCoord(const pt: TPoint);
function PrintCallTrace(const AClassName, AMethodName: string): IInterface;
procedure PrintCallTraceDbgLn(const AMessage: string);
procedure DumpStack;
@@ -703,7 +704,12 @@ begin
dec(iCallTrace);
inherited Destroy;
end;
-
+
+procedure PrintCoord(const pt: TPoint);
+begin
+ PrintCoord(pt.X, pt.Y);
+end;
+
function PrintCallTrace(const AClassName, AMethodName: string): IInterface;
begin
Result := TPrintCallTrace.Create(AClassName, AMethodName);