Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2010-06-25 04:09:50 +0400
committerMike Erwin <significant.bit@gmail.com>2010-06-25 04:09:50 +0400
commit185c77989e2692c13b65cea0ca8c58c4dcb51a2e (patch)
treec3c179e5a7e36c696fa3e9fd65826bb1a2ff096e /intern/ghost/GHOST_ISystem.h
parentda314f51bfab03252a7c530eeb3bbd5585327a25 (diff)
hint for mouse/pen input fidelity
Diffstat (limited to 'intern/ghost/GHOST_ISystem.h')
-rw-r--r--intern/ghost/GHOST_ISystem.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.h
index 8d80c74e140..1760fe30b7f 100644
--- a/intern/ghost/GHOST_ISystem.h
+++ b/intern/ghost/GHOST_ISystem.h
@@ -353,7 +353,15 @@ public:
*/
virtual GHOST_TSuccess getButtonState(GHOST_TButtonMask mask, bool& isDown) const = 0;
-
+ /** Fidelity of mouse and pen input (this definition will probably live somewhere else)*/
+ typedef enum { LO_FI, NORMAL_FI, HI_FI } InputFidelity;
+
+ /**
+ * Requests input at a certain fidelity. Certain tools want very smooth input, others don't care.
+ * @param hint Desired fidelity of mouse and pen events.
+ */
+ virtual void setInputFidelity(InputFidelity hint) = 0;
+
/***************************************************************************************
** Access to clipboard.
***************************************************************************************/