summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-11-02 10:42:39 +0100
committerStefan Dombrowski <stefan@uni-bonn.de>2010-11-02 10:42:39 +0100
commitf97e5ee9c22cccfb27a3634e814ad9b01edc3195 (patch)
tree36b0a35977b5214e746b12f1ebc6fbf347bc5aa3 /src/client.h
parent526741f2651990e8a89113f750d2bf274d88f33f (diff)
downloadmana-client-f97e5ee9c22cccfb27a3634e814ad9b01edc3195.tar.gz
mana-client-f97e5ee9c22cccfb27a3634e814ad9b01edc3195.tar.bz2
mana-client-f97e5ee9c22cccfb27a3634e814ad9b01edc3195.tar.xz
mana-client-f97e5ee9c22cccfb27a3634e814ad9b01edc3195.zip
Adding double-click to server dialog and world select dialog
This resolves http://bugs.manasource.org/view.php?id=259 Reviewed-by: Thorbjorn
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index aa650abe..429deb34 100644
--- a/src/client.h
+++ b/src/client.h
@@ -68,6 +68,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.
*/
enum State {