From 185c77989e2692c13b65cea0ca8c58c4dcb51a2e Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Fri, 25 Jun 2010 00:09:50 +0000 Subject: hint for mouse/pen input fidelity --- intern/ghost/GHOST_ISystem.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'intern/ghost/GHOST_ISystem.h') 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. ***************************************************************************************/ -- cgit v1.2.3