From f97e5ee9c22cccfb27a3634e814ad9b01edc3195 Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Tue, 2 Nov 2010 10:42:39 +0100 Subject: Adding double-click to server dialog and world select dialog This resolves http://bugs.manasource.org/view.php?id=259 Reviewed-by: Thorbjorn --- src/client.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index aa650abe..429deb34 100644 --- a/src/client.h +++ b/src/client.h @@ -67,6 +67,12 @@ extern LoginData loginData; */ int get_elapsed_time(int start_time); +/** + * Returns if this call and the last call were done for the same + * selected index and within a short time. + */ +bool isDoubleClick(int selected); + /** * All client states. */ -- cgit v1.2.3-60-g2f50