diff options
author | Mike Erwin <significant.bit@gmail.com> | 2010-06-25 04:09:50 +0400 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2010-06-25 04:09:50 +0400 |
commit | 185c77989e2692c13b65cea0ca8c58c4dcb51a2e (patch) | |
tree | c3c179e5a7e36c696fa3e9fd65826bb1a2ff096e /intern/ghost/GHOST_ISystem.h | |
parent | da314f51bfab03252a7c530eeb3bbd5585327a25 (diff) |
hint for mouse/pen input fidelity
Diffstat (limited to 'intern/ghost/GHOST_ISystem.h')
-rw-r--r-- | intern/ghost/GHOST_ISystem.h | 10 |
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. ***************************************************************************************/ |