The WindowsGestureSupport package adds gesture support for Cincom Smalltalk on Windows 7 and newer. It provides access to gestures such as pan, zoom and rotate. It is based on Windows 7's WM_GESTURE API and is compatible with Windows 7, 8 and 8.1.
Microsoft provides 3 different types of gesture APIs: WM_TOUCH, WM_GESTURE and WM_POINTER. WM_TOUCH is a low-level API that is relatively difficult to use. The WM_POINTER API is fairly easy to use and provides very fine-grained gesture recognition. With the WM_POINTER API, it is possible to recognize different gestures for multiple objects in the same window. The WM_GESTURE API can be seen as a very lightweight, user-friendly access to simple gestures between the two APIs. It provides built-in support for pan, zoom, and rotate gestures. Unlike the WM_POINTER API, it only allows the recognition of a single gesture.
For most desktop applications, it is sufficient to have simple gesture support for enabling gestures such as pan, zoom, and rotate through lists. For this purpose, the WM_GESTURE API is sufficient and it has been selected as the API supported by WindowsGestureSupport.
The WindowsGestureSupport package comes in two parts: a DLL that allows the preservation of events from VisualWorks Image and a package that ensures that the events are properly applied by Cincom Smalltalk. Integrating gesture support to Cincom Smalltalk applications is as easy as operating the gesture event in a controller subclass.
For more information, please contact Georg Heeg eK.
Product sheet: WindowsGestureSupport.pdf
The package for gesture support in Cincom Smalltalk.