summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-03-11 10:05:39 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-03-11 10:14:19 +0200
commit4a5bcc25e2e711cb95e5bc587cad5b16d24f8189 (patch)
treee5ad42a826088fa7db2700a3f7eca1addcb86004 /src
parent1c6c1a6272972ceaf3937892f0af14a6847a146e (diff)
downloadfpGUI-4a5bcc25e2e711cb95e5bc587cad5b16d24f8189.tar.xz
changed some consant definitions, but values are still the same.
Diffstat (limited to 'src')
-rw-r--r--src/corelib/fpg_base.pas6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/fpg_base.pas b/src/corelib/fpg_base.pas
index daecffa1..b51d0aa7 100644
--- a/src/corelib/fpg_base.pas
+++ b/src/corelib/fpg_base.pas
@@ -32,7 +32,7 @@ type
TfpgColor = type longword; // Always in RRGGBB (Alpha, Red, Green, Blue) format!!
TfpgString = type string;
TfpgChar = type string[4];
- TfpgModalResult = Low(integer)..High(integer);
+ TfpgModalResult = Low(integer)..MaxInt;
PPoint = ^TPoint;
@@ -83,13 +83,15 @@ const
FPGM_MOVE = 16;
FPGM_POPUPCLOSE = 17;
FPGM_HINTTIMER = 18;
+ FPGM_FREEME = 19;
FPGM_USER = 50000;
- FPGM_KILLME = High(Integer);
+ FPGM_KILLME = MaxInt;
// The special keys, based on the well-known keyboard scan codes
{$I keys.inc}
{ TfpgModalResult values }
+ mrError = -1;
mrNone = 0;
mrOk = mrNone + 1;
mrCancel = mrOk + 1;