diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-26 07:17:11 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-26 07:17:11 +0000 |
commit | 85aa1c94def86c59eef15c44e7240e352c0267fa (patch) | |
tree | 4197b40102ee937946d10e812d7d587d63ff0492 /src/corelib/gfx_constants.pas | |
parent | eccf0ed03708436a1b2b5fc86805d5633c836eed (diff) | |
download | fpGUI-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.pas | 6 |
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 |