summaryrefslogtreecommitdiff
path: root/src/corelib/gfx_constants.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-26 07:17:11 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-26 07:17:11 +0000
commit85aa1c94def86c59eef15c44e7240e352c0267fa (patch)
tree4197b40102ee937946d10e812d7d587d63ff0492 /src/corelib/gfx_constants.pas
parenteccf0ed03708436a1b2b5fc86805d5633c836eed (diff)
downloadfpGUI-85aa1c94def86c59eef15c44e7240e352c0267fa.tar.xz
* Applied patch from Vladimir improving the DoubleClick support.
Diffstat (limited to 'src/corelib/gfx_constants.pas')
-rw-r--r--src/corelib/gfx_constants.pas6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/gfx_constants.pas b/src/corelib/gfx_constants.pas
index 9d07d1c3..d271bfbc 100644
--- a/src/corelib/gfx_constants.pas
+++ b/src/corelib/gfx_constants.pas
@@ -68,6 +68,12 @@ const
AllFilesMask = '*.*';
{$ENDIF UNIX}
{$endif}
+
+
+ { Double click support }
+ DOUBLECLICK_MS = 320; // the max time between left-clicks for doubleclick
+ DOUBLECLICK_DISTANCE = 5; // max distance between points when doing doubleclick
+
{ This is so that when we support LTR and RTL languages, the colon will be